Update docs/strategy-advanced.md

Co-authored-by: Matthias <xmatthias@outlook.com>
This commit is contained in:
Rokas Kupstys 2021-05-12 17:15:38 +03:00 committed by GitHub
parent ad4c51b3c5
commit 9bb6ba086b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,7 @@ class AwesomeStrategy(IStrategy):
trade_date = timeframe_to_prev_date(trade.open_date_utc)
# Look up trade candle.
trade_candle = dataframe.loc[dataframe['date'] == trade_date]
# trade_candle may be None for trades that just opened as it is stil lincomplete.
# trade_candle may be None for trades that just opened as it is still incomplete.
if trade_candle is not None:
# <...>
```