cardstock 0.1.0

Simple papertrading & backtesting library - featuring real-world intergration for when you're ready to go live.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use serde::{Serialize, Deserialize};

#[derive(Debug, PartialEq, Serialize, Deserialize, Clone, Copy)]
pub struct Candle {
    open: f64,
    high: f64,
    low: f64,
    close: f64,
    volume: f64,
    timestamp: i64,
}