mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 14:12:27 +01:00
15 lines
348 B
ReStructuredText
15 lines
348 B
ReStructuredText
getStockPrice() Netscript Function
|
|
==================================
|
|
|
|
.. js:function:: getStockPrice(sym)
|
|
|
|
:param string sym: Stock symbol
|
|
:RAM cost: 2 GB
|
|
|
|
Returns the price of a stock, given its symbol (NOT the company name). The symbol is a sequence
|
|
of two to four capital letters.
|
|
|
|
Example::
|
|
|
|
getStockPrice("FISG");
|