Commit Graph

11214 Commits

Author SHA1 Message Date
Matthias
05fe5591dc Introduce forcebuy ordertype to allow specifiying a different ordertype for forcebuy / forcesells 2021-03-20 18:46:57 +02:00
Matthias
e05e61cd01 Remove deprecated profit return value 2021-03-20 18:46:57 +02:00
Matthias
c32f9706ff Fix too long line errors 2021-03-20 18:46:57 +02:00
raoulus
adf040ab97 added "Median profit" column to hyperopt -> export-csv 2021-03-20 18:46:57 +02:00
JoeSchr
6a0b3e9a8b Update docs/strategy-customization.md
Co-authored-by: Matthias <xmatthias@outlook.com>
2021-03-20 18:46:57 +02:00
JoeSchr
cb130ee9a7 Update docs/strategy-advanced.md
Co-authored-by: Matthias <xmatthias@outlook.com>
2021-03-20 18:46:57 +02:00
Joe Schr
b62662f882 fix(docs/strategy-advanced/custom_info-storage/example): only add to "custom_info" in backtesting and hyperopt 2021-03-20 18:46:57 +02:00
Joe Schr
97da000b3d fix(docs/strategy-advanced/custom_stoploss/example): check if "pair" exists in "custom_info" before requesting 2021-03-20 18:46:57 +02:00
Joe Schr
b2dc29f66f fix(docs/strategy-advanced): add warnings 2021-03-20 18:46:57 +02:00
Joe Schr
3a7a7c6ad9 fix(docs/strategy-advanced): use get_analyzed_dataframe() instead of custom_info.iloc 2021-03-20 18:46:57 +02:00
Joe Schr
9920959950 fix(docs/strategy-advanced): fix link to custom_info storage 2021-03-20 18:46:57 +02:00
Joe Schr
55388ef825 feature(docs/strategy-advanced/custom_info-storage/example): add ATR column calculation 2021-03-20 18:46:57 +02:00
Joe Schr
341ce4d405 fix(docs/strategy-customization): add "hyperopt" to runmode check for custom_info in custom_stoploss example 2021-03-20 18:46:57 +02:00
Joe Schr
699dcbdb4d refactor(docs/strategy-advanced): extract "Storing information" section from strategy-customization.md 2021-03-20 18:46:57 +02:00
Joe Schr
ea89c839d4 fix(docs/strategy-customization): remove superflous prints from example code 2021-03-20 18:46:57 +02:00
Joe Schr
6b4b3bb964 fix(docs/strategy-customization): "custom_stoploss indicator" example need to check for RUN_MODE 2021-03-20 18:46:57 +02:00
Joe Schr
7961fe5810 feature(docs/strategy-customization): add example "Custom stoploss using an indicator from dataframe" 2021-03-20 18:46:57 +02:00
Joe Schr
81dfb84c6a feature(docs/strategy-customization): add example how to store indicator with DatetimeIndex into custom_info 2021-03-20 18:46:57 +02:00
Joe Schr
65653378b8 chore(docs/strategy-customization): clean up left over trailing whitespaces 2021-03-20 18:46:57 +02:00
Joe Schr
c5ea069f04 refactor(docs/strategy-customization): change variable name for better readability
`cust_info` -> `custom_info`
2021-03-20 18:46:57 +02:00
av1nxsh
69785b20b2 rest_client.py
optimised with var 'configstatus'
2021-03-20 18:46:57 +02:00
av1nxsh
596cda78b6 rest_client.py
updated for connection error case
2021-03-20 18:46:57 +02:00
av1nxsh
b1761b1602 rest_client.py
fixed operator
2021-03-20 18:46:57 +02:00
av1nxsh
b5a93dfa07 rest_client.py
flake8 issues
2021-03-20 18:46:57 +02:00
av1nxsh
02810fb58e rest_client.py
removing tab
2021-03-20 18:46:57 +02:00
av1nxsh
0dd772e231 rest_client.py
first
2021-03-20 18:46:57 +02:00
Matthias
b6641631eb Don't catch errors that can't happen 2021-03-20 18:46:57 +02:00
Matthias
6c472c037e Add telegram pair unlocking 2021-03-20 18:46:57 +02:00
Matthias
a391ae7807 Support deleting locks via API 2021-03-20 18:46:57 +02:00
Matthias
5746af6d59 Add rpc method to delete locks 2021-03-20 18:46:57 +02:00
Matthias
d6a2a8251d Add warning about sandboxes
closes #4468
2021-03-20 18:46:57 +02:00
Matthias
124d300449 Update styles to work with new mkdocs version 2021-03-20 18:46:57 +02:00
dependabot[bot]
39f973ff9a Bump mkdocs-material from 6.2.8 to 7.0.3
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 6.2.8 to 7.0.3.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/docs/changelog.md)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/6.2.8...7.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-20 18:46:57 +02:00
Matthias
c2a2719466 Fix mypy errors introduced by Arrow update 2021-03-20 18:46:57 +02:00
dependabot[bot]
3dee7b6dd1 Bump arrow from 0.17.0 to 1.0.2
Bumps [arrow](https://github.com/arrow-py/arrow) from 0.17.0 to 1.0.2.
- [Release notes](https://github.com/arrow-py/arrow/releases)
- [Changelog](https://github.com/arrow-py/arrow/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/arrow-py/arrow/compare/0.17.0...1.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-20 18:46:57 +02:00
dependabot[bot]
9bacc9beeb Bump ccxt from 1.42.19 to 1.42.47
Bumps [ccxt](https://github.com/ccxt/ccxt) from 1.42.19 to 1.42.47.
- [Release notes](https://github.com/ccxt/ccxt/releases)
- [Changelog](https://github.com/ccxt/ccxt/blob/master/doc/exchanges-by-country.rst)
- [Commits](https://github.com/ccxt/ccxt/compare/1.42.19...1.42.47)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-20 18:46:57 +02:00
Matthias
5b0fdc61d8 Don't use __root__ directly for api response 2021-03-20 18:46:57 +02:00
Matthias
e68e5b8515 Fix mypy problem after mypy 0.800 upgrade 2021-03-20 18:46:57 +02:00
dependabot[bot]
574a1db35e Bump mypy from 0.790 to 0.812
Bumps [mypy](https://github.com/python/mypy) from 0.790 to 0.812.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.790...v0.812)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-20 18:46:57 +02:00
Matthias
ac3227251c Use sensible defaults for balance_dust_level 2021-03-20 18:46:57 +02:00
Florian Reitmeir
4467378792 add balance_dust_level parameter to make telegram less chatty 2021-03-20 18:46:57 +02:00
Matthias
0351b1d530 Stringify favicon path
potentially closes #4459
2021-03-20 18:46:57 +02:00
JoeSchr
a275d8defa Fix: custom_stoploss returns typo
Afaik it should return -0.07 for 7% instead of -0.7.

As a side note, really interesting would also be an example for greater than 100% profits. especially when trailing stoploss, like
* Once profit is > 200% - stoploss will be set to 150%.

I assume it could be as simple as
```py
if current_profit > 2:
            return (-1.50 + current_profit)
````
to achieve it

But I'm not quite confident, if the bot can handle stuff smaller than `-1`, since `1` and `-1` seem to have some special meaning and are often used to disable stoploss etc.
2021-03-20 18:46:57 +02:00
Matthias
b60703bf6a Add warning about downloading data from kraken
closes #4449
2021-03-20 18:46:57 +02:00
JoeSchr
8e094e4a12 Fix(strategy/interface.py): comment typo
`advice_buy` -> `advise_buy`
2021-03-20 18:46:57 +02:00
Xanders
6e2a5212c5 Better JSON webhook result description 2021-03-20 18:46:57 +02:00
Xanders
1f54264a89 Fix blank lines rule at test_rpc_webhook.py 2021-03-20 18:46:57 +02:00
Xanders
4db9c2cb6b Fix too long line at webhook.py 2021-03-20 18:46:57 +02:00
Xanders
e5ff55e20b Add webhook result example to documentation 2021-03-20 18:46:56 +02:00
Xanders
ad8543afa8 Add test for webhook JSON format 2021-03-20 18:46:56 +02:00