From c66c24ff81dfdbca34a110c77ce7045cb813195e Mon Sep 17 00:00:00 2001 From: Sik Yoon Date: Mon, 18 Dec 2023 02:25:47 +0900 Subject: [PATCH] Fix typo --- src/value_estimation_team/indicators/adx.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/value_estimation_team/indicators/adx.rs b/src/value_estimation_team/indicators/adx.rs index 3473758..9ecdce4 100644 --- a/src/value_estimation_team/indicators/adx.rs +++ b/src/value_estimation_team/indicators/adx.rs @@ -101,7 +101,7 @@ filtered_symbols: &Vec,) -> Result)>, Bo initial_adx_vec.push(adx_data); } let partial_vec1 = initial_adx_vec.get(..adx_len).unwrap(); // for calculation of initial value - let partial_vec2 = initial_adx_vec.get(di_len..).unwrap(); // for calculation of the rest + let partial_vec2 = initial_adx_vec.get(adx_len..).unwrap(); // for calculation of the rest let mut smoothed_adx_vec: Vec = Vec::new(); let mut adx_calculated = 0.0;