closeall: closeall

Description Usage Arguments Details Value See Also

Description

close all holdings of a specific instrument, if close price is not specified, the holdings will be closed with market orders.

Usage

1
closeall(instrumentid = "qtid", price = NULL)

Arguments

instrumentid

character, specyfing instrument to be closed.

price

numeric, specyfing limit close order's price, if NULL, simulator will close the holdings with market orders.

Details

closeall can only close one instrument at a time

Value

nothing

See Also

chasecloseall


chenhaotian/High-Frequency-Trading-Simulation-System documentation built on May 13, 2019, 3:52 p.m.