Crates.io | golden |
lib.rs | golden |
version | 0.1.5 |
source | src |
created_at | 2024-06-01 06:47:44.468241 |
updated_at | 2024-06-02 14:36:57.900619 |
description | All in one trading engine |
homepage | |
repository | https://github.com/ryqdev/golden |
max_upload_size | |
id | 1258529 |
size | 328,678 |
golden
is all in one trading engine built with Rust.
There are many public algorithmic trading platform like QuantConnect and JoinQuant for individual trader for learning, researching, backtesting and live-trading. However, we still private algorithmic trading platform for many reasons such as strategy privacy, system stability and other customed features.
One of the well-known private trading library is Backtrader, but the commmunity is not active recently. It hasn't updated since Apr 19, 2023. I also build a simple project based on backtrader and ib_insync, but it still need a lot of work to do to achieve above goals.
Inspired by backtrader
, golden
aims to build all in one trading engine supporting backtesting, analyzing, paper-trading and live-trading.
As my first Rust practice project
Modern programming language
High performance
Powerful compiler
The trending
Command Line Argument Parser
Set configuration with a local toml file
Set configuration with UI
Publish it to crate.io
Customed Strategy writing
Single data feed
Single strategy
Download CSV data from yahoo finance
Set time range while downloading data from Yahoo finance
Load CSV data from local file
Multiple data feed
Multiple strategy
Set time range in backtest
Basic Indicators (such as SMA)
More analyzer
Create the basic layer
Implement candlestick chart
Implement line chart
Add trading orders list
Add side panel controller
Add top menu bar
Set window size and position
Add benchmark
Add more details
Single live broker: IBKR
Live trading with single broker
Risk module
Online monitor module
make backtest symbol=SPY
TODO: add more
cargo install golden
# download csv to data/
golden csv --symbol SPY
# backtest
golden backtest --symbol SPY
# paper trading
golden paper --broker ibkr