Matthias
|
1b07ad92cf
|
Merge branch 'feat/short' into pr/samgermain/6467
|
2022-02-28 20:07:19 +01:00 |
|
Matthias
|
c745f5828c
|
Update comments to clarify it's supposed to be a "offline" call
|
2022-02-28 20:05:14 +01:00 |
|
Matthias
|
79538368db
|
Simplify liquidation price calculation
|
2022-02-28 19:47:21 +01:00 |
|
Matthias
|
ab46476e63
|
Rename get_liquidation method
|
2022-02-28 19:42:26 +01:00 |
|
Matthias
|
1d27cbd01f
|
Simplify leverage_prep interface
|
2022-02-28 19:34:10 +01:00 |
|
Matthias
|
8e2d3445a7
|
Move leverage_prep calculations to exchange class
|
2022-02-28 19:29:42 +01:00 |
|
Matthias
|
bc92225441
|
Add todo about leverage_prep
|
2022-02-28 19:23:14 +01:00 |
|
Matthias
|
68bc2a6107
|
Add huobi to ccxt compat tests
|
2022-02-28 07:00:52 +01:00 |
|
Matthias
|
7948224892
|
leverage_prep should also becalled after filling a entry ordre
|
2022-02-27 21:14:28 +01:00 |
|
Sam Germain
|
b103045a05
|
backtesting._enter_trade update liquidation price on increased position
|
2022-02-27 12:09:45 -06:00 |
|
Sam Germain
|
6fdcc714bf
|
backtesting margin_mode key fix
|
2022-02-27 11:59:27 -06:00 |
|
Matthias
|
437b12fab7
|
Use trade.* props where possible
|
2022-02-27 17:16:38 +01:00 |
|
Matthias
|
33be14e7e2
|
Update stake_amount calculation with multiple entries when using leverage
|
2022-02-27 17:09:29 +01:00 |
|
Matthias
|
0ebf40f390
|
Don't call amount_to_precision twice on entry
|
2022-02-27 15:57:44 +01:00 |
|
Matthias
|
1b6548c8d8
|
Don't modify leverage through DCA
|
2022-02-27 15:44:23 +01:00 |
|
Matthias
|
536f54cfc6
|
is_short for forceentries
|
2022-02-27 15:44:23 +01:00 |
|
Matthias
|
f0f5a50975
|
Update tests to test DCA for shorts
|
2022-02-27 15:44:23 +01:00 |
|
Matthias
|
eed516a5c6
|
Update DCA logic to some extend
|
2022-02-27 15:44:23 +01:00 |
|
Matthias
|
bcfa73d492
|
Add "nr_of_successfull_entries"
|
2022-02-27 15:44:23 +01:00 |
|
Sam Germain
|
8af2ea754f
|
add margin mode to backtesting
|
2022-02-26 14:11:21 -06:00 |
|
Sam Germain
|
78194559f4
|
persistence.adjust_stop_loss accounts for leverage
|
2022-02-26 13:55:37 -06:00 |
|
Sam Germain
|
ac433eebfe
|
stoploss in freqtradebot leverage adjustment
|
2022-02-26 13:55:37 -06:00 |
|
Sam Germain
|
6dbd249570
|
backtesting._enter_trade get liquidation_price and backtesting._leverage_prep
|
2022-02-26 13:55:01 -06:00 |
|
Matthias
|
92ad353169
|
Fix OKX exception
|
2022-02-26 20:13:24 +01:00 |
|
Sam Germain
|
fbcd260bf6
|
flake8 import issues
|
2022-02-26 09:05:51 -06:00 |
|
Sam Germain
|
f5ea7827e0
|
removed gateio.get_max_leverage and gateio.get_maint_ratio_and_amt
|
2022-02-26 09:05:51 -06:00 |
|
Sam Germain
|
6cd01c45d5
|
exchange.get_leverage_tiers and exchange.get_market_leverage_tiers
|
2022-02-26 09:05:51 -06:00 |
|
Sam Germain
|
c7e87e86e2
|
added exception handlers to fetch_market_leverage_tiers
|
2022-02-26 09:05:51 -06:00 |
|
Sam Germain
|
b61cfada6d
|
moved okex.load_leverage_tiers to new method
|
2022-02-26 09:05:51 -06:00 |
|
Matthias
|
79ddc9abaa
|
Merge pull request #6423 from samgermain/wallet-amt
Futures wallet amount
|
2022-02-26 15:55:28 +01:00 |
|
Matthias
|
41316abb55
|
Sort supported exchanges alphabetically
|
2022-02-26 14:57:17 +01:00 |
|
Matthias
|
14d49e85af
|
Update Huobi stoploss to shared method
|
2022-02-26 14:57:13 +01:00 |
|
Matthias
|
a1f2f6ddeb
|
Updates required for huobi datadownload
|
2022-02-26 10:33:37 +01:00 |
|
Matthias
|
f3421dfa9f
|
Use unified stopPrice argument
|
2022-02-26 10:33:37 +01:00 |
|
Matthias
|
292c350885
|
Add stoploss support for huobi
|
2022-02-26 10:33:36 +01:00 |
|
Matthias
|
9504b3eb05
|
Improve huobi config generation
|
2022-02-26 10:33:11 +01:00 |
|
Matthias
|
ee7bc55727
|
Add huobi to Exchange setup
|
2022-02-26 10:33:11 +01:00 |
|
Matthias
|
2ec1a7b370
|
Add huobi exchange class
|
2022-02-26 10:33:11 +01:00 |
|
Matthias
|
3942b30ebf
|
Add kraken TODO
|
2022-02-26 08:34:23 +01:00 |
|
Matthias
|
6caa5f7131
|
Update dry-run behaviour
|
2022-02-26 08:25:42 +01:00 |
|
Matthias
|
0749199097
|
Add stoploss tests for kucoin
|
2022-02-26 08:25:42 +01:00 |
|
Matthias
|
768b526c38
|
Add kucoin stoploss on exchange
|
2022-02-26 08:25:42 +01:00 |
|
Matthias
|
7ba92086c9
|
Make stoploss method more flexible
|
2022-02-26 08:25:42 +01:00 |
|
Matthias
|
ea197b79ca
|
Add some more logic to stoploss
|
2022-02-26 08:25:42 +01:00 |
|
Matthias
|
1d57ce19eb
|
Move stoploss -limit implemenentation to exchange class, as this seems to be used by multiple exchanges.
|
2022-02-26 08:25:42 +01:00 |
|
Matthias
|
7883160ce0
|
Update to fstrings
|
2022-02-26 08:23:13 +01:00 |
|
Matthias
|
018c620057
|
Fix 0 Division error on exchanges without average
closes #6461
|
2022-02-26 08:19:45 +01:00 |
|
Matthias
|
551fe7d820
|
Merge pull request #6440 from clover-es/feat/short
Add leverage strategy to new-strategy command
|
2022-02-25 15:18:46 +01:00 |
|
Matthias
|
5826698c04
|
Don't emergencysell partial sold exit
closes #6457
|
2022-02-25 15:07:35 +01:00 |
|
Matthias
|
3c88b4cf0c
|
Merge pull request #6416 from froggleston/patch-2
|
2022-02-25 11:58:43 +01:00 |
|