I would like to switch from IB to FOREX.com. Are there any particularities between both brokers I should consider regarding to strategy programming to make the change?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Particularities between Interactive Brokers and FOREX.com
Collapse
X
-
Hello guillembm,
Thanks for your post.
Something to keep in mind when using Interactive Brokers is when using a NinjaScript strategy it is best practice to only work with passed by value data from OnExecution. Instances of multiple fills at the same time for the same instrument might result in an incorrect OnPositionUpdate, as sequence of events are not guaranteed due to provider API design. For an example on protecting positions with this approach, see OnExecutionUpdate().
This is seen on the OnOrderUpdate() help guide page linked below and applies to both Rithmic and Interactive Brokers users.
OnOrderUpdate(): https://ninjatrader.com/support/help...rderupdate.htm
There are no specific notes in the help guide regarding creating NinjaScripts for FOREX.com.<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
-
Hello guillembm,
Thanks for your notes.
The AccountItem values should be correct and retrieve the information you are accessing as listed in the help guide.
AccountItem: https://ninjatrader.com/support/help...ccountitem.htm
I am not aware of any AccountItem values that would be incorrect or not retrievable in a NinjaScript when using FOREX.com.<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
43 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
21 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
30 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
50 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
41 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment