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 argusthome, 03-08-2026, 10:06 AM
        0 responses
        69 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        42 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        24 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        27 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        54 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X