{"repo":"ts-kontakt/antback","free":true,"listed":false,"github":"https://github.com/ts-kontakt/antback","clone":"git clone https://github.com/ts-kontakt/antback.git","description":"Fast, Transparent Backtesting","language":"Python","stars":16,"topics":["algorithmic-trading","backtesting","event-driven","finance","interactive-reports","trading-strategies"],"license":null,"category":"trading","readme_excerpt":"Antback Antback: Fast, Transparent, and Debuggable Backtesting A lightweight, event-loop-style backtest engine that allows a function-driven imperative style using efficient stateful helper functions and data containers. Key Features - Transparency : Every step is visible and debuggable. No black-box logic. - Balances simplicity with robustness - ideal for rapid strategy prototyping. - Interactive HTML Reports : Detailed reports with sorting and filtering capabilities via DataTables. - High Performance : Optimized data structures for speed - very fast. - Easy to use with different data sources - only needs date and price values. - Avoids Lookahead Bias : by processing data sequentially. Use wait functions to enforce delays between signals. Installation A key feature is the generation of interactive HTML reports, which allow for easy inspection of trades. The lightweight df2tables module is used for this purpose. For Excel reports, xlreport is used. So the full install command is: Demo The demo feature generates random trades of several stocks at random prices and generates an interactive report. A profit is slightly more likely than a loss - it's a demo, after all . Quick Start Simple SMA Crossover Strategy Full report screenshot (html) Excel version is also avaliable Interactive filtering trades (default html report) Generate excel report See detailed excel report generated with above example. Optimization : In fact, the average lengths in this case are slightly optimized; s","default_branch":null,"files":null,"tree":[],"storefront":"/r/ts-kontakt","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ts-kontakt/antback/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}