Skip to content

Repository files navigation

OpenBackTest

Open in browser

A manual backtest open-source tool Client-Side Only.

Check the Codebase Guide for a detailed file-by-file documentation.

PlaybackPlayback

Trade PanelTrade Panel

Binance Live Data FeedBinance Data

Simulation StatisticsSimulation Statistics

Features

  • Import historical data and visualize it on a chart.
  • Simulate market data realtime.
  • Backtest with your trading strategy.
  • Backtest analysis tools to improve your trading skills.
  • Draw on the charts and add indicators to analyze the data.

Data import format

datetime,open,high,low,close,volume,symbol
YYYY-MM-DD HH:mm:ss,open,high,low,close,volume,symbol

Execute locally

npm install
npm run build
npm run dev

Testing

The project uses vitest and @testing-library/react for unit testing. All tests are located in the tests/ directory.

npm run test# Run test suite
npm run coverage # Run tests with coverage report

To-Do

  • Session: Import/export current session and trades to continue later.
  • Backtest Data: Show more statistics, calendar view, etc...
  • Chart: CTRL+C and CTRL+V to copy and paste overlays.
  • Chart: Ability to change the color of the candles.
  • Data: Real-time connection to live market (Crypto).
  • Data: Provider-neutral market-data connection abstraction.
  • Testing: Establish unit testing foundation for stores, hooks, and components.
  • Indicators: (Engine) Ability to load dynamic scripts with indicators or strategies.
  • Data: Rithmic market-data adapter (requires Rithmic API access/dev kit).
  • Trading: Broker execution adapters and live order routing.

About

An open-source, client-side-only tool for manual trading backtesting

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages