PoorRican / tradr-rs

0 stars 0 forks source link

`Indicator` should store `Arc<DataFrame>` for candles #13

Open PoorRican opened 3 months ago

PoorRican commented 3 months ago

This allows for much greater flexibility when passing candles to Indicator, processing candles, and requires less copying overall.

The idea is that an indicator could be given references to '15m' or '6h' data, and stored within the same Strategy. This code has yet to be implemented.