mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-09 17:23:53 +01:00
622 B
622 B
Home > bitburner > TIX > getPrice
TIX.getPrice() method
Returns the price of a stock
Signature:
getPrice(sym: string): number;
Parameters
Parameter | Type | Description |
---|---|---|
sym | string | Stock symbol. |
Returns:
number
The price of a stock.
Remarks
RAM cost: 2 GB The stock’s price is the average of its bid and ask price.
Example
getPrice("FISG");