bitburner-src/markdown/bitburner.tix.getprice.md
2021-10-30 16:03:34 -04:00

662 B
Raw Blame History

Home > bitburner > TIX > getPrice

TIX.getPrice() method

Returns the price of a stock

Signature:

getPrice(sym: StockSymbol): number;

Parameters

Parameter Type Description
sym StockSymbol Stock symbol.

Returns:

number

The price of a stock.

Remarks

RAM cost: 2 GB The stocks price is the average of its bid and ask price.

Example

getPrice("FISG");