保留字buy,sell,sellshort,buytocover 对应的分别是什么操作?
在普通股票交易中,仅保留字buy和sell是可用的,其中buy是买入指令,sell是卖出指令。在其他交易中,映射如下。
保留字与OrderTicket中OrderAction中的映射关系如下所示:
OrderAction -> Reserved word
- Futures/Options BuyToOpen ->Buy
- Futures/Options BuyToClose ->BuyToCover
- Futures/Options SellToOpen ->SellShort
- Futures/Options SellToClose -> Sell
- MarginStock Buy To Pay -> Cover
- MarginStock Sell To Pay -> Sell
- MarginStock Borrow To Buy -> Buy
- MarginStock Borrow To Sell -> Sell Short