Support Board
Date/Time: Sun, 24 Nov 2024 05:51:01 +0000
Changes to Interactive Brokers Position Reporting Symbols and Symbol Matching
View Count: 5164
[2020-01-16 07:20:14] |
Sierra Chart Engineering - Posts: 104368 |
ah, and what i dont see is that little arrow indicating a trade entry...
Existing fills in the Trade Activity Log which do not use the simple stock format are not going to get mapped to the chart. You will need to edit those symbols.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2020-01-16 07:25:18
|
[2020-01-16 07:24:37] |
Sierra Chart Engineering - Posts: 104368 |
well, what can i say.. the orders are at ib and visible in the order window but not in the chart (see screenshot), chart trade mode is on as well. For US stocks, the symbols you will see in Sierra Chart when using Interactive Brokers will now always be simple stock symbols without the security type or the exchange.Also please note some of the stocks' orders do not have the typical -STK-SMART suffix in the trade order window.. there's several more Make sure all of your charts are using the simple stock format. For existing orders that have already been added to the order list, before updating, you need to clear those orders by deleting the TradeOrdersList.data file when Sierra Chart is not running. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2020-01-16 09:22:14] |
Cavalry3162 - Posts: 523 |
we're really gettn there now, thank you SC. i can finally see some orders showing up now. unfortunately *some* as in *not all*.. you remember the stocks that had those "short symbols" already before you introduced the new method (screenshot 1)? guess what, those are screwed up now. while the position / the entry order is showing up correctly (screenshot 2), the OCO orders associated with it are not (screenshot 3). The OCO orders have numbers as Symbols, 266145 in this case, instead AMGN. looks like another quirks in the TWS API but pls find a way to sort this out. thanks, Andreas |
SC_IB_Screenshot_1.png / V - Attached On 2020-01-16 09:21:12 UTC - Size: 33.53 KB - 688 views SC_IB_Screenshot_2.png / V - Attached On 2020-01-16 09:21:16 UTC - Size: 39.59 KB - 646 views SC_IB_Screenshot_3.png / V - Attached On 2020-01-16 09:21:19 UTC - Size: 12.9 KB - 653 views |
[2020-01-16 16:46:25] |
Sierra Chart Engineering - Posts: 104368 |
Regarding post #27 we will figure out the issue and resolve.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2020-01-21 15:41:59] |
User41727 - Posts: 124 |
Here are a few more symbols that need an explicit primary exchange. Maybe these could be added to the mapping: KEYS: NYSE FIVE: NASDAQ GPRO: NASDAQ CSCO: NASDAQ SPCE: NYSE WING: NASDAQ INTC no longer seems to be ambiguous BTW. |
[2020-01-21 15:42:31] |
Sierra Chart Engineering - Posts: 104368 |
Regarding post 29, we will set this up.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2020-01-21 17:11:11] |
User41727 - Posts: 124 |
If anyone can provide a complete list of all stock symbols, I could run through a tool of mine that I have written for identifying these names. That would allow us to add all of the necessary mappings. I usually only run symbols that I am currently watching.
|
[2020-01-21 18:46:07] |
Cavalry3162 - Posts: 523 |
@User41727 is json fine? what exchanges? |
[2020-01-21 18:48:50] |
Cavalry3162 - Posts: 523 |
never mind.. here's a stocklist for the entire world
Date Time Of Last Edit: 2020-01-21 18:58:06
|
stocklist.csv.zip - Attached On 2020-01-21 18:48:45 UTC - Size: 748.91 KB - 673 views Attachment Deleted. |
[2020-01-21 18:56:35] |
User41727 - Posts: 124 |
I can't see the attachment; it shows up as private. I would also prefer CSV, but I can transform JSON, too, just takes a bit more time.
|
[2020-01-21 18:58:45] |
Cavalry3162 - Posts: 523 |
i didnt mark it private.. maybe sc did? have set it to public again.. and its a csv
|
[2020-01-21 20:06:47] |
User41727 - Posts: 124 |
I think attachments are private by default. Anyway, the list of US stocks that need to have an explicit primary exchange specified is attached. I have double checked it, but I nevertheless make no guarantees for completeness or correctness. If anyone needs it, I could try to run the same thing for other countries, although I am not sure how many of those are even affected by this. Date Time Of Last Edit: 2020-01-21 20:07:38
|
us_double_listed.csv - Attached On 2020-01-21 20:02:44 UTC - Size: 1.04 KB - 558 views |
[2020-01-23 11:45:26] |
Cavalry3162 - Posts: 523 |
SC, just an FYI, 2036 introduced an issue with the Symbol Display Study with IB (I use it to plot the description (company name)... it only updates after a disconnect and reconnect, not on symbol change anymore.. am not sure if its a general issue but for me it only is one on IB, maybe it has something to do with the changes being brought up due to this topic. Date Time Of Last Edit: 2020-01-23 11:45:55
|
[2020-01-23 19:48:01] |
Sierra_Chart Engineering - Posts: 17154 |
Make sure the Lock Symbol Position Input is set to No.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2020-01-23 19:52:07] |
Cavalry3162 - Posts: 523 |
it is set to no, but doesnt update
|
[2020-01-23 21:04:19] |
Sierra_Chart Engineering - Posts: 17154 |
We cannot reproduce a problem. Do you mean the symbol display does not change on the chart when you change the symbol?
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2020-02-12 02:19:19] |
Sierra Chart Engineering - Posts: 104368 |
Regarding post #27, this is resolved in the latest prerelease 2049. We realize why this happened and we implemented a workaround which should work fine. It has been tested. The problem related to special handling in the common code for processing order updates for TWS which was later removed because it had a performance impact we wanted to avoid. But we implemented another solution. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2020-03-23 06:05:31] |
user98234598 - Posts: 5 |
SC, I have an issue with IB symbols for US stock CFD's. Specifically I can't get the position quantity to show ( sc.GetTradePosition(PositionData) and then PositionData.PositionQuantityWithAllWorkingOrders always shows a quantity of zero) I open the charts with the 3/4 letter code, e.g. CSCO and set the sc.TradeAndCurrentQuoteSymbol to CSCO-CFD-SMART-USD. I can open and close orders with BuyOrder/SellOrder and the orders get filled. ( BuyExit/SellExit give an error that there are 0 positions) Like this Auto-trade: USO 1 Min #3 | Buy1Stock | BuyExit | Bar start date-time: 2020-03-02 17:00:00.000 | BuyExit signal is ignored.
Long position quantity does not exist or there are already working exit orders that will flatten the position. Current Position with working exit orders: 0. Current Position: 0. Current Position with exit market orders: 0 | 2020-03-02 17:00:18.828 When I have a filled position it shows in the 'Trade Positions' window, but the symbols is CSCOn-CFD-SMART-USD. If I click flatten I get an error about the symbol not existing. When I view daily statements from IB via the web or TWS the product is listed under a CFD heading and the symbol is CSCOn Could you make these weird IB CFD symbol names with an 'n' match to their standard IB symbol for CFD's ? Thanks Date Time Of Last Edit: 2020-03-23 06:08:06
|
[2020-03-23 08:40:10] |
Sierra Chart Engineering - Posts: 104368 |
In this particular case we cannot accommodate this. This is an excellent example of why Interactive Brokers is very substandard. If what you are saying is true and we do not know if it absolutely is, and you have to trade with one symbol in some cases but the position comes back with another symbol, this is really absurd. Refer to our thread here about this: ***Interactive Brokers is Garbage*** (Technical Support is Now Fully Ended!!) Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2020-03-23 08:43:48
|
[2020-03-23 09:55:17] |
user98234598 - Posts: 5 |
I understand. I have tested with enabling 'Use Order Fill Calculated Position' and this does keep track of my positions. Is there a way to enable 'Use Order Fill Calculated Position' programmatically in ACSIL, I've not been able to find in the documentation ? Alternatively is there a way to set this as a default for all charts, globally or at the chartbook level, either in settings or with ACSIL ? Thanks |
[2020-04-13 16:08:38] |
User41727 - Posts: 124 |
I can confirm this specific issue. For equities at least, but not ETFs, there is an 'n' at the end of the symbol. Yet, sending order only works when one uses the <symbol>-CFD-SMART-USD format without the 'n', but IB will still report the fills with the additional letter. Using the "Use Order Fill Calculated Positions" option helps make sure that positions are tracked at least. However, orders executed directly via TWS are not being counted towards the position quantity. Furthermore, it seems that with this setup the feature for automatically moving stop orders to breakeven does not trigger.
|
[2020-04-13 18:04:18] |
Sierra Chart Engineering - Posts: 104368 |
Is there a way to enable 'Use Order Fill Calculated Position' programmatically in ACSIL, No but we can add this.Alternatively is there a way to set this as a default for all charts, globally or at the chartbook level, either in settings or with ACSIL ? No.In regards to post #45, Interactive Brokers needs to solve that inconsistency. No one should be tolerant of that. It must be solved by them. There simply is no excuse whatsoever that they can give to justify it. They would be speaking just utter nonsense if they did. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2020-04-13 18:05:59
|
[2020-05-05 03:11:31] |
user98234598 - Posts: 5 |
Is there any progress on this? Is there a way to enable 'Use Order Fill Calculated Position' programmatically in ACSIL,
No but we can add this. |
To post a message in this thread, you need to log in with your Sierra Chart account: