Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Automated Trading Questions IB

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

    Automated Trading Questions IB

    Hello,

    1.) If I want to buy 20000 EURUSD at IB, is the code enough:

    Enterlong(20000);

    or must I convert the contract size?


    2.) If I Send a order to IB, how do I make the order only 30 seconds valid?

    #2
    You may need to convert to contract size.

    If you want to cancel a market order you need to program it and use IOrders. When 30 seconds go by you call CancelOrder().
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      maybe they know exactly, whether I now Ordersize convert or not?

      Comment


        #4
        Right. It may be best for you to contact IB and ask them what you should submit at to get 20,000 contracts.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          I have another Question.

          In NinjaTrader tab "Accounts" I see my Live Account balance.

          How can I this value in my Program Code using ?

          Comment


            #6
            You cannot access account information from a strategy.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              when is the function available?

              Comment


                #8
                It is on our list of future considerations. Announcements will be made when available.
                Josh P.NinjaTrader Customer Service

                Comment


                  #9
                  Thank you for the Information.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by CarlTrading, 03-31-2026, 09:41 PM
                  1 response
                  63 views
                  0 likes
                  Last Post NinjaTrader_ChelseaB  
                  Started by CarlTrading, 04-01-2026, 02:41 AM
                  0 responses
                  35 views
                  0 likes
                  Last Post CarlTrading  
                  Started by CaptainJack, 03-31-2026, 11:44 PM
                  0 responses
                  54 views
                  1 like
                  Last Post CaptainJack  
                  Started by CarlTrading, 03-30-2026, 11:51 AM
                  0 responses
                  61 views
                  0 likes
                  Last Post CarlTrading  
                  Started by CarlTrading, 03-30-2026, 11:48 AM
                  0 responses
                  48 views
                  0 likes
                  Last Post CarlTrading  
                  Working...
                  X