Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ryqdev committed May 29, 2024
1 parent f1ee118 commit b579298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/green/green.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ impl Green {
type HistoricalData = (String, Vec<f64>);

impl GreenBuilder{
pub fn add_data_feed(&mut self, symbol: &str) -> &mut GreenBuilder{
pub fn add_data_feed(&mut self, symbol: Box<dyn BaseData>) -> &mut GreenBuilder{
let file = File::open(format!("data/{symbol}.csv")).unwrap();

let mut reader = csv::ReaderBuilder::new()
Expand Down

0 comments on commit b579298

Please sign in to comment.