Description Usage Arguments Value See Also Examples
submit a target holding, simulator will cancel all irrevelant orders and chase bid1 or ask1 price automatically until the target holding
1 | lazysubmission(instrumentid, longholding = NULL, shortholding = NULL)
|
instrumentid |
character, instrument identifier |
longholding |
integer, specifying target long holdings of 'instrumentid', longholding must be greater than or equal to 0. |
shortholding |
integer, specifying target short holdings of 'instrumentid', shortholding must be less than or equal to 0. |
nothing
HFTsimulator
1 2 3 4 | ## Not run:
lazysubmission("TF1512",longholding=5,shortholding=-3)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.