mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Update docs/strategy-advanced.md
Co-authored-by: Matthias <xmatthias@outlook.com>
This commit is contained in:
parent
ad4c51b3c5
commit
9bb6ba086b
|
@ -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:
|
||||
# <...>
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue
Block a user