Marfusios / simple-backtester

πŸ“ˆ A simple backtester for OHLC data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ€  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ€  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ€β–ˆβ–ˆβ€  β–ˆβ–ˆβ€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ€
β–ˆβ–ˆβ€β€β€β–ˆβ–ˆβ€β–ˆβ–ˆβ€β€β€β–ˆβ–ˆβ€β–ˆβ–ˆβ€β€β€β€β€β€β–ˆβ–ˆβ€ β–ˆβ–ˆβ€β€β€β€β€β–ˆβ–ˆβ€β€β€β€β–ˆβ–ˆβ€β€β€β€β€β€β–ˆβ–ˆβ€β€β€β€β€β€β€β€β€β–ˆβ–ˆβ€β€β€β€β–ˆβ–ˆβ€β€β€β€β€β€β–ˆβ–ˆβ€β€β€β–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ€β€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ€β–ˆβ–ˆβ€     β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ€β€    β–ˆβ–ˆβ€   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ€  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ€   β–ˆβ–ˆβ€   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ€  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ€
β–ˆβ–ˆβ€β€β€β–ˆβ–ˆβ€β–ˆβ–ˆβ€β€β€β–ˆβ–ˆβ€β–ˆβ–ˆβ€     β–ˆβ–ˆβ€β€β–ˆβ–ˆβ€    β–ˆβ–ˆβ€   β–ˆβ–ˆβ€β€β€β€  β€β€β€β€β€β–ˆβ–ˆβ€   β–ˆβ–ˆβ€   β–ˆβ–ˆβ€β€β€β€  β–ˆβ–ˆβ€β€β€β–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ€β€β–ˆβ–ˆβ€  β–ˆβ–ˆβ€β€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ€β–ˆβ–ˆβ€  β–ˆβ–ˆβ€   β–ˆβ–ˆβ€   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ€   β–ˆβ–ˆβ€   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ€β–ˆβ–ˆβ€  β–ˆβ–ˆ

Simple Backtester Build Status

A very simple backtesting application for OHLC data (range bars)

License:

MIT

Features

  • cross platform
  • chart and text report
  • integrated TradingView charting library

TradingView report Chart report Text report Artefacts

Usage

Data as CSV files

  • minimal required columns:
    • date and time, one of:
      • timestamp_unix - unix seconds or milliseconds
      • date or timestamp - human readable string parsed via DateTime.Parse()
    • mid or close - last price
  • additional columns (nice-to-have):
    • bid - last bid/buy price
    • ask - last ask/sell price

Strategy

Write strategy that implements interface IStrategy, see example ones

Configuration

Configure app via json file, see example appsettings.json


Pull Requests are welcome!

Available for help

I do consulting, please don't hesitate to contact me if you have a custom solution you would like me to implement (web, m@mkotas.cz)

Donations gratefully accepted.

  • Donate with Bitcoin
  • Donate with Litecoin
  • Donate with Ethereum

About

πŸ“ˆ A simple backtester for OHLC data

License:MIT License


Languages

Language:HTML 87.0%Language:C# 6.9%Language:JavaScript 3.9%Language:TypeScript 2.0%Language:CSS 0.1%