backtesting_framework 0.1.0-alpha.1

Simple framework for testing quantitative trading strategies
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[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