Performance report - external trades

Posted By: hast29

Performance report - external trades - 03/29/20 08:08

Hi, I need to generate the Zorro performance report (incl. Monte Carlo simulation) for a set of trades from an external platform.

There is a hint in the Zorro manual - "Zorro can analyze the performance of its own strategy scripts, as well as of trade lists that are generated by other software and exported as .csv files."

However, there is no description in the Zorro manual about importing these external trades into a script …

Can someone advise ? What function to use ?

Alternativelly, I would be fine just by clicking the Result button in Zorro, but it is not active without testing a strategy script :-(
Posted By: Petra

Re: Performance report - external trades - 03/29/20 10:12

There was an example script "Simulate" but it is not anymore in the Zorro installation, I dont know why.

You write a normal trading script but instead of generating a trade signal, read a trade out of your list, open the same trade in the script, set Fill mode so that it is not immediately filled, and then set all the trade parameters, profit and entry and exit dates from the trade off the list. The backtest will then generate a performance report from your set of trades.
Posted By: hast29

Re: Performance report - external trades - 03/31/20 13:42

Thank you !! I found the simulate.c script in the archive. It is exactly what I needed.
Posted By: trader310

Re: Performance report - external trades - 05/24/20 14:15

Hi @hast29, any chance you could share where you found the script? I'm looking for the same thing!
© 2024 lite-C Forums