ASK
The latest ask price of the instrument your algorithm runs on. A buy, or the close of a short position, fills near this price.
declare const ASK: number;Each instrument in INSTRUMENTS has its own ASK.
Example
Section titled “Example”function onTick() { log("Buying now costs about", ASK, "per unit"); log("GBP/USD ask", INSTRUMENTS["GBP_USD:OANDA"].ASK);}