bitburner-src/markdown/bitburner.tix.getprice.md
Olivier Gagnon 43fc5dfd48 work on doc
2021-10-30 12:34:14 -04:00

751 B
Raw Blame History

Home > bitburner > TIX > getPrice

TIX.getPrice() method

Returns the price of a stock, given its symbol (NOT the company name). The symbol is a sequence of two to four capital letters.

The stocks price is the average of its bid and ask price

Signature:

getPrice(sym: StockSymbol): number;

Parameters

Parameter Type Description
sym StockSymbol Stock symbol.

Returns:

number

The price of a stock.

Remarks

2 GB

Example

getPrice("FISG");