Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Particularities between Interactive Brokers and FOREX.com

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Particularities between Interactive Brokers and FOREX.com

    Hello,

    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?

    #2
    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>

    Comment


      #3
      All AccountItem parameters are valid for both and retrieve exactly the same information?

      Comment


        #4
        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 CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        163 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        83 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        126 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        207 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        185 views
        0 likes
        Last Post CarlTrading  
        Working...
        X