1.With this in mind is there any documentation that better explains the following based on the SubmitOrderUnmanaged documentation:
OrderAction - What are the differences between BuyToCover, SellShort etc
Determines if the order is a buy or sell order Possible values: OrderAction.Buy OrderAction.BuyToCover OrderAction.Sell OrderAction.SellShort
Determines the type of order submitted Possible values: OrderType.Limit OrderType.Market OrderType.MIT OrderType.StopMarket OrderType.StopLimit
- I place an order to BUY 10 contracts
- I get a part fill of 7
- Moments later I get a full fill of 10 contracts
What is the correct way to handle a stoploss with unmanaged orders:
Option 1
- On part fill of 7 I submit unmanaged order to SELL 7 at stoploss price
- Upon full fill I change the original stoploss order to now SELL 10 contracts
Option 2
- On part fill of 7 I submit StopMarket or StopLimit order at stoploss price
- Will the prior order placed know to exit the full position no matter what the current fill level is, full or part?
Thanks, probably more questions to come...
Comment