Sam Germain
|
1d7a8f667a
|
Merge branch 'lev-exchange' into lev-freqtradebot
|
2021-09-12 03:15:32 -06:00 |
|
Sam Germain
|
e070bdd161
|
set leverage more thorough tests
|
2021-09-12 03:09:51 -06:00 |
|
Sam Germain
|
ad44048e29
|
customized set_leverage for different exchanges
|
2021-09-12 02:42:13 -06:00 |
|
Sam Germain
|
0c1e5afc91
|
Added set leverage to create_order
|
2021-09-12 02:02:10 -06:00 |
|
Sam Germain
|
09418938fe
|
Updated kraken fill leverage brackets and set_leverage
|
2021-09-12 01:51:09 -06:00 |
|
Sam Germain
|
1344c9f7fc
|
_apply_leverage_to_min_stake_amount
|
2021-09-12 01:31:15 -06:00 |
|
Sam Germain
|
5b84298e03
|
kraken._apply_leverage_to_stake_amount
|
2021-09-12 00:03:02 -06:00 |
|
Sam Germain
|
02521b4010
|
Merge branch 'lev-exchange' into lev-freqtradebot
|
2021-09-10 23:59:45 -06:00 |
|
Sam Germain
|
b0e05b92d3
|
Added minor changes from lev-exchange review
|
2021-09-10 13:39:42 -06:00 |
|
Sam Germain
|
d582ccd2e6
|
merged with lev-exchange
|
2021-09-10 03:05:13 -06:00 |
|
Sam Germain
|
77aa372909
|
Fixed test_ftx patch
|
2021-09-10 02:09:27 -06:00 |
|
Sam Germain
|
77fc21a16b
|
Patched test_fill_leverage_brackets_ftx so that exchange._leverage_brackets doesn't retain the values from binance
|
2021-09-09 23:58:10 -06:00 |
|
Sam Germain
|
2c7cf794f5
|
Test for short exchange.stoploss exchange.stoploss_adjust
|
2021-09-09 15:47:49 -06:00 |
|
Sam Germain
|
785b71aec1
|
formatting
|
2021-09-09 15:47:49 -06:00 |
|
Sam Germain
|
9f96b977f6
|
removed interest method from exchange, will create a separate interest PR
|
2021-09-09 15:47:49 -06:00 |
|
Sam Germain
|
93da13212c
|
test_fill_leverage_brackets_kraken and test_get_max_leverage_binance now pass but test_fill_leverage_brackets_ftx does not if called after test_get_max_leverage_binance
|
2021-09-09 15:47:49 -06:00 |
|
Sam Germain
|
9e73d02663
|
Added validating checks for trading_mode and collateral on each exchange
|
2021-09-09 15:47:49 -06:00 |
|
Sam Germain
|
619ecc9728
|
Added exceptions to exchange.interest_rate
|
2021-09-09 15:47:49 -06:00 |
|
Sam Germain
|
97d1306e34
|
Added retrier to exchange functions and reduced failing tests down to 2
|
2021-09-09 15:47:49 -06:00 |
|
Sam Germain
|
cd33f69c7e
|
Wrote failing test_fill_leverage_brackets_binance
|
2021-09-09 15:47:49 -06:00 |
|
Sam Germain
|
2b7d94a855
|
Rearranged tests at end of ftx to match other exchanges
|
2021-09-09 15:47:49 -06:00 |
|
Sam Germain
|
0232f0fa18
|
Added failing fill_leverage_brackets test to test_kraken
|
2021-09-09 15:47:49 -06:00 |
|
Sam Germain
|
8d74233aa5
|
ftx.fill_leverage_brackets test
|
2021-09-09 15:47:49 -06:00 |
|
Sam Germain
|
8264cc546d
|
Wrote dummy tests for exchange.get_interest_rate
|
2021-09-09 15:47:49 -06:00 |
|
Sam Germain
|
607e403eb2
|
split test_get_max_leverage into separate exchange files
|
2021-09-09 15:47:49 -06:00 |
|
Sam Germain
|
5708fee0e6
|
Wrote failing tests for exchange.set_leverage and exchange.set_margin_mode
|
2021-09-09 15:47:49 -06:00 |
|
Sam Germain
|
f950f039a8
|
added tests for min stake amount with leverage
|
2021-09-09 15:47:49 -06:00 |
|
Sam Germain
|
134a7ec59b
|
Implemented fill_leverage_brackets get_max_leverage and set_leverage for binance, kraken and ftx. Wrote tests test_apply_leverage_to_stake_amount and test_get_max_leverage
|
2021-09-09 15:47:49 -06:00 |
|
Sam Germain
|
455bcf5389
|
Added TODOs to test files
|
2021-09-09 15:47:49 -06:00 |
|
Sam Germain
|
f4e26a616f
|
Exchange stoploss function takes side
|
2021-09-09 15:47:49 -06:00 |
|
Sam Germain
|
dc83e04f9b
|
Merge branch 'feat/short' into lev-exchange
|
2021-09-07 22:13:20 -06:00 |
|
Sam Germain
|
8822b73f9c
|
test_fill_leverage_brackets_kraken and test_get_max_leverage_binance now pass but test_fill_leverage_brackets_ftx does not if called after test_get_max_leverage_binance
|
2021-09-05 22:27:14 -06:00 |
|
Sam Germain
|
23ba49fec2
|
Added validating checks for trading_mode and collateral on each exchange
|
2021-09-04 22:02:08 -06:00 |
|
Sam Germain
|
7eab855476
|
Merge branch 'feat/short' into lev-exchange
|
2021-09-04 20:15:36 -06:00 |
|
Sam Germain
|
6ec2e40736
|
Added exceptions to exchange.interest_rate
|
2021-09-04 19:47:04 -06:00 |
|
Sam Germain
|
61fdf74ad9
|
Added retrier to exchange functions and reduced failing tests down to 2
|
2021-09-04 19:16:17 -06:00 |
|
Sam Germain
|
aac1094078
|
Wrote failing test_fill_leverage_brackets_binance
|
2021-09-03 20:30:52 -06:00 |
|
Sam Germain
|
95bd0721ae
|
Rearranged tests at end of ftx to match other exchanges
|
2021-09-03 20:30:19 -06:00 |
|
Sam Germain
|
c5d97d07a8
|
Added failing fill_leverage_brackets test to test_kraken
|
2021-09-03 20:29:46 -06:00 |
|
Sam Germain
|
01263663be
|
ftx.fill_leverage_brackets test
|
2021-09-03 19:56:53 -06:00 |
|
Sam Germain
|
9d398924c6
|
Wrote dummy tests for exchange.get_interest_rate
|
2021-09-03 19:56:13 -06:00 |
|
Sam Germain
|
9b953f6e60
|
split test_get_max_leverage into separate exchange files
|
2021-09-03 19:25:16 -06:00 |
|
Sam Germain
|
1b20b4f3c7
|
Wrote failing tests for exchange.set_leverage and exchange.set_margin_mode
|
2021-09-03 19:00:04 -06:00 |
|
Matthias
|
93c1dff71b
|
Allow adding new additional headers
|
2021-09-02 21:02:45 +02:00 |
|
Matthias
|
1895230afe
|
Clarify exception on load when markets could not be loaded
closes #5498
|
2021-08-29 09:18:46 +02:00 |
|
Matthias
|
8a9407bac9
|
Don't hard-fail when fetch_ticker doesn't return a value
closes #5477
|
2021-08-25 07:13:59 +02:00 |
|
Sam Germain
|
0a624e70ee
|
added tests for min stake amount with leverage
|
2021-08-22 23:28:03 -06:00 |
|
Sam Germain
|
97bb555d41
|
Implemented fill_leverage_brackets get_max_leverage and set_leverage for binance, kraken and ftx. Wrote tests test_apply_leverage_to_stake_amount and test_get_max_leverage
|
2021-08-20 18:23:21 -06:00 |
|
Matthias
|
ba5abb20bd
|
Run compat ci for gate.io
|
2021-08-20 06:30:27 +02:00 |
|
Matthias
|
acb00cd072
|
Use realistic threshold for "get_fee" test
|
2021-08-18 06:25:52 +02:00 |
|