bitburner-src/markdown/bitburner.tix.getprice.md
Olivier Gagnon 2b79871c02 doc
2021-11-03 00:27:21 -04:00

622 B
Raw Blame History

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 stocks price is the average of its bid and ask price.

Example

getPrice("FISG");