Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rbeeli/Fastback.jl
Blazing fast Julia backtester.
https://github.com/rbeeli/Fastback.jl
analytics backtesting investing julia performance portfolio risk strategy trading
Last synced: 11 days ago
JSON representation
Blazing fast Julia backtester.
- Host: GitHub
- URL: https://github.com/rbeeli/Fastback.jl
- Owner: rbeeli
- License: mit
- Created: 2021-02-25T01:12:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-17T18:57:04.000Z (about 2 months ago)
- Last Synced: 2024-09-17T23:17:08.554Z (about 2 months ago)
- Topics: analytics, backtesting, investing, julia, performance, portfolio, risk, strategy, trading
- Language: Julia
- Homepage:
- Size: 3.48 MB
- Stars: 12
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-blazingly-fast - Fastback.jl - Blazing fast Julia backtester. (Julia)
README
# Fastback.jl - Blazingly fast Julia backtester 🚀
[![License](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE)
![Maintenance](https://img.shields.io/maintenance/yes/2024)
[![Documentation](https://img.shields.io/badge/docs-stable-blue.svg)](https://rbeeli.github.io/Fastback.jl/)Fastback provides a lightweight, flexible and highly efficient event-based backtesting library for quantitative trading strategies.
The main value of Fastback is provided by the account and bookkeeping implementation.
It keeps track of the open positions, account balance and equity.
Furthermore, the execution logic supports commissions, slippage, partial fills and execution delays in its design.Fastback does not try to model every aspect of a trading system, e.g. brokers, data sources, logging etc.
Instead, it provides basic building blocks for creating a custom backtesting environment that is easy to understand and extend.
For example, Fastback has no notion of "strategy" or "indicator", such constructs are highly strategy specific, and therefore up to the user to define.The event-based architecture aims to mimic the way a real-world trading systems works, where new data is ingested as a continuous data stream, i.e. events.
This reduces the implementation gap from backtesting to real-world execution significantly compared to a vectorized backtesting frameworks.## Features
- Event-based, modular architecture
- Multi-currency support
- Hold multiple cash assets in parallel, e.g. USD, EUR, BTC etc.
- Trade instruments with different quote currencies corresponding to the account currencies
- Helpers for currency conversion
- Supports arbitrary price data sources
- Supports modelling commissions, execution delays, price slippage and partial fills
- Flexible data collectors to historize account balances, drawdowns, etc.
- Facilities for parallelized backtesting and hyperparameter optimization
- Uses position netting approach for bookkeeping
- Maintains single position per instrument using weighted average cost method
- Ability to attach arbirary metadata to instruments and orders in type-safe manner## Documentation & Examples
Full documentation and examples are available [here](https://rbeeli.github.io/Fastback.jl/).
## Bug reports and feature requests
Please report any issues via the [GitHub issue tracker](https://github.com/rbeeli/Fastback.jl/issues).