Login Page - Create Account

Support Board


Date/Time: Sat, 01 Feb 2025 09:40:37 +0000



CFDs and IB - Position not updating

View Count: 949

[2019-07-05 09:42:16]
MotoMoto - Posts: 47
Hi,

I am not getting the open position updating in Sierra Chart for an IB CFD.
The chart normally shows orders and positions ok (so I know this is working).
However when using a CFD receiving a message back from IB for the correct symbol seems to be the problem, and thus in the spreadsheet and the chart no open position is shown. (But it does show an attached stop order. So this is working well)
As the trading is actually working I know I have followed all the instructions to set this up correctly.

attached log message.
Interactive Brokers | Received position. Trade Account: UXXXX. Symbol: EUR.AUD-CFD--AUD | 2019-07-05 11:11:56.709

Note: as the chart is set up to read data from IB, then actually trade the CFD, this seems to be working but
The Symbol sent back EUR.AUD-CFD--AUD is unusual given the chart is set up for
EUR.AUD-CASH-IDEALPRO/EUR-CFD-SMART-AUD

Additionally when show order fills on the chart is ticked it actually shows the little tag on the chart.

As IB Australia is changing its rules around leverage and CFDs etc. I suspect you might get more requests similar to this and another post I see on this forum. Have you come across this previously or have a solution? (I know IB is a pain) thanks
Date Time Of Last Edit: 2019-07-05 09:43:42
[2019-07-06 03:15:53]
Sierra Chart Engineering - Posts: 104368
It looks as though TWS is not providing the exchange with the position symbol.

Go to the Trade >> Trade Orders and Positions >> Positions tab. What is the symbol shown for the Position there?
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: 2019-07-06 03:16:11
[2019-07-06 07:24:29]
MotoMoto - Posts: 47
It is blank in the Trade >> Trade Orders and Positions >> Positions- but that is because I have now closed it out.
I can check next time I trade.
FWIW - everything else is correctly being picked up in the orders and positions window (eg; account balance, and in the ORDERS tab the Filled Quantity Order shows as being correct.)
[2019-07-08 08:28:45]
MotoMoto - Posts: 47
Hi traded today - the order was filled and quantity showed in Orders and positions >> Orders Tab looked fine. Symbol showing here is EUR-CFD-SMART-AUD
In the Positions tab the Quantity was showing as +100k (which was correct) but the Symbol showing here was EUR.AUD-CFD-

There was no PL updating. The open position also was not showing on the chart.


FWIW - this resulted in 2 additional (I assume related) things.

1) The trades were triggered through the spreadsheet and I have it set to ''Allow multiple entries in same direction = No''. It triggered twice as expected on 2 bar closes (not an issue in this instance) and actually bought 2 x 100k. So in spreadsheet, while open position Quantity=0, Prior position Quantity =200k

2) The attached stop order was set to be 20ticks below the entry. The entry in this case was 1.60612, the attached stop was expected to be 20 ticks lower (ie; 1.60512 aproximately) instead it set itself at 1.60555. The good thing was this updated to show a stop for +200k quantity (ie; it would sell 200k if price went below 1.60555) - this is working fine for quantity, but not for the stop level. (might be an unrelated issue)

3) When I sold the 2nd 100k purchase manually in IB (as I now had +200k when I only wanted +100k) - the resulting symbol showing for the manually entered IB TWS sale in the Orders and Positions >> Orders Tab was EUR.AUD-CFD-SMART-AUD whereas the other symbols for the trades initiated in SC showed EUR-CFD-SMART-AUD.
Date Time Of Last Edit: 2019-07-08 08:34:59
[2019-07-08 09:49:39]
Sierra Chart Engineering - Posts: 104368
Try using this symbol in the chart settings:
EUR.AUD-CFD-SMART-AUD
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
[2019-07-08 10:43:26]
MotoMoto - Posts: 47
That definitely shows the position in the Chart, but it also makes the current attached stop orders that exists in IB disappear (to be expected)

but then when I try and enter a trade in the chart ( I tested a buy limit below market) IB returns the message ...''Symbol Error - (unknown symbol with ID 203) is unknown, unavailable, or improperly formatted. No security definition has been found for the request | 2019-07-08 12:39:47.167''

EDIT:----
FYI - having IB look into this as there are other small issues they have with CFDs and pricing (ie; time and sales don't match with symbols) Thus I can only assume they are related. (If I can get them back to simply Cash spot FX it would be easier, but they are swamped with regulation I think)

If you have similar issues or solutions until I hear from IB please let me know.
/////////////
EDIT: 22 July (more for future user information)
IB finally fixed their problems and I am back trading Forex WITHOUT the use of CFDs - happy to announce that SC working perfectly and while CFDs might be a work around, IB need to ensure messages back to SC are correct.
Date Time Of Last Edit: 2019-07-23 14:32:22

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account