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

autotrade with OIF file

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

    autotrade with OIF file

    Any eSignal people out there, using OIF (since the NTDirect DLL became unsupported when eSignal finally got good and into 64-bits a few years ago)?
    My efs writes out the OIF text file no problem into an eSignal folder, then I'm using a synchronization program to get it over to the "incoming" ninjatrader folder that is required to be used in order for ninja to pick up and process the order.
    My PAIN is that about half the time, ninja won't process the file, saying "in use by another process". For the life of me I can't figure out what process other than ninja is accessing the "incoming" ninja folder. Using Process Explorer, the only process it sees using the "incoming" folder is ninjatrader itself. Now, if I look at the "incoming" folder using Windows Explorer, then that does indeed show up along with NinjaTrader. I've seen that when simply saving the OIF file into "incoming" after shutting down the synchronize program just to try a different method and hoping for different results...but nope still intermittent "in use by another process" goes on. Both NT8 and NT7 does this.
    I look forward to some great ideas! Thank you.

    #2
    Hello davested,

    Regarding the API, the NTDirect.dll and NinjaTrader.Client.dll are available for NinjaTrader 8 and work with the 64-bit versions.

    Below is a public link to a forum post with information about the API.

    https://ninjatrader.com/support/foru...442#post514442


    The file in process might indicate that the files are being moved to this folder too rapidly or are being written to the folder instead of being moved to the folder.
    Last edited by NinjaTrader_ChelseaB; 03-10-2022, 08:26 AM.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by mjairg, 07-20-2023, 11:57 PM
    3 responses
    213 views
    1 like
    Last Post PaulMohn  
    Started by TheWhiteDragon, 01-21-2019, 12:44 PM
    4 responses
    544 views
    0 likes
    Last Post PaulMohn  
    Started by GLFX005, Today, 03:23 AM
    0 responses
    3 views
    0 likes
    Last Post GLFX005
    by GLFX005
     
    Started by XXtrader, Yesterday, 11:30 PM
    2 responses
    12 views
    0 likes
    Last Post XXtrader  
    Started by Waxavi, Today, 02:10 AM
    0 responses
    7 views
    0 likes
    Last Post Waxavi
    by Waxavi
     
    Working...
    X