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 tsantospinto, 04-12-2024, 07:04 PM
      7 responses
      126 views
      0 likes
      Last Post aligator  
      Started by futtrader, 04-21-2024, 01:50 AM
      5 responses
      56 views
      0 likes
      Last Post NinjaTrader_Eduardo  
      Started by PeakTry, Today, 10:49 AM
      0 responses
      2 views
      0 likes
      Last Post PeakTry
      by PeakTry
       
      Started by llanqui, Today, 10:32 AM
      0 responses
      5 views
      0 likes
      Last Post llanqui
      by llanqui
       
      Started by StockTrader88, 03-06-2021, 08:58 AM
      45 responses
      3,994 views
      3 likes
      Last Post johntraderuser2  
      Working...
      X