stock-trek 0.2.1

Stock Trek time-series analysis
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::collections::HashMap;

use crate::data::{market_data::market::Market, trading_pair::TradingPair};

#[derive(Clone)]
pub struct StockTrekContext {
    markets: HashMap<TradingPair, Market>,
}

impl StockTrekContext {
    pub fn markets(&self) -> &HashMap<TradingPair, Market> {
        &self.markets
    }
}