PDA

View Full Version : OIF and erors


scjohn
02-21-2005, 02:20 AM
If there is an error in the line , contained in the OIF file. Will the OIF file still be deleted?

Does the OIF file get deleted before the PUF file is created/updated?

Trying to nail down the sequence of events.

thanks,



John

NinjaTrader_Ray
02-21-2005, 05:13 AM
yes it will still be deleted.
PUF updated based on position change events.

scjohn
02-21-2005, 05:44 AM
Ok. Then how would I go about detecting an error situation where NT rejects the OIF?

My understanding is that one could have a PUF file that could contain information on a strategy that is no longer running. Or, does the PUF file get deleted by NT when the strategy is no longer running?

NinjaTrader_Ray
02-21-2005, 06:46 AM
An error situation will only occure if the format of the OIF is incorrect. This should be tested before trading live. Once the format is correct, there will be no OIF errors. The PUF updates only when a position relative to a strategy changes. It could be flat and then long if a new strategy for that particular instrument is updated.

scjohn
02-21-2005, 08:04 AM
Would it be safe to assume, for the PUF, that if the direction is FLAT and the Average Fill Price Exit is NOT zero, then the strategy is no longer running on NT?

Thanks,

scJohn

NinjaTrader_Ray
02-21-2005, 12:32 PM
Yes, the strategy is complete.