Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

qif not working

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

    qif not working

    Im new to ninja
    In qif builder, I MAKE the folllowing
    PLACE;BACK101;ES 06-08;SELL;1;MARKET;0;0;DAY;;IDNAME;;
    THE BOX IS TICKED THAT SAYS WRITE FILE

    at interface is ticked under file.
    no execution occurs. Any idea why.
    I have also writen a .qif file to C:\Documents and Settings\frankmer\My Documents\NinjaTrader 6.5\incoming
    and it still didnt trade.
    ie PLACE;Back101;ES 06-08;SELL;1;MARKET;0;0;DAY;;qwe;;
    I can execution via the orders buy sell button.
    I ALSO write the file ie PLACE;Sim101;ES 06-08;SELL;1;MARKET;0;0;DAY;;qwe;;
    and get no execution again
    the logs show that account back101 doesnt exist, but i cant change this on qif builder. I dont know how to get back101 going as default account, but Sim101 should work with a maniual order filer


    second issue is,
    in the free version of ninja, can we trade a IB paper account?

    #2
    - please make sure you have File->Automated Trading Interface checked
    - unfortunately you can not trade IB paper trade account with the fredd NT version

    Comment


      #3
      box ticked

      Box is ticked, and still no executions.
      where do I find the log file?
      can i change the folder than scans for qif files?

      Comment


        #4
        - The logs are available at Control Center->Logs tab.
        - please make sure you are connected to a broker or data feed as you test
        - please select the Sim101 account and NOT Back101

        Comment


          #5
          qif

          how can i change the qif folder when ninja looks for qif files?
          qif builder always has greyed out account back101 even if i selects im101
          i will connect using simulated data feed.
          thanks for your help
          pz

          Comment


            #6
            >> how can i change the qif folder when ninja looks for qif files?
            Unfortunately this is not supported.

            Comment


              #7
              Qif ..

              at QIF DOesnt work, see log. I cant change the acount from greyed out back101,

              file write below also doesnt work

              PLACE;SIM101;ER2 06-08;BUY;1;MARKET;0;0;DAY;;;;

              2008-04-18 02:09:10:750 ERROR: OIF delete error 'C:\Documents and Settings\frankmer\My Documents\NinjaTrader 6.5\incoming\2.qif' Exception 'The process cannot access the file 'C:\Documents and Settings\frankmer\My Documents\NinjaTrader 6.5\incoming\2.qif' because it is being used by another process.'
              2008-04-18 02:09:50:328 ERROR: Unknown OIF file type 'C:\Documents and Settings\frankmer\My Documents\NinjaTrader 6.5\incoming\4.QIF'
              2008-04-18 02:09:50:328 ERROR: OIF delete error 'C:\Documents and Settings\frankmer\My Documents\NinjaTrader 6.5\incoming\4.QIF' Exception 'The process cannot access the file 'C:\Documents and Settings\frankmer\My Documents\NinjaTrader 6.5\incoming\4.QIF' because it is being used by another process.'
              2008-04-18 02:09:50:328 ERROR: Unknown OIF file type 'C:\Documents and Settings\frankmer\My Documents\NinjaTrader 6.5\incoming\4.QIF'
              2008-04-18 02:09:50:328 ERROR: OIF delete error 'C:\Documents and Settings\frankmer\My Documents\NinjaTrader 6.5\incoming\4.QIF' Exception 'The process cannot access the file 'C:\Documents and Settings\frankmer\My Documents\NinjaTrader 6.5\incoming\4.QIF' because it is being used by another process.'

              Comment


                #8
                Sorry, not sure why you insist on the QIF file extension. The file name extension for ATI files is OIF not QIF.

                Comment


                  #9
                  Oif

                  OPPS correct extension is going to help
                  still not running
                  here is the log
                  file = "PLACE;SIM101;ER2 06-08;BUY;1;MARKET;0;0;DAY;;;;"
                  4/18/2008 3:06:03 AM|3|1|Unknown OIF file type 'C:\Documents and Settings\frankmer\My Documents\NinjaTrader 6.5\incoming\45.OIF'
                  4/18/2008 3:06:03 AM|3|1|OIF delete error 'C:\Documents and Settings\frankmer\My Documents\NinjaTrader 6.5\incoming\45.OIF' Exception 'The process cannot access the file 'C:\Documents and Settings\frankmer\My Documents\NinjaTrader 6.5\incoming\45.OIF' because it is being used by another process.'
                  4/18/2008 3:06:03 AM|3|1|Unknown OIF file type 'C:\Documents and Settings\frankmer\My Documents\NinjaTrader 6.5\incoming\45.OIF'
                  4/18/2008 3:06:03 AM|3|1|OIF delete error 'C:\Documents and Settings\frankmer\My Documents\NinjaTrader 6.5\incoming\45.OIF' Exception 'The process cannot access the file 'C:\Documents and Settings\frankmer\My Documents\NinjaTrader 6.5\incoming\45.OIF' because it is being used by another process.'

                  Comment


                    #10
                    The application which writes the file needs to close or NT can not access the file. Or the application creates the file at a different location and moves it to the incoming directory after closing the file.

                    Comment


                      #11
                      Qif Files Not Working

                      I am running the following ts code.
                      OIF STILL DOESNT WORK.
                      ati is on and green.
                      tradestation via port 25 works fines

                      the file contains...
                      PLACE;SIM101;ER2 06-08;BUY;1;MARKET;0;0;DAY;;;;



                      vars: intrabarpersist imp(0);
                      vars: intrabarpersist oldimp(0);
                      imp=i_marketposition*i_currentcontracts;
                      if lastbaronchart and imp <> oldimp then begin;
                      if imp> oldimp then
                      fileappend("C:\Documents and Settings\frankmer\My Documents\NinjaTrader 6.5\outgoing\"+numtostr(time,2)+".OIF",
                      "PLACE;SIM101;ER2 06-08;BUY;1;MARKET;0;0;DAY;;;;"+newline);
                      if imp< oldimp then

                      fileappend("C:\Documents and Settings\frankmer\My Documents\NinjaTrader 6.5\outgoing\"+numtostr(time,2)+".OIF",
                      "PLACE;SIM101;ER2 06-08;sell;1;MARKET;0;0;DAY;;;;"+newline);


                      end;

                      oldimp=imp;

                      Comment


                        #12
                        - please try to build the OIF file in the OIF builder and make sure you submit the exact same format as created by the OIF builder
                        - next try the submit the OFI builder created file by checking the option on the OIF builder -> the file should be executed. If not, then please check for the logs

                        Comment


                          #13
                          Oif Failes

                          OIF FAILS because back101 is used.
                          however the oif builder has a greyed out back101 account and I cant change it to sim101. There are no selectable options on the account box.

                          Comment


                            #14
                            Please connect to any feed so you can use Sim101.

                            Comment


                              #15
                              accounts

                              I was conected to simulator account.
                              I now am connected to interactive brokers.
                              I still have a greyed out back101 accout on oif builder

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by cre8able, Today, 01:16 PM
                              1 response
                              8 views
                              0 likes
                              Last Post NinjaTrader_Gaby  
                              Started by chbruno, 04-24-2024, 04:10 PM
                              3 responses
                              48 views
                              0 likes
                              Last Post NinjaTrader_Gaby  
                              Started by samish18, Today, 01:01 PM
                              1 response
                              6 views
                              0 likes
                              Last Post NinjaTrader_LuisH  
                              Started by WHICKED, Today, 12:56 PM
                              1 response
                              8 views
                              0 likes
                              Last Post NinjaTrader_Gaby  
                              Started by WHICKED, Today, 12:45 PM
                              1 response
                              11 views
                              0 likes
                              Last Post NinjaTrader_Gaby  
                              Working...
                              X