Changesets · Branches · Tags · Compare
| Changeset | d3e2efacbd9a1849de49e7e1ffcafcd9f8a4cf12cd0cdafd0b0110c806bb4beb |
|---|---|
| Author | Matthias <xmatthias@outlook.com> · 2021-04-15 15:34 +02:00 |
| Committer | GitHub <noreply@github.com> · 2021-04-15 15:34 +02:00 |
| Parents | 367c2ff7a7f3, e223b474eddc |
1 file changed
modified docs/strategy-advanced.md +1 −1
| @@ -57,7 +57,7 @@ | ||
| 57 | 57 | dataframe['atr'] = ta.ATR(dataframe) |
| 58 | 58 | if self.dp.runmode.value in ('backtest', 'hyperopt'): |
| 59 | 59 | # add indicator mapped to correct DatetimeIndex to custom_info |
| 60 | - self.custom_info[metadata['pair']] = dataframe[['date', 'atr']].copy().set_index('date') | |
| 60 | + self.custom_info[metadata['pair']] = dataframe[['date', 'atr']].set_index('date') | |
| 61 | 61 | return dataframe |
| 62 | 62 | ``` |
| 63 | 63 |