chasecloseall: chasecloseall

Description Usage Arguments Details Value See Also

Description

chase close all holdings of a specific instrument.

Usage

1
chasecloseall(instrumentid, chasesleep = 1)

Arguments

instrumentid

character, specyfing instrument to be closed.

chasesleep

numeric, specyfing order chasing interval.

Details

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.

Value

nothing

See Also

closeall


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