Update()
Brief
The method called every time when a new bid or ask price appears.
Details
Update
is a most important function in the strategy. The update function is called every time when a new
bid or ask price appears on the instrument to which the strategy is attached.
Use the terminal
table to get access to the trading application functions.