bitburner-src/doc/source/netscript/tixapi/getAskPrice.rst

14 lines
436 B
ReStructuredText
Raw Normal View History

2021-10-27 21:16:16 +02:00
getAskPrice() Netscript Function
=====================================
2021-10-27 21:16:16 +02:00
.. js:function:: getAskPrice(sym)
:RAM cost: 2 GB
2021-03-12 08:51:56 +01:00
:param string sym: Stock symbol
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.