mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 09:43:54 +01:00
13 lines
445 B
ReStructuredText
13 lines
445 B
ReStructuredText
|
getStockAskPrice() Netscript Function
|
||
|
=====================================
|
||
|
|
||
|
.. js:function:: getStockAskPrice(sym)
|
||
|
|
||
|
:param string sym: Stock symbol
|
||
|
:RAM cost: 2 GB
|
||
|
|
||
|
Given a stock's symbol, returns the ask price of that stock (the symbol is a sequence
|
||
|
of two to four capital letters, **not** the name of the company to which that stock belongs).
|
||
|
|
||
|
See :ref:`gameplay_stock_market_spread` for details on what the ask price is.
|