Joe Schr
118ae8a3d0
Fix api_schemas/json_encoders by manually converting NaT values to empty Strings
...
makes import of datetime columns more robust by first checking
if value is null because strftime can't handle NaT values
use `isnull()` because it handles all NaN/None/NaT cases
2022-02-08 17:09:29 +01:00
Joe Schr
761f7fdefb
fix: linter
2022-02-04 13:14:55 +01:00
Joe Schr
e84a58de28
fix: don't use different configuration keys, just add as 2nd argument
2022-02-04 12:47:13 +01:00
Joe Schr
a3e045f69d
Plotting: add alias --backtest-filename for --export-filename
...
makes it easier to discover how to use this argument
2022-02-04 12:47:13 +01:00
Joe Schr
f3388ed9aa
fix IStrategy: abstract methods still need to pass through return value
...
otherwise doing something like:
```py
dataframe = super().populate_indicators(dataframe, ...)
```
won't work, because `dataframe` becomes `None`.
This is needed if one of those methods uses dataframe.copy() instead of
just working on reference. e.g. using `merge_informative` in
`populate_indicator` in a nested class hierarchy
2021-04-30 14:39:01 +02:00
Joe Schr
31b0e3b5e8
add distribution graph to example notebook
2021-04-24 13:29:59 +02:00
Joe Schr
1304918a29
fix(docs/strategy-advanced/custom_info-storage/example): only add to "custom_info" in backtesting and hyperopt
2021-03-04 20:03:43 +01:00
Joe Schr
900deb663a
fix(docs/strategy-advanced/custom_stoploss/example): check if "pair" exists in "custom_info" before requesting
2021-03-04 20:03:43 +01:00
Joe Schr
c56b9cd751
fix(docs/strategy-advanced): add warnings
2021-03-04 20:03:43 +01:00
Joe Schr
a6ef354a5f
fix(docs/strategy-advanced): use get_analyzed_dataframe() instead of custom_info.iloc
2021-03-04 20:03:43 +01:00
Joe Schr
22a558e331
fix(docs/strategy-advanced): fix link to custom_info storage
2021-03-04 20:03:42 +01:00
Joe Schr
1a02a146a1
feature(docs/strategy-advanced/custom_info-storage/example): add ATR column calculation
2021-03-04 20:03:42 +01:00
Joe Schr
4064f856d1
fix(docs/strategy-customization): add "hyperopt" to runmode check for custom_info in custom_stoploss example
2021-03-04 20:03:42 +01:00
Joe Schr
b52698197b
refactor(docs/strategy-advanced): extract "Storing information" section from strategy-customization.md
2021-03-04 20:03:42 +01:00
Joe Schr
d05acc30fa
fix(docs/strategy-customization): remove superflous prints from example code
2021-03-04 20:03:42 +01:00
Joe Schr
32f35fcd90
fix(docs/strategy-customization): "custom_stoploss indicator" example need to check for RUN_MODE
2021-03-04 20:03:42 +01:00
Joe Schr
c5900bbd38
feature(docs/strategy-customization): add example "Custom stoploss using an indicator from dataframe"
2021-03-04 20:03:42 +01:00
Joe Schr
cc4e84bb70
feature(docs/strategy-customization): add example how to store indicator with DatetimeIndex into custom_info
2021-03-04 20:03:42 +01:00
Joe Schr
5cf3194fab
chore(docs/strategy-customization): clean up left over trailing whitespaces
2021-03-04 20:03:42 +01:00
Joe Schr
d5993db064
refactor(docs/strategy-customization): change variable name for better readability
...
`cust_info` -> `custom_info`
2021-03-04 20:03:42 +01:00
Joe Schr
55a315be14
fix: avg_stake_amount should not be NaN if df is empty
2021-03-02 13:38:55 +01:00
Joe Schr
a816fb1245
chore(lint): lint binance example config
2021-02-05 12:43:19 +01:00