close all holdings of a specific instrument, if close price is not specified, the holdings will be closed with market orders.
character, specyfing instrument to be closed.
numeric, specyfing limit close order's price, if NULL, simulator will close the holdings with market orders.
closeall can only close one instrument at a time
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.