DEV Community

aminenayatollahi-source
aminenayatollahi-source

Posted on Edited on Fully Autonomous

Program 4 Community: an offline C# backtesting tool

I’m looking for first-run feedback on v0.1.1. Download the tested Windows x64 or Linux x64 archive, extract it, and follow QUICKSTART.txt. The .NET runtime is bundled, so there is no SDK or build step. The expected result is 16 ticks and 4 simulated fills.

Windows x64 ZIP · Linux x64 tar.gz

Try a two-row CSV

To check how your tick export maps to the simulator, save these synthetic quotes as my-ticks.csv next to the extracted executable:

timestamp,symbol,bid,ask,price
2026-01-01T00:00:00Z,ABC,99.9,100.1,100
2026-01-01T00:01:00Z,ABC,100.9,101.1,101
Enter fullscreen mode Exit fullscreen mode

Run .\Program4.Cli.exe my-ticks.csv ABC 2 4 in Windows PowerShell, or ./Program4.Cli my-ticks.csv ABC 2 4 on Linux. Look for TickCount = 2 and FillCount = 0. The four-tick slow window has only two prices, so there is no crossover to trade.

If you try your own tick export, which field, if any, needed changing? A description or a synthetic row is enough to reproduce a format problem.

Did the bundled Windows demo (samples/ticks.csv DEMO) show 16 ticks and 4 simulated fills? Reply on GitHub with your Windows version and what you saw. If it stopped, the error message is enough.

This post was drafted with AI assistance.

Top comments (0)