Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 xepher101, Yesterday, 12:19 PM
                  2 responses
                  27 views
                  0 likes
                  Last Post xepher101  
                  Started by thumper57, Today, 04:30 PM
                  0 responses
                  4 views
                  0 likes
                  Last Post thumper57  
                  Started by OllieFeraher, 05-09-2024, 11:14 AM
                  5 responses
                  16 views
                  0 likes
                  Last Post MisterTee  
                  Started by jackiegils, Yesterday, 11:05 PM
                  1 response
                  11 views
                  0 likes
                  Last Post marcus2300  
                  Started by Skifree, Today, 02:50 PM
                  0 responses
                  8 views
                  0 likes
                  Last Post Skifree
                  by Skifree
                   
                  Working...
                  X