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 |
|
Matthias
|
3675df8344
|
Update documentation regarding Legacy Hyperopt
|
2021-09-12 08:18:17 +02:00 |
|
Sam Germain
|
5b84298e03
|
kraken._apply_leverage_to_stake_amount
|
2021-09-12 00:03:02 -06:00 |
|
Matthias
|
a5f90a409c
|
Small updates to async_history_fetch
|
2021-09-11 08:18:32 +02: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 |
|
Matthias
|
4c4604f837
|
Add explicit test for get_historic_ohlcv
|
2021-09-10 19:47:56 +02: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
|
dfb9937436
|
Added tests and docstring to exchange funding_fee methods, removed utils
|
2021-09-09 01:43:55 -06:00 |
|
Sam Germain
|
d54117990b
|
Added funding_fee method headers to exchange, and implemented some of the methods
|
2021-09-09 01:19:34 -06:00 |
|
Sam Germain
|
2f4b566d99
|
reverted back exchange.get_funding_fees method
|
2021-09-08 13:46:52 -06:00 |
|
Sam Germain
|
dc83e04f9b
|
Merge branch 'feat/short' into lev-exchange
|
2021-09-07 22:13:20 -06:00 |
|
Matthias
|
2d66987ac7
|
Add test for "pair-startdate" detection
|
2021-09-07 20:27:49 +02:00 |
|
Sam Germain
|
f5248be043
|
Changed funding fee tracking method, need to get funding_rate and open prices at multiple candles
|
2021-09-06 15:47:24 -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
|
92e630eb69
|
Added get_funding_fees method to exchange
|
2021-09-04 16:40:53 -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 |
|
Matthias
|
f471915828
|
Add test for refresh_latest_ohlcv caching
|
2021-08-17 06:44:36 +02:00 |
|
Matthias
|
0264d77d86
|
Fix test for fixed typo
|
2021-08-16 20:02:25 +02:00 |
|
Matthias
|
61c076563f
|
Add max-slippage limiting for dry-run orders to avoid insane market order fills
|
2021-08-11 12:11:29 +02:00 |
|
Sam Germain
|
0733d69cda
|
Added TODOs to test files
|
2021-08-08 23:24:38 -06:00 |
|
Sam Germain
|
2c0077abc7
|
Exchange stoploss function takes side
|
2021-08-08 23:24:03 -06:00 |
|
Sam Germain
|
b48b768757
|
Added get_interest template method in exchange
|
2021-08-08 23:24:03 -06:00 |
|
Matthias
|
d8d8261f1b
|
Merge pull request #5318 from samgermain/combined_exchange_buy_sell
combined exchange.buy and exchange.sell
|
2021-08-02 20:11:09 +02:00 |
|
Matthias
|
3c5f06d5c0
|
Update tests/exchange/test_exchange.py
|
2021-08-02 08:31:33 +02:00 |
|
Matthias
|
cf4d1875dd
|
Use prohibitedIn instead of isRestricted
|
2021-07-29 06:56:37 +02:00 |
|
Sam Germain
|
25c527ee67
|
combined exchange.buy and exchange.sell, Adding dummy mock to create_order in tests in test_freqtradebot
|
2021-07-28 14:55:06 -06:00 |
|
Sam Germain
|
7c27525bd8
|
Merge get_buy_rate and get_sell_rate
|
2021-07-17 22:51:20 -06:00 |
|
Matthias
|
59a33d0fa9
|
Add test for ask_orderbook validation
|
2021-06-25 20:52:34 +02:00 |
|
Matthias
|
8c542e4028
|
Update tests for removed order_book_max option
|
2021-06-25 20:45:53 +02:00 |
|
Matthias
|
40545e62af
|
Merge pull request #5082 from freqtrade/dry_run_order
Dry run order filling
|
2021-06-25 18:26:01 +02:00 |
|
Matthias
|
39b876e37a
|
Log exchange responses if configured
|
2021-06-19 09:07:42 +02:00 |
|
Matthias
|
d35b2e3b8f
|
Update ftx stoploss logic to properly detect correct trades
closes #5045
|
2021-06-13 11:06:34 +02:00 |
|
Matthias
|
c389d44e9a
|
Improve filling logic
|
2021-06-05 15:22:52 +02:00 |
|
Matthias
|
db03a24109
|
Add tests for fill methods
|
2021-06-05 09:09:39 +02:00 |
|
Matthias
|
1e988c97ad
|
Update dry-run order handling to use realistic fill prices
closes #3389
|
2021-06-05 09:09:39 +02:00 |
|
Matthias
|
bd1984386e
|
Move get_sell_rate to exchange class
|
2021-06-02 11:41:13 +02:00 |
|
Matthias
|
12916243ec
|
Move get_buy_rate to exchange class
|
2021-06-02 11:30:19 +02:00 |
|
Matthias
|
c9ac67e985
|
Fix some typos
|
2021-05-16 14:50:25 +02:00 |
|
Matthias
|
8f8d5dbff5
|
Add tests for sl_order_with_result
|
2021-05-16 14:41:50 +02:00 |
|
Matthias
|
0b1dd0d203
|
Use correct order_id for ftx
closes #4511
|
2021-05-16 09:15:25 +02:00 |
|
Matthias
|
da47f4e1a4
|
Fix Kraken balance update error
closes #4873
|
2021-05-05 06:47:26 +02:00 |
|
Matthias
|
63c28b6519
|
Remove obsolete get_balance method
|
2021-04-28 16:00:12 +02:00 |
|
grillzoo
|
5e51ba6258
|
fix flake8
|
2021-04-15 21:38:00 +01:00 |
|
Théo Martin
|
ce23d9dfee
|
Fix test min stake amount
|
2021-04-15 01:38:08 +01:00 |
|
Théo Martin
|
885096f2b3
|
Update tests for get_min_pair_stake_amount
|
2021-04-15 01:22:52 +01: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
|
e4bb6b1582
|
Add kucoin exchange subclass
Kucoin has some specific orderbook restrictions
closes #4723
|
2021-04-13 12:28:07 +02:00 |
|
Matthias
|
99e7ee1273
|
Fix ftx stoploss creation test
|
2021-04-13 08:26:41 +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
|
73876b61b4
|
Show potential errors when loading markets
|
2021-03-20 13:34:33 +01:00 |
|
Matthias
|
7ffe1fd36a
|
Fix calculation error for min-trade-stake
|
2021-03-20 07:21:22 +01:00 |
|
Matthias
|
6597055a24
|
Ensure ccxt tests run without dry-run
closes #4566
|
2021-03-17 19:36:11 +01:00 |
|
Matthias
|
0b35c0571f
|
Allow custom fee to be used during dry-run
closes #3696
|
2021-03-14 19:37:57 +01:00 |
|
Matthias
|
6389e86ed6
|
Add test for uvloop fix
|
2021-03-13 16:09:07 +01:00 |
|
Matthias
|
ee74bc1f52
|
timeframe is mandatory, no need to use .get()
|
2021-02-14 11:01:12 +01:00 |
|
Matthias
|
ffca09bbcb
|
Test ohlcv_candle_limit explicitly
|
2021-02-14 10:38:49 +01:00 |
|
Matthias
|
5622bb3247
|
Make candle_limit optionally timeframe dependent
|
2021-02-14 10:29:45 +01:00 |
|
Matthias
|
3110d2dbb1
|
Add small test cases
|
2021-02-09 20:09:10 +01:00 |
|
Matthias
|
427d762746
|
Improve tests for cancel_order to be more realistic
|
2021-02-08 19:37:24 +01:00 |
|
Matthias
|
0806202d47
|
ccxt version bump to 1.41.62
|
2021-02-05 20:02:55 +01:00 |
|
Matthias
|
cfd0bb8964
|
Extract min stake amount from bot to exchange class
|
2021-02-02 19:47:21 +01:00 |
|
Matthias
|
5cdd9dd445
|
Cache markets in the exchange object
|
2021-01-28 19:47:32 +01:00 |
|
nas-
|
f72d53351c
|
Added ability to keep invalid pairs while expanding expand_pairlist
|
2021-01-15 06:37:57 +01:00 |
|
nas-
|
4d7ffa8c81
|
Added suppoort for regex in whitelist
|
2021-01-12 01:13:58 +01:00 |
|
Matthias
|
4f126bea35
|
Change trades-test2 to better test correct behaviour
|
2021-01-07 20:06:26 +01:00 |
|
Matthias
|
bf182dc01e
|
Fix wrong key usage in trade_history_timebased
|
2021-01-07 20:03:34 +01:00 |
|
Matthias
|
238e9aabb1
|
Add test showing wrong behaviour
|
2020-12-29 20:05:07 +01:00 |
|
Matthias
|
1713841d0b
|
Initialize markets at startup for ccxt tests
|
2020-12-23 16:20:25 +01:00 |
|
Matthias
|
721d0fb2a8
|
Improve wording of developer docs
|
2020-12-23 16:00:26 +01:00 |
|
Matthias
|
5599490aa2
|
Adjust ohlcv test after rebase
|
2020-12-23 15:50:24 +01:00 |
|
Matthias
|
b39de171c8
|
Don't run longrun regularily
|
2020-12-23 15:46:08 +01:00 |
|
Matthias
|
0981287c62
|
Improve test syntax for ccxt_compat tests
|
2020-12-23 15:41:59 +01:00 |
|
Matthias
|
2016eea212
|
Fix some test-errors in ccxt_compat
|
2020-12-23 15:41:59 +01:00 |
|
Matthias
|
a6e6ce16b1
|
Fix test failures
|
2020-12-23 15:41:59 +01:00 |
|
Matthias
|
b7d4ff9c21
|
Add test for fetch_ohlcv (against exchange)
|
2020-12-23 15:41:59 +01:00 |
|
Matthias
|
7833d9935c
|
Add dummy test for fetch_ohlcv
|
2020-12-23 15:41:59 +01:00 |
|
Matthias
|
79ed89e487
|
Add test for fee calculation
|
2020-12-23 15:41:59 +01:00 |
|
Matthias
|
38af1b2a5d
|
Improve compat tests
|
2020-12-23 15:41:59 +01:00 |
|
Matthias
|
36d60fa8a8
|
First small compat test
|
2020-12-23 15:41:59 +01:00 |
|
Matthias
|
bd0af1b300
|
Fix test warning
|
2020-12-20 19:38:12 +01:00 |
|
Matthias
|
39fec25ae0
|
add optional Cache arguments to refresh_pairs method
|
2020-12-15 09:23:27 +01:00 |
|
Matthias
|
53231d94a9
|
Merge pull request #3975 from freqtrade/volatility_filter
RangeStabilityFilter filter - filter for pairs without much movement
|
2020-11-25 19:17:06 +01:00 |
|
Matthias
|
c14c0f60a1
|
Add Support for kraken stoploss-limit
|
2020-11-25 16:27:27 +01:00 |
|
Matthias
|
f12a8afd41
|
Add test for ohlcv_as_df
|
2020-11-22 10:56:19 +01:00 |
|
Matthias
|
7d2bd00f0c
|
Update forgotten arrow.timestamp occurance
|
2020-11-03 09:23:07 +01:00 |
|
Matthias
|
887d78171c
|
Merge pull request #3857 from freqtrade/arrow_deprecation_timestamp
Convert timestamp to int_timestamp for all arrow occurances
|
2020-11-02 16:40:43 +01:00 |
|
Matthias
|
69e8da30e5
|
Ensure times that fall on a candle are also shifted
|
2020-10-27 07:04:04 +01:00 |
|
Matthias
|
b8c12f6576
|
Test if return value is an exception when downloading historic data
|
2020-10-23 07:50:40 +02:00 |
|
Matthias
|
7a092271c5
|
Merge branch 'develop' into arrow_deprecation_timestamp
|
2020-10-20 20:01:54 +02:00 |
|
Matthias
|
07da21e633
|
Fix problem when limit is > max allowed limit
|
2020-10-13 20:38:02 +02:00 |
|
Matthias
|
8165cc11df
|
Change get_next_limit_in_list to use list comprehension
|
2020-10-13 20:30:35 +02:00 |
|
Matthias
|
077374ac42
|
Implement generic solution for l2 limited limit
|
2020-10-13 20:02:47 +02:00 |
|
Matthias
|
ecddaa663b
|
Convert timestamp to int_timestamp for all arrow occurances
|
2020-10-13 06:24:01 +02:00 |
|
Matthias
|
9df366d943
|
Apply isort to tests
|
2020-09-28 19:43:15 +02:00 |
|
Matthias
|
a0fd7f4644
|
Update tests to merged version
|
2020-09-06 15:27:16 +02:00 |
|
Matthias
|
5fba446e9a
|
Merge branch 'develop' into db_keep_orders
|
2020-09-06 15:22:13 +02:00 |
|
Matthias
|
289425a434
|
Add test for dry-run-cancel order
|
2020-08-29 10:07:02 +02:00 |
|
Matthias
|
4ecb67d1d1
|
Merge branch 'develop' into db_keep_orders
|
2020-08-23 10:36:56 +02:00 |
|
Matthias
|
674b510d23
|
Parametrize fetch_order retry counts
|
2020-08-22 17:35:42 +02:00 |
|
Matthias
|
f2b390a271
|
Add fetch_order_or_stoploss wrapper
|
2020-08-22 09:28:36 +02:00 |
|
Matthias
|
0af9e913d4
|
Timestamps are in ms
|
2020-08-14 09:52:46 +02:00 |
|
Matthias
|
c6741ea6c3
|
Merge branch 'develop' into fix/broken_getpairs
|
2020-08-12 20:13:06 +02:00 |
|
Matthias
|
3915101d2d
|
Add more backoff to fetch_order endpoint
|
2020-08-02 10:32:17 +02:00 |
|
Matthias
|
6c77feee85
|
Improve some exchange logs
|
2020-08-02 10:18:19 +02:00 |
|
Matthias
|
071e82043a
|
Better handle cancelled buy orders
|
2020-08-01 15:59:50 +02:00 |
|