NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Application Technical Support > ATM Strategies (Discretionary Trading)

ATM Strategies (Discretionary Trading) Support for Advanced Trade Management, AutoTrail, AutoBreakeven, Stop Strategy and Simulated Stops etc...

Reply
 
Thread Tools Display Modes
Old 03-14-2008, 01:21 PM   #1
vk2205
Junior Member
 
Join Date: Mar 2008
Posts: 24
Thanks: 0
Thanked 0 times in 0 posts
Default OIF delete error

I am trying automated trading and in the log i get the following errors :

OIF delete error 'c:\....ninjatrader6\incoming\oif3.txt' Exception 'The process cannot access the file c:\.....incoming\oif3.txt' because it is being used by another process.'


OIF read error 'c:\....ninjatrader6\incoming\oif3.txt' Exception 'The process cannot access the file c:\.....incoming\oif3.txt' because it is being used by another process.'

Any idea how to fix this issue.

Thanks in Advance
vk2205 is offline  
Reply With Quote
Old 03-14-2008, 01:25 PM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

I assume you are using another application to write the OIF's? The problem is that the application that is writing the file has opened the file (to write to it) but has not closed it and thus has a lock on it. You need to ensure that your application closes this file.
NinjaTrader_Ray is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Delete Workspace TraderGuy Historical NinjaTrader 6.5 Beta Threads 8 01-25-2008 08:16 AM
Delete Pending order simone Strategy Development 2 11-21-2007 06:58 AM
Delete db ashish Charting 8 11-13-2007 02:15 AM
How can I delete an indicator ? grd974 General Programming 2 07-03-2007 06:28 AM
delete history, how? Torso Miscellaneous Support 3 02-07-2006 08:45 AM


All times are GMT -6. The time now is 06:21 PM.