• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NTSample.efs

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

    NTSample.efs

    This is day one for me on NT and I have been trying for several hours now to execute orders from my EFS study to NT Sim101.

    I pasted the NTSample.efs code into my efs and initially got theerror "no such acct" so I put "Sim101" in all the functions and that error vanished...(.thiswas necessay even though I had "Sim101" as my default account)

    Then I was getting symbol problems....so I putmy user defined global vTicker in place of "getSymbol" in theNTCommand function....which was picking up AB H6 (even though I had the Map in NT selected).......problem solved

    Now I am getting "time in force parameter not supported by this account" error. I have tried inputting "DAY" in the NTBuyMarket function which is causing the error....in quotes it results in the same error message with DAY tacked on the end..... without the quotes and I get a syntax error in efs editor......


    function NTBuyMarket (orderID, quantity) {

    return NTCommand("Place","Sim101","Buy", quantity,"Market",0,0,"DAY","",orderId,"",""); }


    is there a more comprehensive source of info on how to get this going?....I have read all the documentation I can find and all the forums and I am no closer to a solution...I am closer to frustration however.

    Thanks in advance




    #2
    imported post

    There is a bug while connected to eSignal where "Day" is not supported. This has been fixed for next update. Try using "GTC" for the interim.

    Ray
    RayNinjaTrader Customer Service

    Comment


      #3
      imported post

      GTC works fine thanks. Order was placed.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by robforee, Today, 02:01 PM
      0 responses
      2 views
      0 likes
      Last Post robforee  
      Started by VCtrader, Today, 01:57 PM
      0 responses
      2 views
      0 likes
      Last Post VCtrader  
      Started by sdauteuil, Today, 12:16 PM
      0 responses
      4 views
      0 likes
      Last Post sdauteuil  
      Started by asmmbillah, Today, 12:06 PM
      0 responses
      8 views
      0 likes
      Last Post asmmbillah  
      Started by EminiTrader, Today, 11:05 AM
      0 responses
      10 views
      0 likes
      Last Post EminiTrader  
      Working...
      X