Home › Forums › Trading System Mentor Course Community › Running Your Trading Business › Batchtrader ‘Unack’ trade order
- This topic is empty.
-
AuthorPosts
-
July 22, 2016 at 1:23 pm #101514AnonymousInactive
Occasionally Batchtrader misses placing an order with the message ‘Unack’ in the order status.
What to do in this situation? Missing 1 trade is not really a big problem but does anybody know if this is an IB bug or Batchtrader bug ?It would be nice if I could tell batchtrader to ‘try again… a little harder next time!’
July 22, 2016 at 9:00 pm #104822Nick RadgeKeymasterYes, this is a known issue.
Awhile back IB changed the codes for a handful of symbols – I’m unsure why but I think because they trade on multiple exchanges. As a result to place an order via an API one needs to designate the Primary Exchange and not just the ETN routing (via IB we use SMART). The issue effects all API’s and is a well discussed problem with Sierra Charts and Ninja Trader as well. So its not our API having an issue – it’s how the orders are calibrated and sent.
So, our API and our worksheets already have a column “Primary Exchange” so we can in fact route orders. I will need to test what the Primary Exchange is, whether its BATS or ISLAND or whatever. I can only do this using those three symbols on their own.
However, this opens another major issue which I’m not sure can be overcome. We generate the trade sheets direct from Amibroker. If every symbol has a different Primary Exchange, then it will be impossible to code in every single one, indeed, even if these three symbols are the only ones it will be very difficult and time consuming to navigate around it. The only way is if all symbols operate on the same Primary Exchange, although I doubt it because we’d be seeing the same issues across the board.
My feeling is that this issue is limited to three symbols or maybe one or two more that we haven’t seen. Considering the quantity of trades the HFT generates I cannot see this being a major factor in performance. We can’t route them separately because BatchTrader can only manager one set or the other – but not both. My API developer says he can fix the issue to send the Primary Exchange data through, but the issue is getting that data into the API from Amibroker.
Nick
July 22, 2016 at 11:47 pm #104838JulianCohenParticipantIs INTC one of those symbols? I had this error last night
July 23, 2016 at 12:31 am #104840AnonymousInactiveJulian Cohen wrote:Is INTC one of those symbols? I had this error last nightyes… INTC triggered my post
July 23, 2016 at 12:41 am #104839AnonymousInactiveNick Radge wrote:Yes, this is a known issue.Awhile back IB changed the codes for a handful of symbols – I’m unsure why but I think because they trade on multiple exchanges. As a result to place an order via an API one needs to designate the Primary Exchange and not just the ETN routing (via IB we use SMART). The issue effects all API’s and is a well discussed problem with Sierra Charts and Ninja Trader as well. So its not our API having an issue – it’s how the orders are calibrated and sent.
So, our API and our worksheets already have a column “Primary Exchange” so we can in fact route orders. I will need to test what the Primary Exchange is, whether its BATS or ISLAND or whatever. I can only do this using those three symbols on their own.
However, this opens another major issue which I’m not sure can be overcome. We generate the trade sheets direct from Amibroker. If every symbol has a different Primary Exchange, then it will be impossible to code in every single one, indeed, even if these three symbols are the only ones it will be very difficult and time consuming to navigate around it. The only way is if all symbols operate on the same Primary Exchange, although I doubt it because we’d be seeing the same issues across the board.
My feeling is that this issue is limited to three symbols or maybe one or two more that we haven’t seen. Considering the quantity of trades the HFT generates I cannot see this being a major factor in performance. We can’t route them separately because BatchTrader can only manager one set or the other – but not both. My API developer says he can fix the issue to send the Primary Exchange data through, but the issue is getting that data into the API from Amibroker.
Nick
It would be nice to have a functionality in Batchtrader to:
– Attempt to route orders as normal using SMART
– Upon failure (‘Unack’) have the option to edit the Primary exchange data for that symbol and resend
or
– enter failed trade/s manually into IB and have Batchtrader update from IB to manage all buy ordersAgreed that its probably not a huge problem (from my extensive experience of live trading 2 days )
July 23, 2016 at 12:57 am #104842JulianCohenParticipantMaybe we can build up our own database of these few stocks and then just exclude them from our systems. If it’s only a handful then it shouldn’t make too much difference.
July 23, 2016 at 1:10 am #104843LeeDanelloParticipantJulian Cohen wrote:Maybe we can build up our own database of these few stocks and then just exclude them from our systems. If it’s only a handful then it shouldn’t make too much difference.i
How does that help batch trader. It doesn’t impact other orders going thru?
July 23, 2016 at 1:37 am #104844JulianCohenParticipantMaurice Petterlin wrote:Julian Cohen wrote:Maybe we can build up our own database of these few stocks and then just exclude them from our systems. If it’s only a handful then it shouldn’t make too much difference.i
How does that help batch trader. It doesn’t impact other orders going thru?
No it doesn’t stop other orders going through but it just means we don’t have to think about these stocks. I don’t suppose it matters one way or the other really
July 28, 2016 at 1:39 pm #104845AnonymousInactivegot another ‘Unack’ order tonight… so far:
INTC
MSFTJuly 28, 2016 at 3:23 pm #104894JulianCohenParticipantDarryl Vink wrote:got another ‘Unack’ order tonight… so far:
INTC
MSFTMicrosoft! That’s a pretty big stock not to be able to trade…mind you there are another 499 of them in the index so….
July 28, 2016 at 3:55 pm #104895LeeDanelloParticipantDarryl Vink wrote:got another ‘Unack’ order tonight… so far:
INTC
MSFTCan you post a screenshot of batch trader with the unack. I’m curious to see what it looks like
July 28, 2016 at 11:23 pm #104823Nick RadgeKeymasterJust place the order manually.
July 29, 2016 at 12:05 am #104901AnonymousInactiveNick Radge wrote:Just place the order manually.thats what i did last time with INTC and then dropped Batchtrader’s number of positions by 1.
– hypothetically if the market dropped slightly and all orders filled except for INTC i may have been 1 order short of 20 positions (this didn’t happen).
– last night i just ignored MSFT and didnt bother with the order.either way its probably not going to make or break the system…
July 29, 2016 at 12:08 am #104897AnonymousInactiveJulian Cohen wrote:…mind you there are another 499 of them in the index so….is there a list somewhere ?
July 29, 2016 at 12:26 am #104902JulianCohenParticipantDarryl Vink wrote:Julian Cohen wrote:…mind you there are another 499 of them in the index so….is there a list somewhere ?
498 now….you are making the list as you go mate
-
AuthorPosts
- You must be logged in to reply to this topic.