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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      94 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      51 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      80 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      75 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      62 views
      0 likes
      Last Post CarlTrading  
      Working...
      X