Re-running strategy generator without updating data yields different results #780
Unanswered
TobiasAntiGravity
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Are you running dynamic or static optimisation? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Guys
Re-running the strategy generator, without running any price updates, has altered the stack order content. This has happened on two occasions. I do not understand why. Writing here to get input on what the logic might be. Concrete example that happened today;
I had set nasdaq_micro to roll yesterday. I was currently holding -1 positions in the instrument. daily price updates did not run as normal yesterday evening, because of issues with the IBKR connection.
So I ran end of day processes this morning. Looking at the reconcile report I could see that the system wanted to close the nasdaq_micro position.
Looking at the order stack however it showed both an instrument order to roll nasdaq_micro, and an instrument order to close the position.
Obviously an actual roll is uneccessary if the position is closing - so I ran the end of day process, removed set nasdaq_micro to "no_roll", ran the strategy generator again and then viewed the instrument order stack, to find that the roll order was gone.
What I did not notice when checking the stack (there were several trades in the instrument stack) is that the system had decided to close the OAT position. This was not listed in the reconcile report, run just a few hours before. No prices was updated in between running the report, and re-running the stack generator. Is there a possible explanaition for this?
The first time it happened was when I went live. Stack handler kept crashing and I was fumbling my efforts to try to execute two instrument orders manually. Re-running the strategy generator without updating anything removed the two instrument orders from the order stack.
EDIT;
Actually - it looks like more changes occured when re-running the strategy generator;
This is the breaks from my reconcile report this morning;
while this is what is in the instrument order stack after re-running strategy generator;
Oat is not there, because it was executed.
Beta Was this translation helpful? Give feedback.
All reactions