Originally Posted By: Hredot
When testing my scripts with a simple reversal algorithm, I notice that out of 1400 trades roughly 50 duplicate IDs appear (Zorro 1.60).
Clearly there is some bug in the ID generator. Is there a way to assign user defined IDs to the trades? I did not see any way to pass an ID to the EnterLong or EnterShort routines.
Trade ID's are defined in the Broker plugin. They either relay an actual trade number or use a counter. Who's your broker?