getStockAskPrice() Netscript Function

getStockAskPrice(sym)
Arguments:
  • sym (string) – 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 Spread (Bid Price & Ask Price) for details on what the ask price is.