Login Page - Create Account

Support Board


Date/Time: Fri, 29 Mar 2024 10:37:50 +0000



[User Discussion] - EUR.USD CFDs Interactive Brokers

View Count: 1164

[2020-07-09 16:59:09]
User253985 - Posts: 21
Hello my friend

When i enter EUR.USD-CFD-SMART-USD into the 'Trade and Current Quote Symbol' box of the Chart Settings Section i get all the current orders relating to the EUR.USD CFD on the chart.

When I try and move the Order manually by moving the orders on the chart i get the following message in the message log:
Order modification failed | Order being modified does not match original order. Internal Order ID: 18867. Service Order ID: -108. Symbol: EUR.USD-CFD-SMART-USD. Account: ****** | 2020-07-09 17:40:20.369 *

I thought this may help you solve the problems with CFD orders and IB.

Cheers :)
imageEUR.USD CFD 1.PNG / V - Attached On 2020-07-09 16:56:03 UTC - Size: 11.68 KB - 229 views
[2020-07-10 01:00:40]
User253985 - Posts: 21
I Got this response from IB

Thank you for contacting Interactive Brokers.

Sample CFD(for FX underlying) Contract (in Python):
contract = Contract()
contract.symbol = "EUR"
contract.secType = "CFD"
contract.currency = "USD"
contract.exchange = "SMART"

Please refer to API manual for how to define contract:
https://interactivebrokers.github.io/tws-api/basic_contracts.html#cfd

Also there's a function reqContractDetails to retrieve all posible contracts' parameters that given symbol§ype(with currency/exchange or more parameters is better to narrow the range), this is detailed in manual:
https://interactivebrokers.github.io/tws-api/contract_details.html

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

Login

Login Page - Create Account