Keyboard Shortcuts
Likes
Search
What is manualOrderCancelTime param of Eclient::cancelOrder( int id, String manualOrderCancelTime)
Thanks a lot for such an elaborated answer. I guess you're right.? I was wondering if anybody is really using 10.16 API and what do they pass as this parameter. There are two options-empty string ot null. Ed On Sat, 9 Jul 2022 at 1:01 闯ü谤驳别苍 Reinold via <TwsApiOnGroupsIo=[email protected]> wrote:
--
Ed Gonen |
Just guessing here, Edward, but this is probably related to the new field and feels like a regulatory thing for brokers and advisors. So I guess unless you are a broker or advisor, pass the empty string. 闯ü谤驳别苍 From:Limit Order With Manual Order TimeThe Limit Order With Manual Order Time is a with ManualOrderTime property.Order order = OrderSamples.LimitOrder(action, quantity, limitPrice); Placing a Limit Order With Manual Order Time client.placeOrder(nextOrderId++, ContractSamples.USStockAtSmart(), OrderSamples.LimitOrderWithManualOrderTime("BUY", Util.StringToDecimal("100"), 111.11, "20220314 13:00:00")); Canceling a Limit Order With Manual Order Time client.cancelOrder(nextOrderId - 1, "20220314 19:00:00");
|
开云体育
The latest TWS API for Java added a new required parameter to the existing method EClient::cancelOrder.? It now takes a string for manualOrderCancelTime which can be left null.? What does this parameter do?? Cancel an order if not already filled at a specific
time in the future?? It's not documented:
|