Description Usage Arguments Details Value Examples
calculate unclosed orders' mean open price for a specific instrument and holdings side.
1 |
instrumentid |
character, instrument identifier. |
side |
character, "long" or "short", specifying holdings's side. |
meanopen will calculate mean price according to following rules: 1. earlier open orders are prior to be closed. 2. return volume weighted mean of unclosed order's transaction price.
numeric, mean open price.
1 2 3 4 5 | ## Not run:
## check long holdings' mean open price of TF1603
meanopen("TF1603","long")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.