Théo Martin
e2b4a73626
Adapt tests to new formula
2021-04-15 00:59:16 +01:00
Théo Martin
1283f8cfd4
Correct get_min_pair_stake_amount formula
...
If I understand well, the goal is to have stoploss price above the minimum required by the exchange, which is not what has been achieved so far.
Only if amount_reserve_percent = (1 + pad) / (1 - abs(stoploss)) we get final stake amount * (1 - abs(stoploss)) > minimum required.
Here is a code example, with numbers from the example in the doc for this function:
stoploss = 0.1
padding = 0.05
min_required_exchange_cost = 10
min_required_exchange_amount = 12
min_required_exchange = max(min_required_exchange_cost, min_required_exchange_amount)
min_required_with_padding = min_required_exchange * (1 + padding)
min_stake_amount = min_required_exchange * max(min(padding + stoploss + 1, 1.5), 1)
stoploss_price = min_stake_amount*(1-stoploss)
print(f'[OLD LOGIC] stoploss_price ({stoploss_price}) < min_required_with_padding ({min_required_with_padding})')
min_stake_amount = min_required_exchange * max(min((1+padding) / (1-stoploss), 1.5), 1)
stoploss_price = min_stake_amount*(1-stoploss)
print(f'[NEW LOGIC] stoploss_price ({stoploss_price}) > min_required_with_padding ({min_required_with_padding})')
2021-04-15 00:33:05 +01:00
Matthias
862df2b431
Add blacklist recommendation for kucoin
...
closes #4738
2021-04-14 19:43:32 +02:00
Matthias
6beb1c223f
Merge pull request #4734 from freqtrade/get_tickers_ccache
...
/balance should use cached tickers when possible
2021-04-14 06:30:22 +02:00
Matthias
ba38e398e4
Add type hint
2021-04-13 22:17:42 +02:00
Matthias
c316531c49
make tests 3.7 compatible
2021-04-13 22:07:01 +02:00
Matthias
c2f35ce416
/balance should use cached tickers when possible
2021-04-13 20:21:03 +02:00
Matthias
82d66410f7
Fix /performance output
...
if multiple messages are necessary
closes #4726
2021-04-13 19:20:57 +02:00
Matthias
521e48c94a
Add doc section for Kucoin
...
part of #4723
2021-04-13 13:55:08 +02:00
Matthias
e4bb6b1582
Add kucoin exchange subclass
...
Kucoin has some specific orderbook restrictions
closes #4723
2021-04-13 12:28:07 +02:00
Matthias
b0bd73272c
Merge pull request #4730 from wr0ngc0degen/develop
...
update conda dependencies to make compatible with tables package
2021-04-13 12:19:49 +02:00
Matthias
638cd4e8f1
Upgrade cleanup action to latest version
2021-04-13 12:04:22 +02:00
Matthias
37c8fd6ad7
Remove arrow from models.py
2021-04-13 11:55:03 +02:00
wr0ngc0degen
e0f2bb6160
update conda dependencies to make compatible with tables package
...
- restrict python version in conda's environment.yml to fixed installation issues due to current incompatibility of tables package with python 3.9
2021-04-13 11:44:07 +02:00
Matthias
59cfbbee17
Merge pull request #4724 from csteeg/develop
...
Fixes FTX stoploss on echange throwing an error
2021-04-13 08:41:52 +02:00
Matthias
99e7ee1273
Fix ftx stoploss creation test
2021-04-13 08:26:41 +02:00
Matthias
f1cf56cc42
Update current_whitelist test
2021-04-13 06:57:21 +02:00
Matthias
9b23be4021
Return a copy from current_whitelist
...
this avoids manipulating of the pair whitelist from within a strategy
2021-04-13 06:49:53 +02:00
Matthias
4b902d6eb8
Don't use response-model on trades endpoint for now
2021-04-13 06:23:11 +02:00
Matthias
9a58a85347
Don't export "hum" date versions for trade objects.
...
They are not used and have a rather high performance penalty due to
using arrow.get
2021-04-13 06:17:11 +02:00
Matthias
b60c2bc9b6
Merge pull request #4725 from freqtrade/brew_install
...
Update brew before installing packages
2021-04-13 06:06:51 +02:00
Matthias
1194d0c0f4
Update brew before installing packages
2021-04-12 20:06:18 +02:00
Matthias
cb60db01b1
Merge pull request #4703 from freqtrade/decimal_space
...
Add SKDecimal Space
2021-04-12 19:18:10 +02:00
Chris van de Steeg
d4dc05980c
Update ftx.py
...
Stoploss price should be set as param instead of passing it as price according to ccxt
2021-04-12 16:01:46 +02:00
Matthias
f1ac6853fc
Fix discord invite link
2021-04-12 11:11:53 +02:00
Matthias
b4a2d00698
Merge pull request #4719 from freqtrade/dependabot/pip/develop/sqlalchemy-1.4.7
...
Bump sqlalchemy from 1.4.5 to 1.4.7
2021-04-12 08:13:10 +02:00
Matthias
8fe2a9cdc9
Merge pull request #4720 from freqtrade/dependabot/pip/develop/ccxt-1.47.47
...
Bump ccxt from 1.46.38 to 1.47.47
2021-04-12 08:12:12 +02:00
Matthias
0a91d2c7ce
Merge pull request #4721 from freqtrade/dependabot/pip/develop/mkdocs-material-7.1.1
...
Bump mkdocs-material from 7.1.0 to 7.1.1
2021-04-12 08:01:36 +02:00
dependabot[bot]
c19ebc0157
Bump mkdocs-material from 7.1.0 to 7.1.1
...
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) from 7.1.0 to 7.1.1.
- [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/7.1.0...7.1.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-12 05:26:58 +00:00
dependabot[bot]
53bbb2b42c
Bump ccxt from 1.46.38 to 1.47.47
...
Bumps [ccxt](https://github.com/ccxt/ccxt ) from 1.46.38 to 1.47.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.46.38...1.47.47 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-12 05:26:47 +00:00
dependabot[bot]
1b925ec4a9
Bump sqlalchemy from 1.4.5 to 1.4.7
...
Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy ) from 1.4.5 to 1.4.7.
- [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases )
- [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/master/CHANGES )
- [Commits](https://github.com/sqlalchemy/sqlalchemy/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-12 05:26:11 +00:00
Matthias
aaf9872ef3
Simplify webserver test
2021-04-10 19:53:00 +02:00
Matthias
be0dc737dc
Merge pull request #4706 from freqtrade/simplify_fiat_convert
...
Simplify fiat convert and fix USD coingecko problem
2021-04-10 14:57:34 +02:00
Matthias
4820b4b314
Fix test failure
2021-04-10 14:52:34 +02:00
Matthias
40fc9d4bfe
Merge pull request #4707 from gerrito333/develop
...
fix documentation inconsistency related to VolatilityFilter
2021-04-10 14:42:09 +02:00
Matthias
579e68f31e
Reduce log verbosity when buying
2021-04-10 14:40:44 +02:00
gbojen
96a5b6555d
fix documentation inconsistency
...
fixes freqtrade/freqtrade#4650
2021-04-10 14:31:12 +02:00
Matthias
14e8574235
fetch_balance is never called in dry-run
2021-04-10 14:17:43 +02:00
Matthias
37c2e037f1
Rename dry_run_order to create_dry_run_order
2021-04-10 13:50:56 +02:00
Matthias
ebbe47f38d
Simplify fiat convert and fix USD coingecko problem
2021-04-10 13:36:16 +02:00
Matthias
9804e20114
Don't use _set_value for autoOpt-Spaces
2021-04-10 09:53:48 +02:00
Matthias
4996bd443e
Merge pull request #4697 from freqtrade/docker_user
...
Docker as user
2021-04-10 08:19:25 +02:00
Matthias
83fbaf16c8
Extract numeric param validation and explosion
2021-04-10 07:59:59 +02:00
Matthias
ea4b5d675d
Don't explode low/high, but use explicit parameters
2021-04-10 07:12:31 +02:00
Matthias
34e47db18d
Test SKDecimal space
2021-04-09 22:15:24 +02:00
Matthias
fedff1a75a
Fix failing test
2021-04-09 22:10:20 +02:00
Matthias
5f67400649
Add SKDecimal Space
2021-04-09 21:58:15 +02:00
Matthias
126127c1e1
Fix armHF image to use ftuser on install too
2021-04-09 21:28:54 +02:00
Matthias
4b2cec22ec
Chown .local dir
2021-04-09 19:34:05 +02:00
Matthias
421079ebb7
Merge pull request #4698 from brookmiles/add-faq-spot-only
...
add FAQ entries for shorting, futures, and options
2021-04-09 09:51:01 +02:00