├── .github └── workflows │ └── rust.yml ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── Makefile ├── README.md ├── config.toml ├── data └── SPY_test.csv ├── src ├── analyzer │ └── mod.rs ├── bin │ └── golden.rs ├── broker │ ├── alpaca │ │ ├── alpaca.rs │ │ └── mod.rs │ ├── backtest │ │ ├── backtest.rs │ │ └── mod.rs │ ├── ibkr │ │ ├── ibapi.rs │ │ ├── mod.rs │ │ └── trade.rs │ └── mod.rs ├── cli.rs ├── cmds │ ├── backtest.rs │ ├── csv.rs │ ├── live.rs │ ├── mod.rs │ └── paper.rs ├── color.rs ├── err.rs ├── feeds │ ├── csv │ │ ├── fetch.rs │ │ └── mod.rs │ └── mod.rs ├── lib.rs ├── monitor │ └── mod.rs ├── strategy │ ├── mod.rs │ └── strategy.rs └── visualization │ ├── mod.rs │ └── vis.rs └── tests └── csv_test.rs /.github/workflows/rust.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/.github/workflows/rust.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/.gitignore -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/README.md -------------------------------------------------------------------------------- /config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/config.toml -------------------------------------------------------------------------------- /data/SPY_test.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/data/SPY_test.csv -------------------------------------------------------------------------------- /src/analyzer/mod.rs: -------------------------------------------------------------------------------- 1 | pub trait Analyzer{} -------------------------------------------------------------------------------- /src/bin/golden.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/src/bin/golden.rs -------------------------------------------------------------------------------- /src/broker/alpaca/alpaca.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/src/broker/alpaca/alpaca.rs -------------------------------------------------------------------------------- /src/broker/alpaca/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod alpaca; -------------------------------------------------------------------------------- /src/broker/backtest/backtest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/src/broker/backtest/backtest.rs -------------------------------------------------------------------------------- /src/broker/backtest/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod backtest; -------------------------------------------------------------------------------- /src/broker/ibkr/ibapi.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/src/broker/ibkr/ibapi.rs -------------------------------------------------------------------------------- /src/broker/ibkr/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/src/broker/ibkr/mod.rs -------------------------------------------------------------------------------- /src/broker/ibkr/trade.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/src/broker/ibkr/trade.rs -------------------------------------------------------------------------------- /src/broker/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/src/broker/mod.rs -------------------------------------------------------------------------------- /src/cli.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/src/cli.rs -------------------------------------------------------------------------------- /src/cmds/backtest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/src/cmds/backtest.rs -------------------------------------------------------------------------------- /src/cmds/csv.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/src/cmds/csv.rs -------------------------------------------------------------------------------- /src/cmds/live.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/src/cmds/live.rs -------------------------------------------------------------------------------- /src/cmds/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/src/cmds/mod.rs -------------------------------------------------------------------------------- /src/cmds/paper.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/src/cmds/paper.rs -------------------------------------------------------------------------------- /src/color.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/src/color.rs -------------------------------------------------------------------------------- /src/err.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/src/err.rs -------------------------------------------------------------------------------- /src/feeds/csv/fetch.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/src/feeds/csv/fetch.rs -------------------------------------------------------------------------------- /src/feeds/csv/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/src/feeds/csv/mod.rs -------------------------------------------------------------------------------- /src/feeds/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/src/feeds/mod.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/monitor/mod.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/strategy/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod strategy; -------------------------------------------------------------------------------- /src/strategy/strategy.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/src/strategy/strategy.rs -------------------------------------------------------------------------------- /src/visualization/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod vis; -------------------------------------------------------------------------------- /src/visualization/vis.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/src/visualization/vis.rs -------------------------------------------------------------------------------- /tests/csv_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryqdev/golden/HEAD/tests/csv_test.rs --------------------------------------------------------------------------------