Description Usage Arguments Details Value See Also
chase close all holdings of a specific instrument.
1 | chasecloseall(instrumentid, chasesleep = 1)
|
instrumentid |
character, specyfing instrument to be closed. |
chasesleep |
numeric, specyfing order chasing interval. |
chasecloseall can only close one instrument at a time, simulator will recheck if the order price is equal to current bid1 or ask1 price every chasesleep seconds, if not, simulator will cancel it and submit a new one. This action will be repeated until all specified holdings are executed.
nothing
closeall
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.