[package]
edition = "2024"
name = "backtesting_framework"
version = "0.1.0-alpha.1"
authors = ["Max Gilmour <mgilmour@maxgmr.ca"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Simple framework for testing quantitative trading strategies"
homepage = "https://github.com/maxgmr/backtesting_framework"
readme = "README.md"
license = "AGPL-3.0"
repository = "https://github.com/maxgmr/backtesting_framework"
[features]
plotting = [
"dep:chrono",
"dep:plotters",
"dep:thiserror",
]
yahoo = ["dep:yahoo_finance_api"]
[lib]
name = "backtesting_framework"
path = "src/lib.rs"
[dependencies.chrono]
version = "0.4"
optional = true
[dependencies.plotters]
version = "0.3"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.thiserror]
version = "2.0"
optional = true
[dependencies.time]
version = "0.3"
features = ["serde"]
[dependencies.yahoo_finance_api]
version = "4.1"
optional = true
[dev-dependencies.tokio]
version = "1.50"
features = [
"rt",
"macros",
"test-util",
]
[profile.release]
lto = "fat"
codegen-units = 1