Keyboard Shortcuts
Likes
- Twsapi
- Messages
Search
What are smart-routing groups?
Hi,
From contract details, what is a "smart-routing group"? I see that some bonds and forex have 4, 7, 12, etc...returning as AggGroup and most rest of the market don't have a number attached to them. I understand there may be different ways SMART routing works or different routes it takes for submissions but what do these numbers signify? For example for Forex, does it mean IBKR SMART routes certain currencies only to Asian markets, and rest to London, and rest to Chicago? If yes, can we as users have any control over this or no? AggGroup
Aggregated group Indicates the smart-routing group to which a contract belongs. contracts which cannot be smart-routed have aggGroup = -1. Thanks, |
||||||||||||||||||||||||||||||||
Re: question about server support and login best practice
Thank you Richard for pointing that out and huge thanks for maintaining IBC (and all your prior efforts in IBController as I learned). On Sat, Feb 20, 2021 at 7:26 PM Richard L King <rlking@...> wrote:
|
||||||||||||||||||||||||||||||||
Re: question about server support and login best practice
Sorry for the delayed?reply.. It worked out of the box for me but it uses an old version of the gateway. I tweaked it to adjust to the latest gateway version but I am currently just using a bastardised version to run inside Google Colab (has to jump through some hoops) for my ongoing experiments. There are some other docker examples available if you google. On Sat, 20 Feb 2021 at 16:50 dent <1152dent@...> wrote:
|
||||||||||||||||||||||||||||||||
Re: How place orders before AND after market hours?
That isn't working.? Can you elaborate?? Calling outsideRth(true) does not allow me to trade both before and after market hours.? Details above in my first message.? This apparently requires the correct combination of calling outsideRth(true) and settings in TWS.
|
||||||||||||||||||||||||||||||||
Re: How place orders before AND after market hours?
toggle quoted message
Show quoted text
On 26 Feb 2021, at 09:22, FreeGoldRush <mike@...> wrote:
|
||||||||||||||||||||||||||||||||
Re: "update order" VS "cancel and creating order"
Well, I made the formula up based upon the US portion of the fee table and . There is also the article on that sheds more light on what this is about and the fine print under the examples:
Many exchanges charge fees to their members for orders that are cancelled or modified, and IB charges certain related fees to its customers to help cover these exchange fees. Please note however, that the Modify/Cancel fees listed above are not intended to be a direct "pass-through" of exchange fees. The Modify/Cancel fees that IB charges to its customers may be higher or lower than the fees that an exchange may impose on IB. IB may charge Modify/Cancel fees to its customers for orders sent to exchanges that do not impose such fees, or vice versa.Just looking at this again I would probably change the wording slightly to: I don't know for sure, but I assume your example would work like this:
On Thu, Feb 25, 2021 at 01:41 AM, <tegicof991@...> wrote: On Wed, Feb 24, 2021 at 12:10 PM, JR wroteto pay fees if your ratio of (#Orders Cancelled or Modified / #Orders Executed) > 25Thanks for these facts. Can you provide any IB link to the description of this formula? |
||||||||||||||||||||||||||||||||
Re: "update order" VS "cancel and creating order"
On Wed, Feb 24, 2021 at 12:10 PM, JR wrote
to pay fees if your ratio of (#Orders Cancelled or Modified / #Orders Executed) > 25Thanks for these facts. Can you provide any IB link to the description of this formula? You say, the above formula is only valid for direct routed orders, not for SMART. The #Orders Executed is a little vague for me: Imagine an order with order quantity of 20. If 10 was filled, and 10 not, will this order be registered as already executed? If I cancel the order (where 10 is already filled, and the remaining 10 is discarded), will this order be registered as executed? So (#Orders Cancelled or Modified / #Orders Executed) = 1 (the quantity of 10 canceled) = 1 (the quantity of 10 filled) < 25. Correct? |
||||||||||||||||||||||||||||||||
Re: "update order" VS "cancel and creating order"
Is this what you were looking for?
toggle quoted message
Show quoted text
Modifying or cancelling "directed" API orders incur fees. SMART routed orders do not. But executions get you credits so you only actually have to pay fees if your ratio of (#Orders Cancelled or Modified / #Orders Executed) > 25 From Cancel/Modify Orders
Orders with a time in force that specifies an expiration time, such as GTC, will be assessed cancel fees according to the above schedule. for cancel/modify fee examples.
Notes:
On Wed, Feb 24, 2021 at 02:35 PM, Despair wrote: I can't remember where I found it but I'm 99% sure I read it somewhere on IB's website. And for my understanding it also makes sense. The cancelation fees purpose is to inhibit HFT like behaviour and this only makes sense for direct routed orders since it simply can't work SMART routed anyway. |
||||||||||||||||||||||||||||||||
Re: "update order" VS "cancel and creating order"
I can't remember where I found it but I'm 99% sure I read it somewhere on IB's website. And for my understanding it also makes sense. The cancelation fees purpose is to inhibit HFT like behaviour and this only makes sense for direct routed orders since it simply can't work SMART routed anyway.
Updating an order no matter how it is routed doesn't incur a fee. |
||||||||||||||||||||||||||||||||
Re: "update order" VS "cancel and creating order"
I am convinced - updating is better.
Btw, I think updated limit orders are (like new ordes) re-queued into the official orderbook again. But yes, updating is also better for the OrderEfficiencyRatio. After all, one thing, is not clear for me: > Despair: only direct routed orders incur a cancelation fee while SMART-routed order don't Where do you get this information? Is this also valid for updating orders or does upating orders will not incur any fees at all (independent if SMART or not). It's not transparent for me when cancelation fee incurs and when not and if updating orders also involves any fees. Would be great if anyone can share his/her experience. |
||||||||||||||||||||||||||||||||
Re: Shortcut for running number of subscriptions lines/rows left?
Thanks for the helpful shortcut. 1- This shows number of TWS / API data subscription lines available (which is always same??) and Top Market Data Count (currently being used). 2- It does not show Market Depth Trader Level (II) usage I think. Or at least that should be using the subscriptions lines but I only see total available subscription lines and not what is being used by Market Depth Trader Level (II). Is there another shortcut or way in either TWS or API that I can see #2 above? Thanks, On Tue, Feb 23, 2021, 5:32 PM ds-avatar <dimsal.public@...> wrote:
|
||||||||||||||||||||||||||||||||
Re: "update order" VS "cancel and creating order"
On Tue, Feb 23, 2021 at 11:41 PM, <tegicof991@...> wrote:
I cannot find the benfits of one (cancel_and_create) over the other (editing)Better to edit: 1.Faster (one operation instead of two) 2. you keep your orderid 3. you also keep your OrderRef, if ever you use it to track/classify your orders 4. If ever you have linked orders (OCA), you keep them linked. If you cancel the parent order, all dependent orders will be cancelled too, and you need to re-create them all |
||||||||||||||||||||||||||||||||
Re: "update order" VS "cancel and creating order"
Besides all limitations I'd recommend always if feasible to update an existing order. This is MUCH faster than canceling and resubmitting.
For cancelation fees, isn't it true that only direct routed orders incur a cancelation fee while SMART-routed order don't? |
||||||||||||||||||||||||||||||||