fixed typo

This commit is contained in:
hippocritical
2025-05-04 17:53:23 +02:00
parent 9edcbbb9a8
commit 50596e1a6a
+1 -1
View File
@@ -69,7 +69,7 @@ You might be able to salvage it partially if the biased indicators or parts are
- shift(-10) looks 10 candles into the future. - shift(-10) looks 10 candles into the future.
- iloc[] accesses a specific row in the dataframe, be very careful with this. - iloc[] accesses a specific row in the dataframe, be very careful with this.
- For-loops are prone to introduce lookahead-bias if you don't tightly control which numbers are looped through. - For-loops are prone to introduce lookahead-bias if you don't tightly control which numbers are looped through.
- Aggregation funktions like .mean() .min(), .max(), without a rolling window, - Aggregation functions like .mean() .min(), .max(), without a rolling window,
will show you the respective pointers of the **whole** dataframe. will show you the respective pointers of the **whole** dataframe.
A non-biased example of .mean() would be the following line. A non-biased example of .mean() would be the following line.
It just looks back 12 candles and takes its mean instead of the mean of the whole dataframe. It just looks back 12 candles and takes its mean instead of the mean of the whole dataframe.