Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Forex liive trading through IB: Doubt about quantity

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

    Forex liive trading through IB: Doubt about quantity

    Hi Ninjas, I have a doubt about trading forex ( Cash , No futures ) through NT-IB (Interactivebrokers)

    I have read this from your help guide:

    "Running FX NinjaScript Strategies on a Live Brokerage Connection

    Running an FX strategy on a live brokerage connection either in a live funded account or a simulation (Sim101) account order quantities will reflect the lot size convention that your brokerage trades in. For example, if your brokerage has a lot size of 1 that equals 100,000 units of the base currency (a "standard" lot) then use a value of 1 to trade 100,000 base units "

    So, I did a trial using just the Sim01 account, and I've checked that executions are done just as programmed in my strategy, EnterLong(100000, "BUY"); so here my question:

    If I'm trading EURUSD cash, no futures, and seeing what the system does with the Sim001 account, can I rely whenever I go live that orders will be executed the same, or will I have to set in quantity 1 ?

    It's kind of confused this.

    Thanks

    #2
    Hello pstrusi,

    Thank you for your post.

    You will need to check with your broker to find out what lot size is represented by 1. If a standard lot size is 100,000 for your broker than use 100,000. If it is 1 than use 1.

    This is something to discuss with your broker directly to ensure the correct order quantity is routed to the broker from NinjaTrader.
    Last edited by NinjaTrader_PatrickH; 05-13-2013, 01:36 PM.

    Comment


      #3
      The order quantity is sent as is in the script, by 100.000. The curious thing is my IB set is put in units of 100k but it didn't matter. I did this test 5 minutes ago to be sure.

      Thanks anyway

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      74 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      45 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      26 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      32 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      62 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X