Matthias
e9f451406c
Use correct order id
2022-02-19 16:43:38 +01:00
Matthias
874c161f78
Update more tests to use order_obj to update trade
2022-02-19 16:43:38 +01:00
Matthias
508e677d70
Fix some tests to call update_trade with order object
2022-02-19 16:43:38 +01:00
Matthias
d610b6305d
Improve /balance output by removing trailing zeros
2022-02-19 16:40:30 +01:00
Matthias
a7a25bb285
Update "round coin value" to trim trailing zeros
2022-02-19 16:40:26 +01:00
Matthias
a32aed2225
Update FTX stoploss code to avoid exception for stoploss-market orders
...
closes #6430 , closes #6392
2022-02-19 10:07:32 +01:00
Matthias
0bbbe2e96c
Add test for #6429
2022-02-19 06:39:43 +01:00
Kavinkumar
60d1e7fc65
fix stake amt
2022-02-18 19:47:45 +05:30
Kavinkumar
95d4a11bb1
add precision
2022-02-18 19:32:37 +05:30
Kavinkumar
eb88c0f71b
fixed stake amount
2022-02-18 19:25:56 +05:30
Matthias
989edca622
Add test-case for cancel stake update with leverage
2022-02-18 06:41:15 +01:00
Matthias
8bdc77eb4d
Add TODO-lev for tests which define is_short but don't use it
2022-02-18 06:38:51 +01:00
Matthias
de8d789962
Fix test missing assert statement
2022-02-17 19:37:24 +01:00
Sam Germain
f452fce4cc
Merge branch 'ccxt-compat' into leverage-tiers
2022-02-16 10:07:49 -06:00
Sam Germain
a37287d9ba
test__get_params
2022-02-16 10:06:27 -06:00
Sam Germain
2015e9345d
test_ccxt_compat maintenanceMarginRatio -> maintenanceMarginRate
2022-02-16 09:25:27 -06:00
Sam Germain
df86300729
test_ccxt_dry_run_liquidation_price
2022-02-16 09:22:22 -06:00
Sam Germain
124532a4b7
maintenanceMarginRatio -> maintenanceMarginRate
2022-02-16 09:04:43 -06:00
Sam Germain
dc73fccd3c
removed test_ccxt_get_maintenance_ratio_and_amt
2022-02-16 09:03:50 -06:00
Sam Germain
a1e9e940dd
test_ccxt_load_leverage_tiers
2022-02-16 08:51:39 -06:00
Sam Germain
ef5dae2770
ccxt_compat_tests for leverage tiers
2022-02-16 08:08:10 -06:00
Sam Germain
88a8ff2f4e
Merge branch 'feat/short' into leverage-tiers
2022-02-16 08:05:51 -06:00
Matthias
e7bfb4fd5c
Add test case for "sell below close" case
2022-02-16 13:42:39 +01:00
Matthias
de26844578
Merge pull request #6397 from samgermain/todos
...
edited todo-lev comments
2022-02-16 13:36:17 +01:00
Sam Germain
6f410d3096
fixed test_load_leverage_tiers
2022-02-16 05:44:11 -06:00
Sam Germain
c70050e750
fixed test_load_leverage_tiers
2022-02-16 05:26:52 -06:00
Sam Germain
183f85efe3
test_execute_entry fixed
2022-02-16 05:08:11 -06:00
Sam Germain
1f3d3d87f6
fixed tests
2022-02-16 04:52:26 -06:00
Sam Germain
3fe0e13bb1
expanded test_load_leverage_tiers
2022-02-16 04:37:11 -06:00
Sam Germain
3bfd9186f7
gateio.get_max_leverage small fix
2022-02-16 04:05:27 -06:00
Sam Germain
dbd2df6406
Merge branch 'leverage-tiers' of https://github.com/samgermain/freqtrade into leverage-tiers
2022-02-16 03:50:24 -06:00
Sam Germain
c9da6f480f
gateio get_max_leverage and get_maintenance_ratio_and_amt temporary solution
2022-02-16 03:36:08 -06:00
Matthias
c37f03a638
Update static-markets to include futures pair
2022-02-15 08:04:16 +01:00
Matthias
1bae18c60a
Update decorator locations
2022-02-15 07:11:07 +01:00
Matthias
5ee5e0256b
Clarify todo
2022-02-15 06:39:55 +01:00
Sam Germain
ae249a0f97
Merge branch 'leverage-tiers' of https://github.com/samgermain/freqtrade into leverage-tiers
2022-02-14 17:36:47 -06:00
Sam Germain
3753df26fc
fixed tests
2022-02-14 17:34:59 -06:00
Sam Germain
f4a57b71e7
Filled in test_load_leverage_tiers_okx
2022-02-14 16:53:29 -06:00
Matthias
30f6dbfc40
Attempt fix for #6261
2022-02-14 20:02:38 +01:00
Matthias
acd7f26a9d
update tc36 to properly cover #6261
2022-02-14 20:00:31 +01:00
Matthias
99e3e26542
Adjust ccxt test naming to align with the other tests
2022-02-14 19:14:44 +01:00
Sam Germain
5cd2501397
Merge branch 'leverage-tiers' of https://github.com/samgermain/freqtrade into leverage-tiers
2022-02-14 09:40:53 -06:00
Sam Germain
cfd438b966
fixed test_get_markets
2022-02-14 09:40:01 -06:00
Sam Germain
c1d08dd03a
linting
2022-02-14 09:34:09 -06:00
Sam Germain
16e38592a9
test_get_markets created debugging param test_comment
2022-02-14 09:33:56 -06:00
Matthias
09cc43b533
Test short trade exiting
2022-02-13 16:33:06 +01:00
Matthias
5b65448e56
Fix some todo-lev's in tests
2022-02-13 16:17:41 +01:00
Matthias
ad801e05f7
Filter loadable leverage tiers to stake-currency pairs
2022-02-13 13:05:57 +01:00
Matthias
96df311244
Rename test_okex to test_okx
2022-02-13 13:01:23 +01:00
Matthias
bc855b2a32
Update some missing mocks
2022-02-13 13:00:38 +01:00
Matthias
b98297786c
Update failing mock
2022-02-13 12:56:32 +01:00
Sam Germain
8fe3f0c933
fix breaking tests
2022-02-12 23:08:42 -06:00
Sam Germain
531b4d238c
removed test_get_maintenance_margin_and_amt_gatio as its no longer relevant
2022-02-12 23:02:16 -06:00
Sam Germain
765c95f875
test_okex.test_get_maintenance_ratio_and_amt_okex change pair names
2022-02-12 23:02:16 -06:00
Sam Germain
e3bd40c3c7
added swap and linear to conftest markets
2022-02-12 23:02:16 -06:00
Sam Germain
7a0f7da128
okex loads all leverage tiers at beginning, removed get tiers for pair
2022-02-12 23:02:16 -06:00
Sam Germain
e7430da5d7
test_ccxt_compat commented out unfinished tests
2022-02-12 23:02:16 -06:00
Sam Germain
03b3756e4b
strengthened and fixed leverage_tier tests
2022-02-12 23:02:16 -06:00
Sam Germain
a6043e6a85
get_max_leverage test clean up
2022-02-12 23:02:16 -06:00
Sam Germain
4a1ed01708
get_maintenance_ratio_and_amt tests
2022-02-12 23:02:16 -06:00
Sam Germain
9e599455e7
test_execute_entry mocks get_max_leverage
2022-02-12 23:02:16 -06:00
Sam Germain
3b43d42eaa
Updated exchange tests
2022-02-12 23:02:15 -06:00
Sam Germain
e987e0e2a9
exchange minor fixes
2022-02-12 23:02:15 -06:00
Sam Germain
eb72e5cc42
Added some exchange leverage tier tests
2022-02-12 23:02:15 -06:00
Sam Germain
98f32e8964
fixed failing test_get_max_leverage
2022-02-12 23:02:15 -06:00
Sam Germain
3ebda1d29d
Added test templated
2022-02-12 23:02:15 -06:00
Sam Germain
a0264f0651
test_get_max_pair_stake_amount with leverage
2022-02-12 23:02:15 -06:00
Sam Germain
fe56c8c91e
mock get_max_pair_stake_amount in test_execute_entry
2022-02-12 23:02:15 -06:00
Sam Germain
68a778a983
moved leverage_tiers to a fixture
2022-02-12 23:02:14 -06:00
Sam Germain
42e36f44f8
replaced "leverage" with "tiers"
2022-02-12 23:02:14 -06:00
Sam Germain
6b9915bc73
moved fill_leverage_brackets and get_max_leverage to base exchange class, wrote parse_leverage_tier and load_leverage_brackets
2022-02-12 23:02:14 -06:00
Sam Germain
a99cf2eeed
redid get_max_leverage
2022-02-12 23:02:07 -06:00
Sam Germain
720a86778e
okex.get_max_pair_stake_amount
2022-02-12 23:01:39 -06:00
Sam Germain
ff915b241c
test_okex test_get_maintenance_ratio_and_amt_okex
2022-02-12 23:01:39 -06:00
Sam Germain
a5aba4813d
moved get_maintenance_ratio_and_amt to base.exchange. Wrote get_leverage_tiers. Added mmr_key to exchange._ft_has
2022-02-12 23:01:30 -06:00
Sam Germain
fc2d3649a1
edited todos
2022-02-12 16:23:14 -06:00
Matthias
c769e9757d
Improve "order refind" to also work for stoploss orders
2022-02-12 20:13:12 +01:00
Matthias
119d4d5204
select_order should use ft_order_side, not the exchange specific one
2022-02-12 17:06:03 +01:00
Matthias
08803524bd
align variable naming to use current_time
2022-02-12 15:21:46 +01:00
Sam Germain
19a282ddb4
fixed broken test_get_liquidation_price
2022-02-11 19:38:59 +01:00
Sam Germain
6ae85f9be1
fixed liq-buffer tests
2022-02-11 19:38:59 +01:00
Sam Germain
e5d68f12d2
Added liquidation_buffer to freqtradebot
2022-02-11 19:38:58 +01:00
Matthias
c9cfc246f1
Sort /forcebuy pairs alphabetically, add cancel button
...
closes #6389
2022-02-11 19:37:35 +01:00
Matthias
0c6d92a7a6
Merge branch 'develop' into feat/short
2022-02-11 17:02:04 +01:00
Matthias
7c66f2776d
Merge pull request #6384 from samgermain/compat-contract
...
test_ccxt__get_contract_size
2022-02-10 19:07:04 +01:00
Sam Germain
52fed6e779
test_ccxt__get_contract_size
2022-02-10 06:59:43 -06:00
Matthias
2e41d80a2c
Merge pull request #6340 from TheJoeSchr/frequi-datetime
...
freqUI: fix can't import backtest with missing datetime data
2022-02-09 07:21:30 +01:00
Matthias
9f47853661
Merge pull request #6235 from freqtrade/backtest_order_timeout
...
Backtest order timeout
2022-02-09 07:12:35 +01:00
Matthias
4e2f06fe9c
Simplify band-aid code
2022-02-09 06:48:26 +01:00
Matthias
6191288ff9
Add test for NaT problematic
2022-02-09 06:36:17 +01:00
Matthias
1d10d2c87c
Okex -> okx
2022-02-08 19:45:39 +01:00
Matthias
dcf8ad36f9
Backtesting should not allow unrealistic (automatic-filling) orders.
2022-02-08 19:12:01 +01:00
Matthias
535bbd681f
Merge pull request #6362 from ediziks/add-profit-drawdown-hypeloss
...
Add ProfitDrawdownHyperoptLoss method
2022-02-07 19:37:35 +01:00
Matthias
85767d0d70
Add timedout_*_orders to tests
2022-02-07 19:33:22 +01:00
Sam Germain
33b04b1992
deleted outdated todos
2022-02-07 02:47:18 -06:00
Stefano Ariestasia
92d1f2b945
fix tests
2022-02-07 07:31:35 +00:00
Matthias
fe33b86308
Merge pull request #6360 from stash86/pos_adjust
...
Hide some lines for /status when a trade is closed
2022-02-06 17:08:37 +01:00
Matthias
ee2a7a968b
Add tests for /status on closed trades
2022-02-06 16:26:00 +01:00
Matthias
5eb5029856
Performancefilter - improve sorting
...
Ordering of Pairs without history should remain identical, so pairs with
positive performance move to the front, and negative pairs move to the back.
closes #4893
2022-02-06 16:19:11 +01:00
Matthias
ef086d438c
Update PerformanceFilter test to run with USDT pairs
2022-02-06 16:03:14 +01:00
Matthias
c19f3950da
Add losing trade to usdt_mock_trades
2022-02-06 16:02:18 +01:00
zx
0b01fcf047
Add ProfitDrawdownHyperoptLoss method
2022-02-06 15:40:54 +01:00
Matthias
303b12efd8
Merge pull request #6273 from freqtrade/pg_migrations
...
Update database migrations for PG and mariadb
2022-02-06 14:39:02 +01:00
Matthias
8f2425e49f
Add rudimentary tests for pg-specific stuff
2022-02-06 14:06:46 +01:00
Matthias
412fe65344
Merge pull request #6316 from samgermain/max-amount
...
exchange.get_max_pair_stake_amount
2022-02-06 07:44:29 +01:00
Matthias
22173851d6
Detail tests for custom exit pricing
2022-02-05 16:28:47 +01:00
Matthias
2a59ef7311
Add detail tests for timeout behaviour
2022-02-05 16:28:47 +01:00
Matthias
58fad72778
Update wallets when necessary
...
closes #6321
2022-02-05 16:28:47 +01:00
Matthias
e08006ea25
Adjust tests to use order Object
2022-02-05 16:28:47 +01:00
Matthias
f4149ee462
Force ROI to be within candle
2022-02-05 16:28:21 +01:00
Matthias
6ed237a72a
Merge pull request #6272 from stash86/fix-docs
...
Add more info on Telegram's status message
2022-02-05 16:22:45 +01:00
Sam Germain
ce676a9dd7
wrote ccxt_compat.test_get_max_leverage_spot test_get_max_leverage_futures
2022-02-04 17:55:49 -06:00
Sam Germain
8b57827676
exchange.get_max_pair_stake_amount hard set leverage to 0
2022-02-04 14:26:15 -06:00
Sam Germain
c0a593280e
test_exchange.test_cancel_order_dry_run pass leverage to create_order
2022-02-04 04:54:16 -06:00
Sam Germain
dc6cb445fd
Merge branch 'feat/short' into max-amount
2022-02-04 04:42:38 -06:00
Matthias
6afad6c99f
Small change to todo comment
2022-02-04 07:20:27 +01:00
Sam Germain
3ee2b7978c
wallets.validate_stake_amount added param max_stake_available
2022-02-03 20:33:16 -06:00
Sam Germain
30c476e3c1
freqtradebot.get_valid_enter_price_and_stake gets min of stake_amount and max_stake_amount before calling wallets.validate_stake_amount
2022-02-03 20:33:16 -06:00
Sam Germain
a50f4d2c57
Exchange.createOrder added * as second param
2022-02-03 20:33:16 -06:00
Sam Germain
16c2d54482
updated margin_modes
2022-02-03 20:33:16 -06:00
Sam Germain
7465037906
freqtradebot.execute_entry test for too high stake amount
2022-02-03 20:33:16 -06:00
Sam Germain
c5cfd971f5
get_max_pair_stake_amount_tests
2022-02-03 20:33:16 -06:00
Sam Germain
6b6b35ac1c
check for max stake limit in freqtradebot and backtesting
2022-02-03 20:33:04 -06:00
Sam Germain
55d91f018f
exchange._get_stake_amount_limit (merged min_pair_stake_amount and get_max_tradeable amount)
2022-02-03 20:33:04 -06:00
Sam Germain
ff5fffefb4
exchange.get_max_amount_tradable looks at cost also
2022-02-03 20:33:03 -06:00
Sam Germain
64ad810445
Revert "moved get_max_leverage to get_min_pair_stake_amount"
...
This reverts commit 90e48d5b98bcfb1452aa818a3274745eac395712.
2022-02-03 20:33:03 -06:00
Sam Germain
73319a74d3
moved get_max_leverage to get_min_pair_stake_amount
2022-02-03 20:33:03 -06:00
Sam Germain
f3b42b0ef3
wrote exchange.get_max_amount_tradable
2022-02-03 20:33:03 -06:00
Sam Germain
99b8a8ca79
Revert "plot.generate_candlestick_graph Added short equivelent, separating plotting scatter creation to a function"
...
This reverts commit 0abba7f9b7299ba3c45df6a2ba6e35ad6a19c5a0.
2022-02-03 17:48:34 -06:00
Sam Germain
1f74cfe841
plot.generate_candlestick_graph Added short equivelent, separating plotting scatter creation to a function
2022-02-03 17:48:34 -06:00
Sam Germain
d5376c2c89
wrote freqtradebot.test_leverage_prep
2022-02-03 17:48:33 -06:00
Sam Germain
c47c54c16c
removed strategy_test_v3.populate_sell_trend # TODO-lev: Add short logic, because it looked like the short logic was already there
2022-02-03 17:48:33 -06:00
Sam Germain
f58b92bb86
exchange.create_order removed default for leverage
2022-02-03 17:48:08 -06:00
Matthias
1e6362debf
Add test for new /status telegram message
2022-02-03 19:41:45 +01:00
Matthias
29879bb415
Update wording to entry/exit
2022-02-03 19:11:35 +01:00
Matthias
a733a74dd9
Merge pull request #6294 from xataxxx/health
...
/health api and telegram commands to return last processing time
2022-02-02 19:53:45 +01:00
Matthias
a4e1aaa9bd
Merge pull request #6307 from freqtrade/bt_shift
...
Remove shift in analyzed dataframe columns
2022-02-02 19:52:10 +01:00
Sam Germain
09f0e7149f
test__fetch_and_calculate_funding_fees_datetime_called # TODO-lev: test for longs
2022-02-02 12:42:13 -06:00
Sam Germain
179947fa72
New config ( #6333 )
...
* updated new-config to add trading_mode and margin_mode
* added trading_mode and margin_mode to config examples
* added okex config example
* new file: config_examples/config_binance_futures.example.json
* removed trading_mode and margin_mode from base_config and binance and okex example
* deleted okex and futures config files
* updated full config file
* updated new-config command to add trading_mode and margin_mode to config
* new file: config_examples/config_okex_futures.example.json
* removed config_okex_futures.example.json
* added trading_mode to test_start_new_config
* new-config asks exchange before asking futures
* Simplify trading_mode selection
* margin_mode is empty string for spot new configs
* build_config_commands sorted exchanges
* isort
Co-authored-by: Matthias <xmatthias@outlook.com>
2022-02-02 14:46:44 +01:00
Matthias
0058abcc2d
Fix crash when no min-stake-amount could be determined
2022-02-02 12:20:05 +01:00
Sam Germain
30519aa3be
Changed name Collateral -> MarginMode, collateral -> margin_mode, and _supported_trading_mode_margin_pairs -> _supported_trading_margin_pairs
2022-02-01 13:05:40 -06:00
Matthias
64d0c75bbb
Fix deprecation warnings
2022-02-01 19:11:51 +01:00
Matthias
45e533fc3e
Add leverage/short properties to api responses
2022-02-01 07:08:43 +01:00
Matthias
7dd50f78cf
Small finetuning improving a comment
2022-02-01 06:37:13 +01:00
Sam Germain
fc15e14707
Merge branch 'feat/short' into isolated-liq
2022-01-31 14:22:01 -06:00
Sam Germain
9de63412c1
exchange.get_liquidation_price arguments are not optional
2022-01-31 14:00:52 -06:00
Sam Germain
6c4325b7a2
confest markets removed futures values from ETH/USDT
2022-01-31 13:44:57 -06:00
Matthias
d653d6bfc0
Merge pull request #6332 from samgermain/binance-max-lev
...
Binance max lev
2022-01-31 20:26:57 +01:00
Sam Germain
8b9abd0051
test_get_maintenance_ratio_and_amt_gateio removed commented test that returns None
2022-01-31 13:18:31 -06:00
Matthias
de17993705
Fix random test failure when local config is found
2022-01-31 20:09:25 +01:00
Sam Germain
08e4a4a6dd
binance.get_max_leverage_fix
2022-01-31 12:21:12 -06:00
Sam Germain
43db4c34d1
added okex back to unsupported exchanges
2022-01-31 12:18:30 -06:00
Sam Germain
b8f4cebce7
exchange.liquidation_price methods combined, dry_run check on exchange for liquidation price
2022-01-31 12:18:25 -06:00
Sam Germain
143c37d36f
cleaned up liquidation price methods
2022-01-31 12:17:07 -06:00
Sam Germain
ede9012fcc
removed TODO-levs about okex liquidation price
2022-01-31 12:17:07 -06:00
Sam Germain
e91aaa7d64
removed isolated_liq=
2022-01-31 12:16:43 -06:00
Sam Germain
5cf54bee4d
removed excess decimals in test_binance
2022-01-31 12:16:43 -06:00
Sam Germain
0c13e387fe
moved liquidation_price method to exchange classes
2022-01-31 12:16:43 -06:00
Sam Germain
e4b37c6462
freqtradebot.leverage_prep minor fixes
2022-01-31 12:16:43 -06:00
Sam Germain
1f1ac8ce9d
test_get_liquidation_price/test_get_maintenance_ratio_and_amt_binance/fill_leverage_brackets/test_validate_trading_mode_and_collateral TODO comments
2022-01-31 12:16:43 -06:00
Sam Germain
c2f9201512
Added get_liquidation_price check
2022-01-31 12:16:43 -06:00
Sam Germain
bb2b2211d0
exchange.fill_leverage_brackets/get_maintenance_ratio_and_amt docstring and type specification
2022-01-31 12:16:43 -06:00
Sam Germain
0c8205ab3b
replace single quote docstrings with double quote docstrings
2022-01-31 12:16:43 -06:00
Sam Germain
387a9fbf36
test_execute_entry liquidation_price test test_get_maintenance_ratio_and_amt_gateio
2022-01-31 12:16:38 -06:00
Sam Germain
2d545a2def
fixed breaking tests for liquidation price
2022-01-31 12:15:54 -06:00
Sam Germain
1eee5373b9
gateio.get_maintenance_ratio_and_amt
2022-01-31 12:15:54 -06:00
Sam Germain
69a6223ca0
implemented binance.get_maintenance_ratio_and_amt
2022-01-31 12:15:54 -06:00
Sam Germain
ba5fc21d84
added isolated futures to supported modes for binance,gateio
2022-01-31 12:15:54 -06:00
Sam Germain
ba02605d77
Isolated liq branch passes all tests and has the general structure that it is supposed to, but is patchy, and doesnt get the correct maintenance amt and maintenance margin rate yet
2022-01-31 12:15:54 -06:00
Arunavo Ray
447312d4c8
Fixed parameter check which failed when 0.0 was passed
2022-01-31 12:15:54 -06:00
Arunavo Ray
3709130eb7
Added Tests for Binance Liquidation price, shortened liquidation param names
2022-01-31 12:15:54 -06:00
Sam Germain
fe5e00361e
separated test_leverage into test_interest and test_liquidation_price, and paramaterized tests
2022-01-31 12:15:54 -06:00
Sam Germain
a087d03db9
Added liquidation_price function
2022-01-31 12:15:54 -06:00
Matthias
be866f04fa
Merge pull request #6330 from samgermain/market-checks
...
Removed unnecessary CCXT market checks
2022-01-31 19:01:59 +01:00
Sam Germain
689174ea0d
removed TODO-lev comments
2022-01-31 04:12:37 -06:00
Sam Germain
779b82b5b4
fixed test_get_min_pair_stake_amount by adding amount.min/max and cost.min/max to all markets
2022-01-31 03:02:17 -06:00
Sam Germain
5af3e1600d
updated conftest to have limit keys and contractSize on every market
2022-01-31 03:01:44 -06:00
Matthias
cf7edace2b
Merge pull request #6312 from freqtrade/short_informative_decorator
...
Short informative decorator
2022-01-30 15:33:52 +01:00
Matthias
000b8ff281
Merge pull request #6306 from freqtrade/short_forceentry
...
add `/forcelong` and `/forceshort` commands
2022-01-30 07:36:14 +01:00
Matthias
8a6823deb1
Convert InformativeData to dataclass
2022-01-29 19:59:54 +01:00
Stefano Ariestasia
326ba46bf8
Merge branch 'freqtrade:develop' into fix-docs
2022-01-29 23:20:41 +09:00
Matthias
d1d520769e
Improve status table for position adjust
...
don't show "/max" if no maximum is set
closes #6317
2022-01-29 14:29:09 +01:00
Matthias
463714832d
Merge branch 'develop' into feat/short
2022-01-29 14:19:30 +01:00
Matthias
c620e38c7d
Informative decorator updates for futures
2022-01-28 19:17:46 +01:00
Matthias
fdea4fcb1b
Remove some todo's
2022-01-28 15:52:12 +01:00
Matthias
571ddceaf6
Merge pull request #6310 from Verbalinsurection/perso
...
Fix ETH duplicate in CoinGecko
2022-01-28 12:35:44 +01:00
Verbalinsurection
2ba2144df1
Add tests for ETH fiat_convert
2022-01-28 11:17:16 +01:00
Matthias
15d5389564
Update /health endpoint to be in local timezone
2022-01-28 10:33:35 +01:00
Matthias
138e867a68
Filter tickers on stake-currency for kraken
2022-01-28 07:20:47 +01:00
Matthias
9df7014de3
Skip kraken tests temporarily
2022-01-28 06:59:37 +01:00
Stefano Ariestasia
bd1b991448
Merge branch 'freqtrade:develop' into fix-docs
2022-01-28 06:57:13 +09:00
Matthias
4b9d55dbe2
Add test for backtest dataprovider
...
(should cache the correct candle)
2022-01-27 18:59:23 +01:00
Matthias
108018b30b
Merge pull request #6231 from freqtrade/funding_rate_backtest
...
Funding rate backtest
2022-01-27 17:01:28 +01:00
Matthias
002226f5fd
Update setting to max_entry_position_adjustment
2022-01-27 16:57:50 +01:00
Matthias
c4f71cc103
More forceenter updates
2022-01-27 07:38:11 +01:00
Matthias
6e72effbf0
Update forcebuy telegram tests
2022-01-27 06:31:45 +01:00
Matthias
0a52d79208
Update forcesell to work as forceexit
2022-01-26 20:17:00 +01:00
Matthias
be7ce208dc
Update tests to test forceenter endpoint
2022-01-26 19:24:01 +01:00
Matthias
48d8cd82af
_rpc_forcebuy
2022-01-26 19:11:01 +01:00
Stefano Ariestasia
ed71f777a3
Merge branch 'fix-docs' of https://github.com/stash86/freqtrade into fix-docs
2022-01-26 07:07:00 +00:00
Stefano Ariestasia
1f26709aca
changes
2022-01-26 07:06:52 +00:00
Matthias
88ccfedd32
Improve wording of "no history found" error
2022-01-26 06:53:00 +01:00
Matthias
13978e9893
Merge pull request #6276 from clover-es/feat/short
...
Add support for shorts in strategy.stoploss_from_absolute()
2022-01-25 19:11:05 +01:00
Matthias
325fd8a780
Add test with absolute values
2022-01-25 06:44:20 +01:00
Matthias
f7be93aaa6
leverage limits can be None, so we need to check for that
2022-01-25 06:30:03 +01:00
Stefano Ariestasia
0fa7986369
Merge branch 'freqtrade:develop' into pos_adjust
2022-01-25 10:30:18 +09:00
Stefano Ariestasia
7c975df42a
Merge branch 'freqtrade:develop' into fix-docs
2022-01-25 10:30:03 +09:00
Reigo Reinmets
e72c3ec19f
Commit just to force tests to run again.
2022-01-24 15:27:03 +02:00
Reigo Reinmets
acf6e94591
Fix unittest.
2022-01-24 13:56:52 +02:00
Reigo Reinmets
1d59a6b7e3
Merge branch 'freqtrade:develop' into health
2022-01-24 13:52:53 +02:00
Matthias
381bda1e4a
Update test to add new argument
2022-01-24 07:02:02 +01:00
Reigo Reinmets
bf62fc9b25
Add /health endpoint that returns last_process timestamp, fix issue #6009
2022-01-23 21:58:46 +02:00
Matthias
57067ce88d
Add tests for max_adjustment_buy handling
2022-01-23 19:07:37 +01:00
Matthias
62df044618
Merge pull request #6279 from xataxxx/develop
...
Fix position adjustment not counting older orders because of missing average field value
2022-01-23 17:42:51 +01:00
Matthias
6492e1cd76
Investigate random test failure
2022-01-23 17:42:18 +01:00
Reigo Reinmets
51b94889b2
Just in case also check for closed to avoid counting in canceled orders.
2022-01-23 17:56:41 +02:00
Reigo Reinmets
8c79d55739
Fix issue #6268
2022-01-23 17:44:16 +02:00
Matthias
bf0b95b3d8
Improve backtest tests
2022-01-22 19:46:11 +01:00
Matthias
d3713cf245
Fix fee test
2022-01-22 19:46:11 +01:00
Matthias
a0c0c4dcbe
Update funding_fee formula to correctly calculate fees for long trades
2022-01-22 19:46:10 +01:00
Matthias
82c90c0049
Extract funding and mark mergin to separate method
2022-01-22 19:45:46 +01:00
Matthias
84c6d92d4c
calculate_funding_fees is actually a public exchange interface (used in backtesting).
2022-01-22 19:45:46 +01:00
Matthias
a340d73edc
Update funding_fee calculation test
2022-01-22 19:44:20 +01:00
Matthias
ef3a1ea8f2
Split funding fee calculation from Download
2022-01-22 19:44:20 +01:00
Guillermo Rodríguez
40cd478c6d
Calculate stoploss_from_absolute for shorts
2022-01-22 18:01:02 +01:00
Matthias
f090dcc597
Merge branch 'develop' into feat/short
2022-01-22 17:56:01 +01:00
Matthias
bd4014e1e6
Small cleanup
2022-01-22 15:01:27 +01:00
Matthias
a35b0b519a
Update forcebuy endpoint to support stake-amount
...
closes #6223
2022-01-22 13:26:02 +01:00
Matthias
314a544881
Add Failing test for get_strategy_run_id
...
Fails because max_open_trades is "inf"
emulates behaviour of `max_open_trades=-1` when loading the
configuration)
2022-01-22 08:09:08 +01:00
Stefano Ariestasia
f79decdb9c
Merge branch 'fix-docs' of https://github.com/stash86/freqtrade into fix-docs
2022-01-22 06:54:57 +00:00
Stefano Ariestasia
05046b9eef
Add more info on status message
2022-01-22 06:54:49 +00:00
Matthias
3d94d7df5c
Update migrations for mariadb
2022-01-21 19:31:11 +01:00
Matthias
bb1d8fb54f
Improve message when no hyperopt fie is found
...
closes #6266
2022-01-21 15:24:26 +01:00
Matthias
730d2e3574
Merge pull request #6259 from stash86/fix-docs
...
add "# Buys" column to status table
2022-01-21 07:49:21 +01:00
Matthias
d02acb21c2
Add simple test for #buy header
2022-01-21 07:04:25 +01:00
Italo
a9f14ac119
show buy_tag only if not None
2022-01-20 18:44:09 +00:00
Italo
8ce5536dd8
fix tests
...
added buy_tag to first ADA/USDT trade
2022-01-20 18:37:17 +00:00
Matthias
d549905856
Api-backtest to test new functionality
2022-01-20 07:11:48 +01:00
Rokas Kupstys
5fffc5033a
Rework backtesting --no-cahche to --cache=[none, day, week, month].
...
Fix an issue where config modification during runtime would prevent use of cached results.
2022-01-19 11:44:35 +02:00
Matthias
e04956be0e
Merge pull request #6185 from freqtrade/fix_funding_fee_calc
...
cleanup funding fee tests
2022-01-19 06:57:44 +01:00
Matthias
1fb48a1f53
Add TODO-lev for "stoploss_from_absolute".
2022-01-18 16:52:34 +01:00
Matthias
120639e84b
Merge pull request #6228 from clover-es/feat/short
...
Stoploss from open for shorts
2022-01-18 16:49:58 +01:00
Matthias
ff646441ce
Reduce decimals in test
2022-01-17 19:20:42 +01:00
Matthias
bb738b518c
FIx funding_fee calculation
2022-01-17 19:06:26 +01:00
Matthias
3cdb672ac3
Improve test coverage
2022-01-16 19:11:20 +01:00
Matthias
c02497e4b8
Merge pull request #6172 from rokups/rk/backtest-results-caching
...
Backtest result reuse
2022-01-16 19:09:37 +01:00
Matthias
d08885ed92
Fix empty "/log" endpoint in certain moments
2022-01-16 15:37:00 +01:00
Matthias
5bb48eaed0
Replace Nan with 0 or None in backtesting
...
part of #6224
2022-01-16 14:49:29 +01:00
Matthias
6c4b261469
Convert nan to None in get_signal.
2022-01-16 08:04:39 +01:00
Matthias
39184e1f95
Fix random test-fail around midnight
2022-01-16 00:19:21 +01:00
Matthias
270d7ebbf5
Simplify test strategy
2022-01-15 17:36:42 +01:00
Matthias
9becce9897
Update failing test
2022-01-15 17:30:40 +02:00
Rokas Kupstys
526ed7fa9a
Add test_backtest_start_multi_strat_caching test flexing backtest result caching.
2022-01-15 17:30:40 +02:00
Rokas Kupstys
16861db653
Implement previous backtest result reuse when config and strategy did not change.
2022-01-15 17:30:40 +02:00
Matthias
6684bff963
Dry-run orders should have filled set correctly
2022-01-15 15:25:16 +01:00
Matthias
66a479c26a
Small doc improvements
2022-01-15 15:11:13 +01:00
Guillermo Rodríguez
d28287880c
Add support for shorts in strategy.stoploss_from_open
...
Signed-off-by: Guillermo Rodríguez <guillebep@gmail.com>
2022-01-15 04:30:30 +01:00
Reigo Reinmets
320c9ccf90
Unify functions and make it easy to get a list of filled buy orders
2022-01-14 20:02:35 +02:00
Reigo Reinmets
ffe69535d8
These could be properties.
2022-01-13 20:31:03 +02:00
Reigo Reinmets
0424b44667
Merge branch 'freqtrade:develop' into dca
2022-01-08 17:42:17 +02:00
Reigo Reinmets
c929d428b2
Remove blank line.
2022-01-08 17:21:32 +02:00
Reigo Reinmets
0bca07a32a
Added min_stake, max_stake. Removed pair as its included in trade.
2022-01-08 17:20:02 +02:00
Matthias
cf077b15c2
Fix random test failure
2022-01-08 14:54:39 +01:00
Matthias
dd37e5cfb8
Fix compat-test failures due to wrong currency
2022-01-08 14:46:07 +01:00
Matthias
2fb9e7940a
Improve "missing data" message
2022-01-08 14:39:09 +01:00
Reigo Reinmets
8e424f7c73
Merge branch 'freqtrade:develop' into dca
2022-01-08 14:57:15 +02:00
Matthias
dad080f56f
Merge branch 'develop' into feat/short
2022-01-08 10:45:15 +01:00
Matthias
43f8087f32
Bitvavo does not support USDT stake
2022-01-08 10:44:07 +01:00
Sam Germain
c61acb9f19
removed rename todos
2022-01-08 03:09:47 -06:00
Matthias
827b8d3e4c
Don't use test_datadir as userdata dir
...
use tmpdir
2022-01-07 20:00:20 +01:00
Matthias
522496d9e2
Add Compatibility code for BT_DATA_COLUMNS
2022-01-07 17:17:35 +01:00
Matthias
46809f08fe
Merge branch 'develop' into feat/short
2022-01-07 10:13:16 +01:00
Matthias
7f20f6834b
Merge pull request #6181 from freqtrade/simplify_optimizereports
...
Simplify optimizereports
2022-01-07 09:43:57 +01:00
Matthias
cd144cdfc9
Add bitvavo to compatibility tests
...
#6166
2022-01-07 09:30:50 +01:00
Matthias
e540959c27
Remove btdata from generate_strategy_stats
2022-01-07 09:27:07 +01:00
Matthias
1203d08d1e
generate_pair_metrics does not need processed dict
2022-01-07 09:27:07 +01:00
Matthias
b77943af0d
Merge pull request #6173 from freqtrade/volume_quote_workaround
...
Selectively convert quote to base volume in volumepairlist
2022-01-07 09:07:16 +01:00
Matthias
b3a4ecaf77
Remove old backtest format support
2022-01-06 19:49:25 +01:00
Matthias
28011a3907
Update bt_results filename to new.json
2022-01-06 19:28:04 +01:00
Matthias
72f486289a
Update Volumepairlist test
2022-01-06 19:07:47 +01:00
Matthias
173524ea5b
Merge pull request #6170 from freqtrade/contract_workaround
...
contractSize is a string coming from ccxt
2022-01-06 16:25:19 +01:00
Matthias
431fcdd76f
contractSize is a string comming from ccxt
2022-01-06 13:53:27 +01:00
Matthias
7c3babc86c
Fix failing ftx test
2022-01-06 13:40:12 +01:00
Matthias
72b2d4ab5f
Update FTX to support new standardized futures format
2022-01-06 11:16:26 +01:00
Matthias
c1d981749e
Fix flake8 error
2022-01-06 10:09:41 +01:00
Matthias
4e2b9203d7
Remove no longer used BT_DATA_COLUMNS_MID
2022-01-05 20:40:59 +01:00
Matthias
8958f569aa
Fix random funding_rate test failure
2022-01-05 20:37:26 +01:00
Matthias
2ca90577a6
Update strategy-comparison test
2022-01-05 20:29:40 +01:00
Matthias
2ecaf9f8b4
Update backtest-result test-files to latest format
2022-01-05 20:26:24 +01:00
Sam Germain
501f473164
Merge branch 'develop' into feat/short
2022-01-04 22:47:33 -06:00
Matthias
8373a4e713
Small Adjustments to improve compatibility
2022-01-04 19:17:08 +01:00
Matthias
4d9b4ddc28
Update hyperopt-tools to use account drawdown
2022-01-04 17:43:39 +01:00
Matthias
09fae25c94
Fix some tests after drawdown calculation change
2022-01-04 17:07:31 +01:00
Matthias
937f5e3d0f
No longer use legacy mode for tests
2022-01-04 17:06:40 +01:00
Matthias
7ea5b0e359
Simplify hyperopt test setup
2022-01-04 17:06:40 +01:00
Sam Germain
b2a1124a26
Merge branch 'feat/short' of https://github.com/freqtrade/freqtrade into feat/short
2022-01-04 00:17:42 -06:00
Matthias
e57c2d64a5
Merge pull request #5888 from samgermain/contract-sizes
...
Convert contract size to underlying asset size
2022-01-03 21:55:19 +01:00
Matthias
293ffeae67
Fix random test failure in funding test
2022-01-03 20:18:43 +01:00
Sam Germain
707a6507b5
removed redundant todos
2022-01-02 21:46:06 -06:00
Matthias
fac6956eeb
Fix test failure after merge
2022-01-02 22:25:40 +01:00
Matthias
711a6a6dbc
Merge branch 'develop' into pr/xataxxx/6079
2022-01-02 22:21:41 +01:00
Matthias
2116b0729f
Integration-test for DCA order
2022-01-02 20:20:56 +01:00
Matthias
35fe7239ed
Also test mixed version (both long and short trades)
2022-01-02 13:17:49 +01:00
Matthias
7f88f9bf27
Revert unintended double-call of amount conversion
2022-01-02 13:11:29 +01:00
Sam Germain
67a5739501
fixed test_get_trades_for_order for contracts
2022-01-01 15:39:16 -06:00
Sam Germain
33ab3c1bea
Removed some todo-lev comments
2022-01-01 14:10:24 -06:00
Sam Germain
3d4a5eab81
fixed flake8 error
2022-01-01 13:52:06 -06:00
Sam Germain
48567a1301
fixe broken test_get_min_pair_stake_amount
2022-01-01 13:52:06 -06:00
Sam Germain
230dd15ee7
fixed test_amount_to_precision
2022-01-01 13:52:06 -06:00
Sam Germain
f92d47a16b
exchange._contracts_to_amount and exchange._amount_to_contracts safe checks
2022-01-01 13:52:06 -06:00
Sam Germain
6ab0e870c2
fixed breaking test test_amount_to_precision
2022-01-01 13:52:06 -06:00
Sam Germain
d105bb764a
test__get_contract_size creates its own markets instead of using the markets from conftest
2022-01-01 13:52:06 -06:00
Sam Germain
a85566d6c3
test_exchange.test_create_order removed # assert api_mock.create_order.call_args[0][3] == 100
2022-01-01 13:52:06 -06:00
Matthias
8da596f66d
Implement PR feedback
2022-01-01 13:52:01 -06:00
Sam Germain
78d1a267f0
contract-sizes tests
2022-01-01 13:50:50 -06:00
Sam Germain
d0a300a2e1
Added TODOs
2022-01-01 13:50:49 -06:00
Sam Germain
4f6203e45f
Added conversions from contract size to amount for objects returned from api
2022-01-01 13:50:43 -06:00
Sam Germain
ee63f12236
Revert "Removed leverage param from get_min_pair_stake_amount"
...
This reverts commit 096588550ca1de5e5edf63cf7214af037d7bc93b.
2022-01-01 13:49:09 -06:00
Sam Germain
ef6ad0e6d7
Removed leverage param from get_min_pair_stake_amount
2022-01-01 13:49:09 -06:00
Matthias
ddfbe55e7c
Merge branch 'develop' into feat/short
2022-01-01 19:16:49 +01:00
Matthias
08ba5b0451
Update docs to include underwaterplot
2022-01-01 16:55:08 +01:00
Matthias
fb06a673e0
Add Underwater plot
2022-01-01 14:40:20 +01:00
Matthias
78ba2d3fc7
Add underwaterplot calculation to btanalysis
2022-01-01 14:39:58 +01:00
Matthias
a2d97eecfe
Add trade parallelism plot
...
closes #6142
2022-01-01 14:11:51 +01:00
Matthias
9becd20f20
Improve "Missing data" messages
2022-01-01 10:37:58 +01:00
Matthias
713b884d9b
Fix failing monthly test
2022-01-01 10:37:43 +01:00
Sam Germain
9a220f6cfe
removed a few todos
2021-12-31 07:30:01 -06:00
Sam Germain
08b738a5d9
removed outdated todo in kraken
2021-12-31 06:26:13 -06:00
Sam Germain
250edae193
test__async_get_historic_ohlcv parametrized candle_type
2021-12-31 06:00:56 -06:00
Rokas Kupstys
a715083fc0
Reduce memory usage by not holding on to no longer needed data.
2021-12-31 12:10:01 +02:00
Matthias
b1b2eebd11
Change sequence of ROI/sell signal to favor sell-signal
2021-12-30 20:00:58 +01:00
Matthias
b63491fb9c
Update ROI_if_buy_signal tests to not use sell signal
2021-12-30 19:51:49 +01:00
Matthias
4b79d435ad
Merge pull request #6084 from aezomz/lev-telegram
...
Telegram and Webhook updates
2021-12-30 19:17:58 +01:00
Matthias
3c4eda14b1
Remove unused test parameter
2021-12-30 17:34:45 +01:00
Matthias
2395988bf8
Leverage defaults to 1.0, which should not be shown.
2021-12-30 17:32:36 +01:00
Matthias
45ac3b3562
Change formatting slightly
2021-12-30 17:18:46 +01:00
Matthias
bd98637ae9
Fail gracefully from plot-profit when no data is provided
...
closes #6132
2021-12-30 10:14:45 +01:00
Matthias
73276f1351
Remove default argument from "download trades" test
2021-12-29 17:36:47 +01:00
Matthias
77afb7b5e2
Merge pull request #6114 from cdimauro/reduce_kucoin_logs
...
Reduce kucoin logs
2021-12-29 17:33:21 +01:00
Aezo Teo
ee7cbcd69f
fixed flake8 and mypy errors
2021-12-29 21:48:50 +08:00
Aezo Teo
1f773671ed
updated tests and telegram
2021-12-29 21:24:12 +08:00
Wade Dyck
ac06da40e4
Explicitly set the trading-mode to spot for the --dl-trades download test.
2021-12-28 11:43:42 -07:00
Wade Dyck
5bb2d3baea
Revert "Remove the guards against downloading data in futures mode."
...
This reverts commit 82cdfba494
.
2021-12-28 11:35:17 -07:00
Matthias
24807515c1
Fix random test failure
2021-12-28 09:04:14 +01:00
Wade Dyck
82cdfba494
Remove the guards against downloading data in futures mode.
2021-12-27 12:48:42 -07:00
Wade Dyck
a5742b3bbc
Fixes a failing test_history due to changed log message.
2021-12-27 11:26:49 -07:00
Matthias
bb65621134
Simplify test, simplify "log_*" selection
2021-12-27 17:14:59 +01:00
Matthias
54858a0bbb
Simplify test to only initialize and mock once.
2021-12-27 16:39:47 +01:00
Matthias
314e10596b
Remove checking against logger_name in num_log_has
2021-12-27 16:39:31 +01:00
cdimauro
f77b8cbb7a
Reduce KuCoin logs only for 429000 error
...
Only KuCoin messages for 429000 error code are logged once.
Logs functions are also simplified and optimized.
test_remove_logs_for_pairs_already_in_blacklist is simplified as well.
2021-12-26 21:09:25 +01:00
Matthias
d3f3c49b13
Fix minor "gotchas"
2021-12-26 15:29:10 +01:00
cdimauro
6509c38717
Introduce new test functions to check logs
...
New functions log_contains, num_log_contains, num_log_has and num_log_has_re
are introduced in the conftest module to help and simplify checking:
- if logs contain a string;
- count how many messages contain a string;
- count how many messages are the given string;
- count how many messages matchs a regex.
A couple of existing tests are changed using the new functions.
2021-12-26 09:49:14 +01:00
cdimauro
fbaf46901e
Reduce more KuCoin logs on retrier decorator
...
More logs are reduced, for KuCoin, on the retrier_async decorator:
_async_get_candle_history() returned exception
retrying _async_get_candle_history() still for
Giving up retrying: _async_get_candle_history()
Applying DDosProtection backoff delay
2021-12-26 09:06:26 +01:00
cdimauro
96fbf63d0b
Reduce KuCoin logs on DDosProtection error messages
...
KuCoin APIs generate A LOT of error messages.
Consequently, logs are flooded with lines like:
2021-12-25 22:30:23 freqtrade.exchange.common: WARNING -
_async_get_candle_history() returned exception:
"kucoin GET https://openapi-v2.kucoin.com/api/v1/market/candles ?
symbol=PDEX-USDT&type=5min&startAt=1640317818&endAt=1640467818
429 Too Many Requests {"code":"429000","msg":"Too Many Requests"}"
2021-12-25 22:30:23 freqtrade.exchange.common: WARNING -
retrying _async_get_candle_history() still for 3 times
2021-12-25 22:30:23 freqtrade.exchange.common: WARNING -
Kucoin 429 error, avoid triggering DDosProtection backoff delay.
2 tries left before giving up
2021-12-25 22:30:24 freqtrade.exchange.common: WARNING -
_async_get_candle_history() returned exception:
"kucoin GET https://openapi-v2.kucoin.com/api/v1/market/candles ?
symbol=UBX-USDT&type=5min&startAt=1640317821&endAt=1640467821
429 Too Many Requests {"code":"429000","msg":"Too Many Requests"}"
Messages like:
Kucoin 429 error, avoid triggering DDosProtection backoff delay.
are logged only once for a certain period of time (default is 3600 seconds).
2021-12-25 22:32:22 +01:00
Reigo Reinmets
aa54592ec7
Merge branch 'freqtrade:develop' into dca
2021-12-25 21:06:26 +02:00
Matthias
2917cc1f2e
Bitpanda's "fetch_my_trades" requires "to" argument
...
closes #4938
2021-12-25 14:28:22 +01:00
Matthias
6fdad8c6bd
Prevent exception, ensure deletion occurs
2021-12-25 14:03:44 +01:00
Matthias
356b2d3d91
Reestablish backward compatibility
2021-12-25 13:47:28 +01:00
Matthias
b1feb69ca9
Use Pathlib to delete testfile
2021-12-25 10:30:59 +01:00
Reigo Reinmets
ea79eb55e9
Remove this test change from DCA branch.
2021-12-25 10:43:25 +02:00
Reigo Reinmets
d11a8928d4
Fix test not running when user_data contains historical data.
2021-12-25 10:39:27 +02:00
Reigo Reinmets
ad247b2f07
Merge branch 'freqtrade:develop' into dca
2021-12-24 12:39:09 +02:00
Reigo Reinmets
de79d25caf
Refactoring to use strategy based configuration
2021-12-24 12:38:43 +02:00
Matthias
61dbb6206f
Slightly reduce verbosity when reload_conf is issued
...
part of #6095
2021-12-23 20:33:13 +01:00
Reigo Reinmets
0c4664e8f4
Lock file is not always left behind so handle it.
2021-12-23 17:39:43 +02:00
Reigo Reinmets
bc60139ae3
I really should make this flake8 / isort check automatic before commit.
2021-12-23 16:40:47 +02:00
Reigo Reinmets
8393c99b62
Whoops, missing a line.
2021-12-23 16:25:27 +02:00
Reigo Reinmets
8bf1001b33
Fix test failing when user_data already contains data...
2021-12-23 12:41:37 +02:00
Reigo Reinmets
da2e07b7fe
Unittest base_stake_amount_ratio
2021-12-22 02:42:44 +02:00
Reigo Reinmets
76e7bf6cd2
Merge branch 'freqtrade:develop' into dca
2021-12-22 02:24:21 +02:00
Reigo Reinmets
fa01cbf546
iSort
2021-12-21 22:23:01 +02:00
Matthias
f88b6af26f
Merge pull request #6070 from cdimauro/suppress_logs
...
Suppress additional logs for pairs in blacklist
2021-12-21 21:07:15 +01:00
Matthias
e5aaef6440
Fix CI failure
2021-12-21 19:20:09 +01:00
Reigo Reinmets
f6d36ce56b
Fix the dca order not being counted bug.
2021-12-20 22:07:42 +02:00
Matthias
a557451eee
Okex uses 4h mark candle timeframe
2021-12-19 16:47:44 +01:00
Reigo Reinmets
f28d95ffb5
Add test for position adjust
2021-12-19 12:27:17 +02:00
Matthias
ddce28c12d
Update data downloading to include funding_fee downloads
2021-12-18 15:32:02 +01:00
Reigo Reinmets
db2f0660fa
Some more compatibility fixes.
2021-12-18 11:15:59 +02:00
Reigo Reinmets
30673f84f9
Flake8 compatibility
2021-12-18 11:00:25 +02:00
Reigo Reinmets
cea023399e
Merge branch 'freqtrade:develop' into dca
2021-12-17 21:59:58 +02:00
Reigo Reinmets
462270bc5a
Fix a case where the amount was not recalculated. Added additional temporary logging.
2021-12-16 22:57:56 +02:00
Matthias
ea38b58081
Add base_currency to allowed webhook fields
...
closes #6075
2021-12-16 20:18:01 +01:00
Reigo Reinmets
337af44901
Merge branch 'freqtrade:develop' into dca
2021-12-16 20:02:14 +02:00
Matthias
b2fc3e814e
Merge pull request #6055 from freqtrade/blacklist_delete
...
Add Blacklist delete
2021-12-16 13:41:18 +01:00
Matthias
39f0a17e62
Fix formatting
2021-12-16 07:11:35 +01:00
Reigo Reinmets
7200659b35
Merge branch 'freqtrade:develop' into dca
2021-12-15 23:17:44 +02:00
Matthias
f9aa36f291
Don't hard-fail when executing emergency sell fails
...
closes #6068
2021-12-15 19:37:35 +01:00
Matthias
b80b5ed1ad
Improve uri_logging test
...
part of #6069
2021-12-15 19:25:30 +01:00
cdimauro
9d8646072c
Add test case for checking removal of logs for pains in blacklist
2021-12-14 06:23:40 +01:00
Reigo Reinmets
1017b68af9
Fix some unit-tests. Use common trade entry code.
2021-12-13 02:27:09 +02:00
Reigo Reinmets
98255c18cf
Merge branch 'freqtrade:develop' into dca
2021-12-13 02:10:13 +02:00
Matthias
3398469e55
Update PerformanceFilter to have min_profit as ratio again.
...
closes #6056
2021-12-12 13:21:36 +01:00
Reigo Reinmets
8dacd987b9
Merge branch 'freqtrade:develop' into dca
2021-12-12 08:31:38 +02:00
Matthias
8fdef2900e
Increment API version to let clients know this is now available
2021-12-11 19:41:30 +01:00
Matthias
8da79d0ab2
Add blacklist-control to telegram
2021-12-11 16:12:24 +01:00
Matthias
cc96db76f0
Add possibility to delete pairs from the pairlist via api
2021-12-11 15:53:44 +01:00
Matthias
e729fad99c
Add unknown_fee_rate parameter
2021-12-11 15:26:08 +01:00
Matthias
17bd990053
Update funding_fee freqtradebot test
2021-12-11 09:49:48 +01:00
Reigo Reinmets
f97662e816
Add position_adjustment_enable config keyword to enable it.
2021-12-11 00:28:12 +02:00
Matthias
6948414e47
Remove no longer necessary method _get_mark_price_history
2021-12-10 19:54:49 +01:00
Matthias
a87d2d62bb
Remove no longer needed method get_funding_rate_history
2021-12-10 19:52:02 +01:00
Matthias
aabca85a5f
Update _calculate_funding_fees
to reuse existing async infrastructure
2021-12-10 19:50:58 +01:00
Matthias
35f9549e98
Expose drop_incomplete from refresh_latest_ohlcv
2021-12-10 07:36:25 +01:00
Matthias
3f266e8c8c
Improve ccxt_mark_price_test
2021-12-10 06:46:35 +01:00
Reigo Reinmets
b2c2852f86
Initial backtesting support. This does make it rather slow.
2021-12-09 23:21:35 +02:00
Reigo Reinmets
00366c5c88
Additional unit-tests
2021-12-09 20:03:41 +02:00
Reigo Reinmets
28d0b5165a
Add unit-test
2021-12-09 19:47:24 +02:00
Matthias
edd80c3006
Merge branch 'develop' into feat/short
2021-12-09 06:34:07 +01:00
Matthias
0c28d15dc1
Merge pull request #5780 from samgermain/mark-price-candles
...
Mark price candles
2021-12-09 06:24:54 +01:00
Matthias
be6b1f6f83
Import from enums, not submodules
2021-12-09 06:18:21 +01:00
Matthias
2679744228
Explicit test for candletype get_default
2021-12-08 16:20:26 +01:00
Matthias
25e1142f89
Update Enum imports
2021-12-08 15:59:20 +01:00
Matthias
9b9d61c6d6
Remove SPOT_ candletype
2021-12-08 14:38:09 +01:00
Matthias
d89cbda7b8
Use candle_type_def
where possible
2021-12-08 14:15:54 +01:00
Matthias
dda7283f3e
Remove unnecessary default parameters
2021-12-08 11:32:58 +01:00
Matthias
b4d27973b1
Update ohlcv_get_pairs test
2021-12-07 19:57:18 +01:00
Matthias
37b013c157
Update hdf5 test
2021-12-07 19:50:16 +01:00
Matthias
a870e0962a
Fix some obtruse (test)bugs
2021-12-07 07:25:00 +01:00
Matthias
ba1091b9e4
Improve dataprovider test
2021-12-07 07:11:36 +01:00
Matthias
cff950d783
Update test_convert_ohlcv_format to test as before
...
it did test conversion of multiple files, and that should be kept this
way.
2021-12-07 07:06:28 +01:00
Matthias
5a3b907132
Update converter tests
2021-12-07 06:59:27 +01:00
Matthias
a58c2c4f6c
Update ccxt_compat tests to also test funding_rate
2021-12-07 06:31:39 +01:00
Matthias
9d79501c13
Add candletypes argument for convert-data
2021-12-05 10:26:00 +01:00
Matthias
a7eb9f8a58
Fix random test failure
2021-12-05 09:41:24 +01:00
Matthias
1a08613498
Fix parameter sequence in mock
2021-12-04 15:13:06 +01:00
Matthias
d0467b30ba
Add strategy_version to API response
2021-12-04 14:49:45 +01:00
Matthias
848a2d5383
Merge branch 'develop' into pr/dvdmchl/5929
2021-12-04 14:40:15 +01:00
Matthias
2080bf0952
Fix some formatting errors, add test for strategy version
2021-12-04 14:40:05 +01:00
Matthias
5b779fd68b
Update missing candle_type params
2021-12-03 16:44:05 +01:00
Matthias
e75f31ee86
Create correct Type for PairWithTimeFrame
2021-12-03 15:20:18 +01:00
Matthias
9421e6e61c
Improve some tests
2021-12-03 14:57:09 +01:00
Matthias
d30aaaeaaa
Tests should also use CandleType
2021-12-03 14:27:04 +01:00
Matthias
5493212672
More candletype changes
2021-12-03 13:04:31 +01:00
Matthias
f33643cacf
Add candletype from string
2021-12-03 12:46:18 +01:00
Matthias
f9cf59bb4d
Candle_type to enum
2021-12-03 12:32:12 +01:00
Matthias
e0e4369c8e
list-available-pairs should be tradingmode dependent
2021-12-03 08:09:32 +01:00
Matthias
b578e31255
Align tests to have futures data in futures/ directory
2021-12-03 07:20:43 +01:00
Matthias
fae7167bf3
Merge branch 'feat/short' into pr/samgermain/5780
2021-12-02 20:25:30 +01:00
Matthias
fb1599d21b
Merge branch 'develop' into feat/short
2021-12-02 20:20:35 +01:00
Matthias
d3ad4fb52e
Don't crash dry-run if orderbook side is empty
...
closes #6018
2021-12-02 19:17:47 +01:00
Matthias
22cda87211
Update some tests after merge
2021-12-02 19:05:06 +01:00
Matthias
f4d0abc51a
Merge branch 'feat/short' into pr/samgermain/5780
2021-12-02 07:09:37 +01:00
Matthias
f71b7a4e76
Merge branch 'develop' into feat/short
2021-12-02 06:53:15 +01:00
Matthias
5ce1eeecf5
Reorder messages to be sent in correct order
...
buy first, then buy fill,
sell first, then sell fill.
2021-12-01 19:57:24 +01:00
Matthias
77443d5abc
Merge pull request #6011 from freqtrade/lev/backtesting
...
correctly apply leverage to backtesting
2021-12-01 19:49:40 +01:00
Matthias
67f3570bf3
Merge branch 'develop' into feat/short
2021-12-01 07:21:36 +01:00
Matthias
8b2fbb6432
Add leveraged backtest detail test
2021-11-30 20:42:18 +01:00
Matthias
231b1e2f57
Improve Async error message content
2021-11-30 07:10:12 +01:00
Matthias
de7e1e6bf7
Merge pull request #5980 from incrementby1/ShuffleFilterDetectLiveMode
...
Shuffle filter use seed only in backtesting mode
2021-11-30 06:37:35 +01:00
Matthias
dfb148f8d7
Fix formatting
2021-11-29 19:54:54 +01:00
Matthias
134b129d9d
get_analyzed_df does not need a "candle_type" argument
2021-11-28 19:14:58 +01:00
Matthias
c20157e64f
Add compatibility code for existing informative_pairs implementation
2021-11-28 15:43:04 +01:00
Matthias
0d6c933935
Improve and fix pair detection from available data
2021-11-28 15:25:57 +01:00
Matthias
0d1324718c
Don't replace "-" when writing pair files
2021-11-28 15:08:02 +01:00
Matthias
7faa7539b4
Further enhance pair retrieval
2021-11-28 15:03:55 +01:00
Matthias
8d70672bee
Enhance Regex to work for mark candles
2021-11-28 14:37:54 +01:00
Matthias
c096c7f5cb
Add explicit tests for ohlcv regex
2021-11-28 14:34:46 +01:00
Spat
fb6ae174b9
Added raw config and retry config to webhook
2021-11-28 11:42:57 +11:00
Matthias
2b3e7eeb21
Use Enum values within bot code
2021-11-27 19:41:36 +01:00
Matthias
409a801763
Fix caching problem in refresh_ohlcv
...
closes #5978
2021-11-27 19:31:39 +01:00
Matthias
cb95b362ec
Merge pull request #5976 from freqtrade/forcebuy
...
allow force options with ordertype
2021-11-27 17:01:18 +01:00
Matthias
504efbd6d4
Add futures argument to download-data command
2021-11-27 16:36:59 +01:00
Matthias
a629777890
Improve test coverage in telegram module
2021-11-27 09:53:05 +01:00
Sam Germain
0183e313ac
Merge branch 'mark-price-candles' of https://github.com/samgermain/freqtrade into mark-price-candles
2021-11-27 02:44:14 -06:00
Sam Germain
0d30b32fdd
Formatting changes
2021-11-27 02:44:06 -06:00
Matthias
450293878f
Merge pull request #5964 from stash86/fix-docs
...
Add more words on VolumePairlist backtest error message
2021-11-26 07:48:24 +01:00
Matthias
897788de17
Reformulate exception to be "nicer"
2021-11-26 07:02:50 +01:00
Matthias
cc9ea1d466
Merge pull request #5935 from freqtrade/short_buy_tag_compat
...
Short buy tag compat
2021-11-26 06:29:56 +01:00
Stefano Ariestasia
5307d2bf3b
Trimming the sentence
2021-11-25 17:04:04 +09:00
Stefano Ariestasia
c23d90e2b8
Update test_backtesting.py
2021-11-25 16:56:56 +09:00
Stefano Ariestasia
0c629fc951
Update test_backtesting.py
2021-11-25 16:03:29 +09:00
Matthias
338fe333a9
Allow forcebuy to specify order_type
2021-11-24 20:20:58 +01:00
Matthias
65906d330f
Improve tests for pair_to_filename
2021-11-23 20:07:54 +01:00
Matthias
e8feac3674
Improve tests for pair_to_filename
2021-11-23 20:02:07 +01:00
Matthias
51e54a666c
Merge branch 'feat/short' into pr/samgermain/5780
2021-11-23 19:01:07 +01:00
Matthias
db16098981
Fix Tests
2021-11-23 17:43:37 +01:00
Sam Germain
586ca3b2fa
removed is_market_future from binance and ftx
2021-11-23 11:09:31 +01:00
Matthias
ce0593c0e1
Merge branch 'develop' into feat/short
2021-11-23 07:35:26 +01:00
Matthias
b8cefd687e
Add api_version to botresponse
2021-11-23 07:08:55 +01:00
Rokas Kupstys
78a00f2518
Use market data to get base and quote currencies in @informative() decorator.
2021-11-22 09:27:45 +02:00
Matthias
64e34f382e
Sell-fill should include open-rate
2021-11-22 07:13:22 +01:00
Sam Germain
920151934a
Added candle_type to a lot of methods, wrote some tests
2021-11-21 17:48:14 -06:00
Sam Germain
64a6abc541
Added candle type to ohlcv_get_available_data
2021-11-21 17:48:14 -06:00
Sam Germain
c3b2929e75
Added template for test test_hdf5datahandler_ohlcv_load_and_resave
2021-11-21 17:48:14 -06:00
Sam Germain
843ca22a56
mark price test ohlcv_get_pairs
2021-11-21 17:48:14 -06:00
Sam Germain
91a11d01e9
Added XRP_USDT-1h-mark json testdat file, and test for ohlcv_load with candle_type=mark
2021-11-21 17:48:14 -06:00
Sam Germain
043ed3e330
Added candle_type tests for test_json_pair_data_filename
2021-11-21 17:48:14 -06:00
Sam Germain
ee2ad8ca97
updated historic data filenames to include the candle type
2021-11-21 17:48:14 -06:00
Sam Germain
c8162479d6
Added price as param to fetch_ohlcv
2021-11-21 17:48:14 -06:00
Matthias
c26c0b6822
Merge branch 'feat/short' into short_buy_tag_compat
2021-11-21 19:31:59 +01:00
Matthias
aad37bb8f3
Merge pull request #5924 from freqtrade/feat/leverage
...
call leverage methods
2021-11-21 19:30:27 +01:00
Matthias
983484accd
Remove fluky test (seconds still tick with time_machine)
2021-11-21 10:36:39 +01:00
Matthias
2a84526f04
Remove more buy_tag references
2021-11-21 10:05:56 +01:00
Matthias
36deced00b
Remove more buy_tag references
2021-11-21 09:55:10 +01:00
Matthias
7d77aff289
Add some compatibility around buy_tag
2021-11-21 09:24:20 +01:00
Matthias
7a8978abbb
Make ohlcv data endpoint work correctly with new interface
2021-11-20 20:09:37 +01:00
Matthias
988f4d5190
Test leverage call in freqtradebot
2021-11-19 19:34:59 +01:00
Matthias
0a50017c84
Add long/short support to backtesting
2021-11-18 20:34:59 +01:00
Matthias
f40221dd9f
Merge branch 'develop' into feat/short
2021-11-18 20:20:01 +01:00
Matthias
4f0a73010a
Merge pull request #5890 from aezomz/todo-rpc
...
Todo-lev RPC tests and model
2021-11-17 06:58:07 +01:00
aezo.teo
1ba2e275b8
updated test param format
2021-11-16 14:29:40 +08:00
Matthias
ce3c5b32f9
Fix test leakage in ccxt_compat
2021-11-16 07:04:56 +01:00
aezo.teo
c17c1611bd
removed short_trades, updated schema, tests
2021-11-16 14:03:33 +08:00
Matthias
75eccea88d
Improve futures detection, add ccxt-compat test
2021-11-15 19:57:36 +01:00
Matthias
4e9b83e170
Merge branch 'feat/short' into futures_pairlist
2021-11-15 19:12:36 +01:00
Matthias
60cf52aa34
Remove unused test code
2021-11-15 07:10:58 +01:00
Sam Germain
ff6b1f4421
Small changes
2021-11-14 21:01:08 -06:00
Sam Germain
f101419a47
Merge branch 'feat/short' into todo-rpc
2021-11-14 20:48:55 -06:00
Matthias
e7499b7c44
Improve leggibility of test
2021-11-14 19:53:08 +01:00
Matthias
9102590365
Improve tests by also having a "Mixed" case
2021-11-14 19:22:12 +01:00
aezo.teo
a08572e907
Merge remote-tracking branch 'upstream/feat/short' into todo-rpc
2021-11-14 21:21:59 +08:00
aezo.teo
22f7c0fdc6
updated test cases
2021-11-14 21:04:24 +08:00
Matthias
b3afca2a9d
Improve ccxt_compat test for funding rate
2021-11-14 13:37:09 +01:00
aezo.teo
92997c85f9
adding sides for rate and 1 more test case
2021-11-14 17:37:31 +08:00
Matthias
4d1d8de9b7
Split /stats messages
...
closes #5869
2021-11-14 10:20:04 +01:00
Sam Germain
e7fad04eb9
Merge branch 'feat/short' into funding-fee-dry-run
2021-11-14 03:15:22 -06:00
Matthias
1dc98cc4d5
Break line
2021-11-14 10:12:19 +01:00
aezo.teo
8df334515f
added logic for is_short and tests
2021-11-14 16:52:38 +08:00
Matthias
8cfc531b32
Merge pull request #5887 from samgermain/common-ccxt-config
...
Common ccxt config
2021-11-14 09:52:06 +01:00
Matthias
5b9cbaf277
Use Close value for trade signal calculation
2021-11-14 09:50:04 +01:00
Matthias
38362e0ec5
Update test names
2021-11-14 09:02:25 +01:00
Sam Germain
86e5b480a8
test_strategy_test_v2 for shorts
2021-11-13 19:56:29 -06:00
Sam Germain
430aa0903f
Removed redundent TODO-levs
2021-11-13 19:45:41 -06:00
Sam Germain
77f8f8658c
test_rpc_telegram short test
2021-11-13 19:36:49 -06:00
Sam Germain
ca9805112d
test_get_trades_proxy and test_select_order for shorts passes
2021-11-13 19:28:58 -06:00
Sam Germain
01ad65de68
test_rpc_apiserver.py
2021-11-13 19:22:43 -06:00
Sam Germain
3ce64dd4e9
Added test__ccxt_config for all exchanges with subclass files on freqtrade
2021-11-13 16:32:43 -06:00
Sam Germain
099bf7691e
Updated bibox to combine parent _ccxt_config and minimized _ccxt_config tests
2021-11-13 16:23:59 -06:00
Sam Germain
3d86b18492
Added property _ft_has_default.ccxt_futures_name and removed subclass ccxt_config properties
2021-11-13 16:23:58 -06:00
ethan
a177e58dc4
Remove "currency" generating from splitting pair str
2021-11-13 08:49:02 -05:00
Sam Germain
3c509a1f9b
New method for combining all funding fees within a time period
2021-11-13 04:45:23 -06:00
ethan
32e3376296
Update buy/sell fill telegram notifications
2021-11-12 21:49:07 -05:00
Matthias
6b40792f80
Merge branch 'feat/short' into funding-fee-dry-run
2021-11-12 08:06:29 +01:00
Matthias
8d4163d003
Add compat tests
2021-11-12 07:26:59 +01:00
Matthias
68083b7fdd
Fix sqlinsert failure in test
2021-11-11 20:07:56 +01:00
Matthias
4d1ce51207
Merge pull request #5879 from freqtrade/improve_pct_formatting
...
Improve pct formatting
2021-11-11 19:30:55 +01:00
Matthias
39bb34cdb3
Fix test loading bug
2021-11-11 16:34:40 +01:00
Matthias
e0fd880c11
Improve some more pct formattings
2021-11-11 16:12:23 +01:00
Matthias
4eb9038358
Some more fixes to % formatting
2021-11-11 15:06:16 +01:00
Matthias
1b271d0840
Improve % outputs to not use explicit "pct" entries
2021-11-11 12:58:38 +01:00
Matthias
ce2aa1dc69
Small formatting upgrades
2021-11-11 12:06:18 +01:00
Matthias
f8d30abd79
Handle order returns that contain trades directly
...
binance market orders - and potentially other exchanges
2021-11-10 19:43:36 +01:00
Matthias
f7b2c0c5d7
Remove unneeded assignment from tests
2021-11-10 19:16:37 +01:00
Matthias
e7d1630c92
Add space
2021-11-10 16:51:31 +01:00
Sam Germain
43174760ef
Added exit trade funding_fees check but test fails because of sql integrity error test_update_funding_fees
2021-11-10 01:19:51 -06:00
Sam Germain
b87f8e7034
Removed unnecessary todo comments
2021-11-10 00:59:53 -06:00
Matthias
d3d17f9f8b
Only allow min-stake adjustments of up to 30%
...
fix #5856
2021-11-10 06:57:22 +01:00
Matthias
23a566b478
validate_stake_amount should not be a private method
2021-11-10 06:38:24 +01:00
Matthias
6267678ca9
Use doublequotes for docstrings
2021-11-09 10:40:01 +00:00
Sam Germain
6c8501dadc
Removed docstring indents
2021-11-09 01:00:57 -06:00
Matthias
2bfec7d549
Add small test-case confirming trade object copy
2021-11-08 20:14:32 +01:00
Sam Germain
7122cb2fe9
updated test_get_funding_fees to test for funding fees at beginning of trade also
2021-11-08 01:58:23 -06:00
Sam Germain
bea37e5ea3
moved dry run check for funding fees to exchange
2021-11-08 01:58:09 -06:00
Matthias
de4bc7204d
Update documentation to clarify new behaviour
2021-11-07 15:36:43 +01:00
Matthias
a08dd17bc1
Use startup_candle-count to determine call count
2021-11-07 13:10:40 +01:00
Matthias
9fa64c2647
Allow multiple calls to get more candles in live-run
2021-11-07 11:31:59 +01:00
Matthias
11b77cf94c
Update test to new list-pairs format
2021-11-07 10:43:00 +01:00
Matthias
bfe3760f68
Add tests for margin mode
2021-11-07 10:43:00 +01:00
Matthias
0dd9a277d3
improve market_is_tradable tests
2021-11-07 10:43:00 +01:00
Matthias
534b0a5911
Some tests for new market checking
2021-11-07 10:43:00 +01:00
Matthias
8990097d6f
Enrich markets mock with "type" and "spot" info
2021-11-07 10:43:00 +01:00
Sam Germain
252e45ebf2
Merge branch 'feat/short' into funding-fee-dry-run
2021-11-06 22:46:00 -06:00
Sam Germain
8bfcf4ee09
Fixed breaking exchange tests from _get_funding_fee_dates, and commented out kraken get_funding_fees tests
2021-11-06 22:05:38 -06:00
Sam Germain
b88482b2e9
Fixed millisecond timestamp issue errors with funding fees
2021-11-06 21:45:35 -06:00
Sam Germain
48b34c8fd0
Fixed issues with funding-fee being miscalculated on trade objects in freqtradebot
2021-11-06 21:03:18 -06:00
Sam Germain
f795288d90
Fixed timestamp/datetime issues for mark price, funding rate and _get_funding_fee_dates
2021-11-06 20:48:03 -06:00
Sam Germain
6e912c1053
Updated _get_funding_fee method names, added kraken._get_funding_fee
2021-11-06 17:39:21 -06:00
Matthias
25fcab0794
Enhance /show_config endpoint
2021-11-06 16:20:18 +01:00
Matthias
fef7da03b2
Merge pull request #5850 from freqtrade/timeout_forcesell
...
multiple exit-timeouts can trigger emergencysell
2021-11-06 16:20:06 +01:00
Matthias
ebc38159b8
Merge branch 'develop' into feat/short
2021-11-06 15:24:52 +01:00
Matthias
f7dc47b1c8
Add test for exit_timeout_count
2021-11-06 13:10:41 +01:00
Sam Germain
cb97c6f388
Updated time to utc in test_update_funding_fees, some funding rate key errors because a timestamp is likely not in utc
2021-11-06 05:56:58 -06:00
Sam Germain
fd63fa7dda
Updated test_update_funding_fees to compile fine but the assertion is incorrect
2021-11-06 05:42:41 -06:00
Rokas Kupstys
98b475a00b
Use lambdas instead of a static number of side-effects.
2021-11-06 10:23:46 +02:00
Antoine Merino
70253258f0
Test /monthly & clean
...
Signed-off-by: Antoine Merino <antoine.merino.dev@gmail.com>
2021-11-05 22:33:06 +01:00
Antoine Merino
459ff9692d
Add /weekly and /monthly to Telegram RPC
...
/weekly now list weeks starting from monday instead of rolling weeks.
/monthly now list months starting from the 1st.
Signed-off-by: Antoine Merino <antoine.merino.dev@gmail.com>
2021-11-05 21:07:28 +01:00
Antoine Merino
5f40158c0b
WIP Add /weekly and /monthly to Telegram RPC
...
Related to "Show average profit in overview" (#5527 )
Signed-off-by: Antoine Merino <antoine.merino.dev@gmail.com>
2021-11-05 21:07:19 +01:00
Matthias
ae3b53014d
Add failing test for OKEX failure
...
part of #5842
2021-11-05 19:44:02 +01:00
Matthias
60a5ded532
Don't convert telegram chat_id
...
closes #5840
2021-11-05 19:27:54 +01:00
Sam Germain
8a4236198f
Added test_update_funding_fees in freqtradebot, test currently fails
2021-11-03 22:52:37 -06:00
Matthias
431b96de98
Merge branch 'develop' into pr/theluxaz/5710
2021-11-03 19:43:36 +01:00
Matthias
161a3fac15
Run exchange-enabled tests against okex
2021-11-02 20:08:56 +01:00
Sam Germain
3de42da29a
All funding fee test_exchange tests pass
2021-11-01 07:52:40 -06:00
Sam Germain
863e0bf837
Adding 1am tests to funding_fee_dates
2021-11-01 06:40:20 -06:00
Sam Germain
74b6335acf
Adding timezone utc to test__get_funding_fee_dates
2021-11-01 06:34:22 -06:00
Sam Germain
ba95172d07
Finished test_calculate_funding_fees
2021-11-01 06:28:03 -06:00
Sam Germain
765ee5af50
Updated conftest funding_rate and mark_price
2021-11-01 02:51:59 -06:00
Matthias
4249fcefba
Merge pull request #5150 from cryptomeisternox/backtesting-filter
...
Adding command for Filtering and print trades
2021-11-01 09:43:49 +01:00
Sam Germain
8b9dfafdf4
Tests for _get_funding_fee_dates
2021-11-01 01:09:57 -06:00
Sam Germain
77d247e179
Created fixtures mark_ohlcv and funding_rate_history
2021-11-01 01:04:42 -06:00
Sam Germain
5c52b21346
Added tests for funding_fee_dry_run
2021-10-31 22:24:27 -06:00
Matthias
6b90b4a144
Test "get-signal"
2021-10-31 10:53:30 +01:00
Matthias
dffe76f109
Don't double-loop to generate profits
2021-10-31 10:49:56 +01:00
Matthias
c15f73aa1f
Rename command to backtesting-show
2021-10-31 10:13:11 +01:00
Matthias
c094ac5762
Merge branch 'develop' into feat/short
2021-10-30 19:45:19 +02:00
Matthias
20904f1ca4
Add tests for new command
2021-10-30 19:43:42 +02:00
Matthias
72ecb45d86
Add test for backtest_show logic
2021-10-30 16:53:48 +02:00
Matthias
459a2239ce
Fix candle ranges in backtesting test
2021-10-30 16:13:04 +02:00
Matthias
6cf140f8fb
FIx testcases
2021-10-30 16:07:10 +02:00
Matthias
c34b8a95d7
Merge pull request #5798 from incrementby1/personal-branch
...
Add function to unlock PairLocks by reason
2021-10-30 10:15:21 +02:00
Matthias
c579fcfc19
Add tests and documentation for unlock_reason
2021-10-30 09:51:09 +02:00
Matthias
201fe108bc
Merge pull request #5607 from TreborNamor/develop
...
a new hyperopt loss created that uses calmar ratio
2021-10-29 09:20:44 +02:00
Matthias
240923341b
Reformat telegram test
2021-10-29 07:05:02 +02:00
Matthias
5cdae2ce3f
Remove CalmarDaily hyperopt loss
2021-10-29 06:53:40 +02:00
theluxaz
560802c326
Added tests for the new rpc/telegram functions
2021-10-28 21:39:42 +03:00
theluxaz
21ab83163d
Quick import/clarity fix
2021-10-27 01:35:47 +03:00
theluxaz
e4e75d4861
Added test data for buy_tag/sell_reason testing
2021-10-27 01:29:19 +03:00
Sam Germain
a2b1838c60
Merge branch 'feat/short' into funding-fee-dry-run
2021-10-25 22:00:09 -06:00
theluxaz
b51f946ee0
Fixed models and rpc performance functions, added skeletons for tests.
2021-10-25 23:43:22 +03:00
Simon Ebner
f7926083ca
Clean up unclosed file handles
...
Close all file handles that are left dangling to avoid warnings such as
```
ResourceWarning: unclosed file <_io.TextIOWrapper
name='...' mode='r' encoding='UTF-8'> params = json_load(filename.open('r'))
```
2021-10-24 23:15:05 +02:00
Matthias
5f309627ea
Update tests for Calmar ratio
2021-10-24 09:01:13 +02:00
Sam Germain
60478cb213
Add fill_leverage_brackets and get_max_leverage back in
2021-10-23 22:16:51 -06:00
Sam Germain
ef8b617eb2
gateio, ftx and binance all use same funding fee formula
2021-10-23 21:59:03 -06:00
Sam Germain
2a26c6fbed
Added backtesting methods back in
2021-10-23 21:33:37 -06:00
Sam Germain
ed91516f90
Changed future to swap
2021-10-23 14:10:09 -06:00
Sam Germain
1fa2600ee2
Added gateio to test__ccxt_config
2021-10-22 11:52:05 -06:00
Sam Germain
167f9aa8d9
Added gateio futures support, and added gatio to test_exchange exchanges variable
2021-10-22 11:52:05 -06:00
Sam Germain
aed22f7dad
Merge branch 'develop' into feat/short
2021-10-22 11:45:27 -06:00
Matthias
21141bdcb3
Merge pull request #5732 from samgermain/new-max-lev
...
New max lev
2021-10-22 19:30:58 +02:00
Matthias
78724e304e
Merge branch 'develop' into pr/theluxaz/5710
2021-10-21 17:46:39 +02:00
theluxaz
0e085298e9
Fixed test failures.
2021-10-21 17:25:38 +03:00
Matthias
96f99699e0
Merge pull request #4606 from rextea/add_days_breakdown_to_backtesting_summary
...
Add days breakdown table to backtesting
2021-10-21 13:56:30 +02:00
Matthias
e458c9867a
Styling fixes
2021-10-21 07:45:15 +02:00
Matthias
7b5346b984
Add test for breakdown-stats
2021-10-21 07:11:39 +02:00
Matthias
1267374c8a
Small fixes to tests
2021-10-20 19:21:38 +02:00
Matthias
028e5de935
Remove space after @ decorator in tests
2021-10-20 16:53:24 +02:00
Sam Germain
0329da1a57
updated get_max_leverage to use new ccxt unified property
2021-10-20 08:36:48 -06:00
Sam Germain
3fffc315ac
Merge branch 'develop' into feat/short
2021-10-20 08:11:53 -06:00
Matthias
79a91dc31b
Merge pull request #5567 from samgermain/lev-freqtradebot
...
Lev freqtradebot
2021-10-20 15:48:07 +02:00
Matthias
dd59b23b49
Merge pull request #5763 from samgermain/test-ccxt-config
...
Test ccxt config
2021-10-20 15:41:26 +02:00
Sam Germain
8c80fb46c8
test__ccxt_config
2021-10-20 05:33:09 -06:00
Matthias
55b0216180
Allow StaticPairlist in non-first position
...
closes #5754
2021-10-19 19:48:56 +02:00
Sam Germain
57d7009fd9
Added trading mode and collateral to constants.py
2021-10-18 01:21:41 -06:00
Sam Germain
e4682b78c5
updates suggested on github
2021-10-18 00:28:32 -06:00
Matthias
ad2c88b991
Reduce test-code duplication by importing functions
2021-10-17 17:00:25 +02:00
Matthias
d4d57f0002
Document expansion of --pairs
, add download-inactive
2021-10-17 16:09:56 +02:00
Matthias
9bb2dd1851
Merge pull request #5694 from freqtrade/dependabot/pip/develop/fastapi-0.70.0
...
Bump fastapi from 0.68.1 to 0.70.0
2021-10-17 15:01:28 +02:00
Matthias
e8f98e473d
Fix a few more tests
2021-10-17 11:08:54 +02:00
Matthias
198f3c5238
Merge branch 'feat/short' into pr/samgermain/5567
2021-10-17 10:41:03 +02:00
Matthias
69fdb8edfa
Merge branch 'develop' into feat/short
2021-10-17 10:40:08 +02:00
Matthias
abd5c4f278
Convert additional test to USDT
2021-10-17 10:39:53 +02:00
Matthias
fb2c8f7621
Rollback after each request
...
This closes the transaction and avoids "sticking" transactions.
2021-10-17 10:30:06 +02:00
Matthias
41b5e5627b
Update stoploss test
2021-10-17 09:54:38 +02:00
Matthias
e19d95b63e
Fix stoploss test
2021-10-17 09:00:10 +02:00
Matthias
dcefb3eb9c
Fix delete_Trade api test
2021-10-16 16:48:35 +02:00
Matthias
7f1080368b
Commit mock-trades to avoid errors in tests
2021-10-16 16:48:19 +02:00
Matthias
de5657a91b
Fix test failing when UI is installed
2021-10-16 16:47:28 +02:00
Matthias
794862a35a
Merge pull request #5670 from sergeykhliustin/develop
...
Added min_profit param to PerformanceFilter
2021-10-14 19:57:36 +02:00
Matthias
c02a538187
Add documentation and log to PerformanceFilter
2021-10-14 19:36:34 +02:00
Sam Germain
962f63a19a
fixed failing test_execute_trade_exit_custom_exit_price
2021-10-14 05:28:08 -06:00
Sam Germain
5fbe76cd7e
isolated conditionals in interface stoploss method
2021-10-14 05:10:28 -06:00
Sam Germain
0afd76c183
Fixed failing test_execute_trade_exit_market_order
2021-10-14 04:45:48 -06:00
Sam Germain
2dc402fbf7
Fixed failing test_handle_trade
2021-10-14 04:05:50 -06:00
Sam Germain
b0ce9612f8
Fixed sell_profit_only failing
2021-10-14 03:52:29 -06:00
Matthias
0e7d903a6f
Merge pull request #5644 from slyons/develop
...
Add ability to ignore unparameterized spaces
2021-10-14 08:07:07 +02:00
Matthias
fe8374f2a4
Test for non-failing missing hyperopt space
2021-10-14 07:06:51 +02:00
Sam Germain
bcbe8f229c
Merge branch 'feat/short' into lev-freqtradebot
2021-10-13 19:02:57 -06:00
Sam Germain
bd488cc086
Merge branch 'develop' into feat/short
2021-10-13 17:56:40 -06:00
Matthias
2c6290a100
Small updates to prevent random test failures
2021-10-13 07:04:21 +02:00
Sam Germain
0fcc7eca62
Added more tests to test_update_funding_fees
2021-10-12 20:28:46 -06:00
Sam Germain
86cbd0039f
Fixed bugs
2021-10-12 02:24:35 -06:00
Rokas Kupstys
437fadc258
Fix profitable trade registering as a loss due to fees.
2021-10-12 10:49:07 +03:00
Matthias
ce9debe9fd
Add version argument to freqUI installer
2021-10-12 06:44:07 +02:00
Matthias
952d83ad24
Reenable additional test
2021-10-11 20:36:08 +02:00
Matthias
70000b5843
Use scheduler as Object, not the automatic Singleton
2021-10-11 20:28:23 +02:00
Sam Germain
2e7adb99da
Fixed some breaking tests
2021-10-11 08:52:11 -06:00
Sam Germain
bdad604fab
Added persistence futures tests
2021-10-11 07:48:31 -06:00
Sam Germain
01a9e90057
Added futures tests to test_persistence.test_calc_profit
2021-10-11 07:03:14 -06:00
Sam Germain
d5a1385fdc
Changes described on github
2021-10-11 04:14:59 -06:00
Sam Germain
855b26f846
Parametrized more time machine tests in test_update_funding_fees
2021-10-11 01:31:21 -06:00
Sam Germain
3b962433fb
Switched shcedule to perform every 15 minutes
2021-10-10 02:55:04 -06:00
Sam Germain
81cf4653a9
Fixed failing test_process_trade_creation, test_order_book_depth_of_market, test_handle_stoploss_on_exchange_trailing
2021-10-09 17:35:57 -06:00
Sam Germain
9513650ffe
Fixed failing test_handle_stoploss_on_exchange_trailing
2021-10-09 16:20:25 -06:00
Sam Germain
9a6ffff5eb
Added cost to limit_sell_order_usdt_open, fixing some tests
2021-10-09 15:50:18 -06:00
Sam Germain
85e86ec09d
Fixed failing test_check_handle_timedout_buy_usercustom
2021-10-09 15:14:33 -06:00
Sam Germain
4fc4007975
Fixed failing test_check_handle_timedout_buy
2021-10-09 14:57:10 -06:00
Sam Germain
d7e6b842ba
Fixed failing tests test_cancel_all_open_orders, test_order_book_ask_strategy, test_order_book_depth_of_market, test_disable_ignore_roi_if_buy_signal
2021-10-09 14:12:17 -06:00
Sam Germain
057b048f31
Started added timezone offset stuff
2021-10-09 12:27:40 -06:00
Sam Germain
795d51b68c
Switched scheduler to get funding fees every hour for any exchange
2021-10-09 11:27:26 -06:00
Matthias
cae8ff5949
Merge pull request #5623 from froggleston/rest_sysinfo
...
Add CPU,RAM sysinfo support to the REST API to help with bot system m…
2021-10-09 15:17:21 +02:00
Matthias
91ceaef02f
Merge pull request #5678 from sidml/develop
...
Hyperopt loss function using max drawdown
2021-10-09 10:26:40 +02:00
Sam Germain
7f7f377a90
updated a test, put in TODO-lev
2021-10-07 05:03:38 -06:00
Sam Germain
e367f84b06
Added more update_funding_fee tests, set exchange of default conf
2021-10-07 04:20:53 -06:00
Matthias
a1be6124f2
Don't set bid_last_balance if None in tests
...
part of #5681
2021-10-07 07:15:09 +02:00
Matthias
45b7a0c837
Add Test and docs for MaxDrawDownHyperOptLoss
2021-10-07 07:12:45 +02:00
Matthias
29863ad2bf
Fix error when ask_last_balance is not set
...
closes #5181
2021-10-07 06:51:29 +02:00
Matthias
992cef56e6
Add test for sysinfo endpoint
2021-10-06 19:36:51 +02:00
Matthias
a4a5c1aad0
Fix scheduling test (a little bit)
2021-10-06 07:08:28 +02:00
Sam Germain
362c29c315
Added patch_get_signal(freqtrade, enter_long=False, enter_short=True, exit_short=True) a bunch
2021-10-05 03:15:28 -06:00
Sam Germain
d8ba3d8cde
Added trade.is_short = is_short a lot
2021-10-05 02:16:17 -06:00
Sam Germain
c72aac4356
Added trade.is_short = is_short a lot
2021-10-05 02:13:29 -06:00
Sam Germain
29e582c6d9
Fixed time format for schedule and update_funding_fees conf is mocked better
2021-10-05 01:42:46 -06:00
Sam Germain
928c4edace
removed side from execute_trade_exit
2021-10-03 23:22:51 -06:00
Sam Germain
9046caa27c
fixed test_update_trade_state_sell
2021-10-03 23:13:34 -06:00
Matthias
6e1e1e00c2
Fix mock going into nirvana
2021-10-04 06:59:08 +02:00
Sam Germain
2a2b759419
patch_get_signal test updates
2021-10-03 17:41:01 -06:00
Matthias
1c63d01cec
Prevent using market-orders on gateio
...
GateIo does not support market orders on spot markets
2021-10-03 14:14:16 +02:00
Sam Germain
d75934ce92
'is_short' -> is_short: test_freqtradebot
2021-10-03 04:44:39 -06:00
Sam Germain
56ff0a95a7
Merge branch 'feat/short' into lev-freqtradebot
2021-10-03 02:26:41 -06:00
Sam Germain
70db228f24
Merge branch 'feat/short' into funding-fee
2021-10-03 02:15:54 -06:00
Sam Germain
dcb9ce9513
isort
2021-10-03 02:14:52 -06:00
Sam Germain
d3f7207fe6
Merge branch 'develop' into feat/short
2021-10-03 02:12:25 -06:00
Sam Germain
09ef0781a1
switching limit_buy_order_usdt and limit_sell_order_usdt to limit_order(enter_side[is_short]) and limit_order(exit_side[is_short])
2021-10-03 01:52:58 -06:00
Matthias
e73f5ab480
Add test confirming #5652
2021-10-03 09:49:55 +02:00
Matthias
ad6ca3773d
Merge pull request #5592 from samgermain/test-freqtradebot-usdt
...
Test freqtradebot usdt
2021-10-03 09:41:08 +02:00
Matthias
9e77a739fa
Change usdt stake_amount to 60$
2021-10-03 09:22:50 +02:00
Sam Germain
57d66cc0f7
Merge branch 'test-freqtradebot-usdt' into lev-freqtradebot
2021-10-02 20:51:50 -06:00
Sam Germain
058c7b3e99
Fixed odd test_execute_entry where the filled coins were higher than the amount
2021-10-02 20:43:32 -06:00
Sam Germain
908dee961d
Changed test values in test_sell_profit_only to usdt like values
2021-10-02 20:37:05 -06:00
Sam Germain
93679db7c4
Removed ... TODOs
2021-10-02 20:33:46 -06:00
Sam Germain
057a187231
Removed uneccessary TODOs
2021-10-02 20:32:51 -06:00
Sam Germain
3823ca4162
Merge branch 'test-freqtradebot-usdt' into lev-freqtradebot
2021-10-02 20:26:52 -06:00
Matthias
3b5cc5f015
Improve dates used for hyperopt tests
2021-10-02 15:37:01 +02:00
Matthias
77388eb423
Improve generate_test_data to make it easier to use
2021-10-02 15:23:48 +02:00
Matthias
5fdeca812d
Combine most hyperopt-loss tests to one
2021-10-02 14:30:24 +02:00
Matthias
022839b728
remove unnecessary test
2021-10-02 13:17:10 +02:00
Matthias
e5e1e49f53
Remove some unused test parameters
2021-10-02 13:01:33 +02:00
Sam Germain
87ff65d31e
Fixed failing test_handle_protections
2021-10-02 04:06:22 -06:00
Sam Germain
72388d3376
tried to solve test_update_funding_fees:
2021-10-02 03:52:00 -06:00
Sam Germain
b3656ddfc9
Merge branch 'feat/short' into lev-freqtradebot
2021-10-02 03:36:32 -06:00
Sam Germain
e8b4cf6eaa
Merge branch 'develop' into feat/short
2021-10-02 03:15:12 -06:00
Sam Germain
96d09b5615
Fixed breaking rpc tests
2021-10-02 01:44:30 -06:00
Sam Germain
6f8e66117b
flake8 isort
2021-10-02 01:44:30 -06:00
Sam Germain
107fa911a5
Fixed test_tsl_on_exchange_compatible_with_edge
2021-10-02 01:44:30 -06:00
Rokas Kupstys
c820db4c60
Fix couple more usdt tests which failed due to ticker prices causing roi being hit, but tests did not expect that to happen.
2021-10-02 01:44:30 -06:00
Rokas Kupstys
8961370269
Fix failing test due to not updated expected values.
2021-10-02 01:44:30 -06:00
Rokas Kupstys
2ee87f8c66
Fix failing USDT tests due to not enough open markets.
2021-10-02 01:44:30 -06:00
Sam Germain
43339f1660
A lot of the usdt freqtradebot tests pass now
2021-10-02 01:44:30 -06:00
Sam Germain
ba5d78f005
swapped default_conf for default_conf_usdt and ticker for ticker_usdt
2021-10-02 01:44:30 -06:00
Sam Germain
7eebb6bb2d
updated test_create_trade to use default_conf_usdt
2021-10-02 01:44:30 -06:00
Sam Germain
755cc9cda1
Updated test_check_available_stake_amount to use default_conf_usdt
2021-10-02 01:44:30 -06:00
Sam Germain
26fdad8468
Removed edge_conf_usdt
2021-10-02 01:44:30 -06:00
Sam Germain
d0e0d0ee01
Removed init_persistence_usdt
2021-10-02 01:44:30 -06:00
Sam Germain
5ce09c7519
updated test_reupdate_enter_order_fees to usdt
2021-10-02 01:44:30 -06:00
Sam Germain
ffa9a3ac7d
changed default_conf_usdt stake_amount to 10
2021-10-02 01:44:30 -06:00
Sam Germain
6fdcf8cd73
created default_conf_usdt and init_persistence_usdt so that these tests pass: test_handle_stoploss_on_exchange_trailing, test_handle_stoploss_on_exchange_custom_stop, test_update_trade_state_withorderdict
2021-10-02 01:44:30 -06:00
Sam Germain
d1e3d48075
changed test_update_trade_state_withorderdict to usdt
2021-10-02 01:44:30 -06:00
Sam Germain
8d7f75c4de
Fixed a bunch of freqtradebot tests
2021-10-02 01:44:30 -06:00
Sam Germain
dadd134200
changes some tests to use usdt values
2021-10-02 01:44:30 -06:00
Matthias
99e3450d30
Merge pull request #5642 from freqtrade/add_trade_conversion_command
...
Add trade conversion command
2021-10-01 06:38:42 +02:00
Matthias
5f23af5802
Rename update_open_trades to clarify it's only called at startup
2021-09-30 07:24:16 +02:00
Sam Germain
6e86bdb820
Added test_update_funding_fees
2021-09-29 23:11:01 -06:00
Sam Germain
ba60aad89d
parameterized TradingMode in persistence
2021-09-29 22:59:09 -06:00
Sam Germain
af6afd0ac2
Revert "Replace datetime.utcnow with datetime.now(timezone.utc)"
...
This reverts commit c4ac876183
.
2021-09-29 22:27:21 -06:00
Sam Germain
c4ac876183
Replace datetime.utcnow with datetime.now(timezone.utc)
2021-09-29 22:16:44 -06:00
Matthias
248c61bb26
Add test for trades-to-ohlcv
2021-09-29 19:39:29 +02:00
Rokas Kupstys
e025576d8c
Introduce markets_static fixture serving an immutable list of markets. Adapt pairlist/markets tests to use this new fixture.
...
This allows freely modifying markets in get_markets() without a need of updating pairlist/markets tests.
2021-09-29 10:15:05 +03:00
Sam Germain
545b62d746
Merge branch 'feat/short' into funding-fee
2021-09-27 23:34:09 -06:00
Sam Germain
1a132758d0
merged with feat/short
2021-09-27 23:26:20 -06:00
Matthias
84e013de2d
Update confirm_trade_entry to support "side" parameter
2021-09-26 19:33:22 +02:00
Matthias
ec445776e9
Merge pull request #5601 from ferrants/parameterize-tests
...
parameterize some tests
2021-09-26 19:07:47 +02:00
Matthias
4fd00db630
Use "combined" enter_tag column
2021-09-26 15:22:37 +02:00
Matthias
2a678bdbb4
Update buy_tag column to long_tag
2021-09-26 08:37:44 +02:00
Matthias
f4f204d849
Update test to use cost dict
2021-09-24 20:17:38 +02:00
Matthias
fcca637107
Merge pull request #5599 from freqtrade/notify_trigger_prot
...
Notify trigger protections
2021-09-23 07:17:26 +02:00
matt ferrante
2bf49445b7
add parameterized names
2021-09-22 16:11:27 -06:00
Matthias
a0ef89d910
Also support column-transition for V1 strategies
2021-09-22 20:52:55 +02:00
Matthias
0e13d57e57
Update advise_* methods to entry/exit
2021-09-22 20:42:31 +02:00
Matthias
4c6b1cd55b
Add very simple short logic to test-strategy
2021-09-22 20:36:03 +02:00
Matthias
5928ba9c88
Test and document leverage strategy callback
2021-09-22 20:14:52 +02:00
matt ferrante
30cc69c880
set all to eth for multi test
2021-09-22 11:28:42 -06:00
matt ferrante
8cfb6ddd51
fix long line
2021-09-22 10:48:13 -06:00
matt ferrante
f768bdea50
cleanup based on feedback
2021-09-22 10:32:30 -06:00
Sam Germain
553c868d7f
combined test_order_book_depth_of_market and test_order_book_depth_of_market_high_delta
2021-09-21 16:40:24 -06:00
Matthias
c791b95405
Use new TestStrategy (V3) by default in tests
2021-09-21 20:24:08 +02:00
matt ferrante
707d0ef795
remove trades_for_order3
2021-09-21 12:16:10 -06:00
Matthias
7a5c7e7020
Update some tests to use StrategyV3
2021-09-21 19:33:33 +02:00
matt ferrante
277828bf0e
parameterize some tests
2021-09-21 07:56:16 -06:00
Matthias
4b5cd891cd
Add V3 test strategy
2021-09-21 07:12:46 +02:00
Matthias
3ce05c0d54
Add "sane" defaults to protection triggers
2021-09-20 20:16:58 +02:00
Matthias
fd23ab3d64
improve formatting, add tests
2021-09-20 19:50:56 +02:00
Matthias
dd0db7ee5d
Split protection-notification into global and per-pair
2021-09-20 19:23:40 +02:00
Matthias
a0fb43c6ca
Add pairlock-notification
2021-09-20 19:12:59 +02:00
Sam Germain
6db2813850
merged with feat/short
2021-09-19 20:33:08 -06:00
Sam Germain
043bfcd5ad
Fixed a lot of failing tests"
2021-09-19 20:24:22 -06:00
Sam Germain
d7c7448632
merged lev-freqtradebot with lev-strat
2021-09-19 19:06:43 -06:00
Sam Germain
778f0d9d0a
Merged feat/short into lev-strat
2021-09-19 17:44:12 -06:00
Sam Germain
60a678fea7
merged with feat/short
2021-09-19 17:02:09 -06:00
Sam Germain
d8d6f245a7
Fixed breaking tests in test_freqtradebot.py
2021-09-19 16:44:02 -06:00
Sam Germain
ee0ebdf0f2
merged with develop
2021-09-19 15:35:54 -06:00
Matthias
1da091dea3
ProtectionManager should return the lock just created
2021-09-19 19:41:19 +02:00
Matthias
c46ef637c3
Merge pull request #5593 from samgermain/parametrized-test-freqtradebot
...
Parametrized test freqtradebot
2021-09-19 13:40:13 +02:00
Matthias
ab88217186
Improve /balance output to include starting balance and percentual change
...
closes #5503
2021-09-19 13:17:34 +02:00
Matthias
66c2034c3f
Merge pull request #5387 from samgermain/lev-exchange
...
Lev exchange
2021-09-19 13:00:38 +02:00
Sam Germain
fa74b95a01
reduced amount of code for leverage_brackets test
2021-09-19 02:33:28 -06:00
Sam Germain
ddc203ca69
remove %s in test_exchange unix time
2021-09-19 02:26:59 -06:00
Sam Germain
2b6d134294
Merge branch 'feat/short' into lev-exchange
2021-09-19 01:57:30 -06:00
Arunavo Ray
c54259b4c5
Added ftx interest formula tests
2021-09-19 11:35:29 +05:30
Sam Germain
cee4ed541b
parametrized test_update_trade_state_withorderdict
2021-09-18 19:46:46 -06:00
Sam Germain
ec9dbc550e
parametrized test_create_trade_minimal_amount
2021-09-18 19:19:53 -06:00
Rokas Kupstys
eab7f8f694
[SQUASH] Doh.
2021-09-18 15:44:21 +03:00
Sam Germain
518a59ad41
parametrized test_edge_overrides_stoploss
2021-09-18 03:20:00 -06:00
Sam Germain
42a2fdc1c5
parametrized test_order_dict
2021-09-18 03:01:08 -06:00
Sam Germain
216f75bbb9
parametrized test_sell_profit_only , test__safe_exit_amount, test_order_book_bid_strategy1
2021-09-18 02:53:34 -06:00
Rokas Kupstys
e4ca42faec
[SQUASH] Update stoploss_from_absolute to behave more like stoploss_from_open and add a test for it.
2021-09-18 10:48:53 +03:00
Rokas Kupstys
7e6aa9390a
[SQUASH] Unconditionally include quote currency when asset is explicitly specified. Added docs suggesting to use string formatting to make strategy independent of configured stake currency.
2021-09-18 10:48:53 +03:00
Rokas Kupstys
5dc78a0c66
[SQUASH] Get rid of _initialize() and fix informatives for dynamic pairlists.
2021-09-18 10:48:53 +03:00
Rokas Kupstys
dfa61b7ad2
[SQUASH] Fix informatives for each pair not being created because dataprovider was not available.
...
Fix not being able to have informative dataframe of a pair in whitelist.
2021-09-18 10:48:53 +03:00
Rokas Kupstys
1fdb656334
Add a decorator which can be used to declare populate_indicators() functions for informative pairs.
2021-09-18 10:48:18 +03:00
Matthias
11f08b0053
Merge pull request #5582 from sergeykhliustin/develop
...
Added days parameter to PerformanceFilter
2021-09-18 09:24:14 +02:00
Matthias
56fb25c5e5
Add test for PerformanceFilter lookback
2021-09-18 09:10:37 +02:00
Sam Germain
2c21bbfa0c
Fixed create order margin call count tests and made _ccxt_config a computed property
2021-09-17 16:45:02 -06:00
Matthias
4d558879e9
Merge branch 'feat/short' into pr/samgermain/5378
2021-09-17 19:33:35 +02:00
Matthias
d680fdf33a
Merge branch 'develop' into feat/short
2021-09-17 11:16:37 +02:00
Sam Germain
2e8d00e877
temp commit message
2021-09-17 01:15:21 -06:00
Sam Germain
32e52cd460
Added leverage brackets dry run test
2021-09-17 00:41:00 -06:00
Sam Germain
798a0c9827
Tried to add call count to test_create_order
2021-09-17 00:10:53 -06:00
Sam Germain
0628790da9
merged lev-freqtradebot with feat/short
2021-09-16 23:49:43 -06:00
Sam Germain
8123579442
added trading mode to persistence tests
2021-09-16 23:47:44 -06:00
Sam Germain
e78f38c7b6
Merge branch 'feat/short' into funding-fee
2021-09-16 23:32:44 -06:00
Sam Germain
e7b6f3bfd1
removed changes to test_persistence
2021-09-16 23:32:23 -06:00
Sam Germain
ff5b402f58
Merge branch 'feat/short' into lev-exchange
2021-09-16 23:27:44 -06:00
Sam Germain
dced167ea2
fixed some stuff in the leverage brackets binance test
2021-09-16 23:23:36 -06:00
Sam Germain
57c7926515
leverage updates on exchange classes
2021-09-16 23:05:13 -06:00
Sam Germain
0ced05890a
removed space between @ and pytest
2021-09-16 16:28:23 -06:00
Sam Germain
dec2f377ff
Removed utils, moved get_sides to conftest
2021-09-16 16:25:02 -06:00
Sam Germain
a8657bb1ce
Removed backtesting funding-fee code
2021-09-16 03:50:01 -06:00
Sam Germain
4c91126c49
some short freqtradebot parametrized tests
2021-09-16 03:23:45 -06:00
Matthias
994c3c3a4c
Add some errorhandling for custom estimator
2021-09-16 07:13:25 +02:00
Sam Germain
98b00e8daf
merged with feat/short
2021-09-15 22:28:10 -06:00
Sam Germain
cbaf477bec
changed kraken set lev implementation
2021-09-15 21:55:19 -06:00
Sam Germain
5fcb69a0b5
Parametrized test_persistence
2021-09-15 18:29:17 -06:00
Matthias
e4ec5679a1
Merge pull request #5574 from freqtrade/agefilter_cache
...
Agefilter cache
2021-09-15 06:33:36 +02:00
Sam Germain
d604757056
Added is_short to conf tests
2021-09-14 21:10:38 -06:00
Sam Germain
d3ab2f887f
merged with feat/short
2021-09-14 18:32:08 -06:00
Sam Germain
47677ccd91
Merge branch 'feat/short' into lev-exchange
2021-09-14 18:27:51 -06:00
Sam Germain
d77ab337bf
merged with develop
2021-09-14 18:26:46 -06:00
Sam Germain
5f6384a961
Added tests to freqtradebot
2021-09-14 17:18:57 -06:00
Matthias
4e2b1764b8
ccxt_compat_tests must run with dry-run=False
2021-09-14 20:24:44 +02:00
Matthias
315ea1e116
Merge pull request #5566 from freqtrade/remove_hyperopt
...
Remove legacy hyperopt
2021-09-14 19:20:58 +02:00
Matthias
35eda8c8c7
Improve agefilter test
2021-09-14 07:07:20 +02:00
Matthias
3ce5197e8d
Add Tests for AgeFilter caching
...
closes #5552
2021-09-14 06:45:26 +02:00
Sam Germain
7e0eb0adcf
merged with feat/short
2021-09-13 14:14:54 -06:00
Sam Germain
5225bd4a5b
Merge branch 'develop' into feat/short
2021-09-13 14:02:23 -06:00
Matthias
a12c3ecc9b
Remove credentials whenever dry-run is set from within the exchange
2021-09-13 20:27:32 +02:00
Matthias
3cdd06f562
Add PeriodicCache
2021-09-13 19:32:51 +02:00
Sam Germain
49acfc887f
merged with lev-exchange
2021-09-13 00:00:22 -06:00
Sam Germain
2aaf60205e
Merge branch 'feat/short' into lev-exchange
2021-09-12 23:41:34 -06:00
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
Matthias
fd6bf591f8
Update some tests to remove explicit hyperopt interface
2021-09-12 08:18:13 +02:00
Matthias
ebb0b8aa3f
Remove new-hyperopt command
2021-09-12 08:18:13 +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
b1067cee6c
minor changes
2021-09-11 00:03:01 -06:00
Sam Germain
02521b4010
Merge branch 'lev-exchange' into lev-freqtradebot
2021-09-10 23:59:45 -06:00
Sam Germain
694460c8e0
merged with feat/short
2021-09-10 23:16:12 -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
cb155764eb
Short side options in freqtradebot
2021-09-10 11:47:27 -06:00
Matthias
7251a3ab19
Merge pull request #5544 from freqtrade/new_pair_download
...
New pair download improvement
2021-09-10 19:36:45 +02:00
Sam Germain
83bd674ba7
Added side to execute_trade_exit
2021-09-10 03:25:54 -06:00
Sam Germain
d582ccd2e6
merged with lev-exchange
2021-09-10 03:05:13 -06:00
Sam Germain
6486b904b5
merged with feat/short
2021-09-10 02:57:17 -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
063861ada3
Added todos for short stoploss
2021-09-09 15:47:49 -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
3a4d247b64
Changed stoploss side on some tests
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
1f38088d7b
Merged with develop
2021-09-09 13:56:46 -06:00
Sam Germain
e1a749a91e
removed unnecessary caplog
2021-09-09 13:19:43 -06:00
Matthias
5844f5a7fa
Merge pull request #5546 from samgermain/clear-caplog-freqtradebot
...
freqtradebot-tests-caplog-clears
2021-09-09 21:18:54 +02:00
Sam Germain
366247dff3
removed caplog.clears at end of functions in test_freqtradebot
2021-09-09 02:17:41 -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
695a8fc73b
comment updates, formatting, TODOs
2021-09-08 03:09:39 -06:00
Sam Germain
1379ec7402
Updated log messages for freqtradebot
2021-09-08 03:04:01 -06:00
Sam Germain
b2f289e404
Fixed freqtradebot failing tests
2021-09-08 02:16:25 -06:00
Sam Germain
362dc20406
notify_buy -> notify_enter, notify_sell -> notify_exit
2021-09-08 02:06:01 -06:00
Sam Germain
e0092a85e9
handle_cancel_buy/sell -> handle_cancel_enter/exit
2021-09-08 02:04:20 -06:00
Sam Germain
be93c75e44
reupdate_buy_order_fees -> reupdate_enter_order_fees
2021-09-08 02:03:40 -06:00
Sam Germain
aac05029e1
safe_sell_amount -> safe_exit_amount
2021-09-08 02:03:24 -06:00
Sam Germain
53006db2b7
Updated log messages for freqtradebot
2021-09-08 01:48:22 -06:00
Sam Germain
f1a8b81896
sorted test interfac
2021-09-08 01:27:08 -06:00
Sam Germain
786dcb50eb
safe_sell_amount -> safe_exit_amount
2021-09-08 01:20:52 -06:00
Sam Germain
8ad53e99ce
reupdate_buy_order_fees -> reupdate_enter_order_fees
2021-09-08 01:14:16 -06:00
Sam Germain
88a5a30a50
handle_cancel_buy/sell -> handle_cancel_enter/exit
2021-09-08 00:53:09 -06:00
Sam Germain
8f38d6276f
notify_buy -> notify_enter, notify_sell -> notify_exit
2021-09-08 00:45:55 -06:00
Sam Germain
f8248f3771
comments, formatting
2021-09-08 00:19:21 -06:00
Sam Germain
e13b0414d8
Merge branch 'lev-strat' into lev-freqtradebot
2021-09-08 00:00:53 -06:00
Sam Germain
dc83e04f9b
Merge branch 'feat/short' into lev-exchange
2021-09-07 22:13:20 -06:00
Sam Germain
ff790e8fd3
merged with caplog-clear-freqtradebot
2021-09-07 22:12:49 -06:00
Sam Germain
93fcaac19f
Merge branch 'develop' into clear-caplog-freqtradebot
2021-09-07 21:55:00 -06:00
Sam Germain
79ca6135a2
added caplog clears to freqtradebot tests
2021-09-07 21:53:38 -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
Matthias
a8f28ffb11
Increase test coverage
2021-09-05 15:34:57 +02:00
Matthias
49350f2a8e
Fix backtesting test
2021-09-05 08:36:22 +02: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
d6d5bae2a1
New funding fee methods
2021-09-04 16:33:06 -06:00
Sam Germain
b854350e8d
Changed funding fee implementation
2021-09-04 16:31:09 -06:00
Sam Germain
b7891485b3
Created FundingFee class and added funding_fee to LocalTrade and freqtradebot
2021-09-04 16:20:07 -06:00
Matthias
2e50948699
Fix some tests
2021-09-04 20:23:51 +02:00
Matthias
ca44d2e092
Merge branch 'feat/short' into pr/samgermain/5378
2021-09-04 19:54:34 +02: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
5184cc7749
Merge branch 'develop' into feat/short
2021-09-02 07:03:14 +02:00
Matthias
b0c4f079c2
Merge branch 'develop' into feat/backtest_detail
2021-08-31 20:16:42 +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
2ce458810b
rename default_hyperopt_loss file
2021-08-26 19:39:57 +02:00
Matthias
07d71f014f
Rename defaultStrategy file
2021-08-26 19:38:41 +02:00
Matthias
6d96b11279
Rename DefaultStrategy
2021-08-26 07:25:53 +02:00
Matthias
df1c0540ab
Rename Hyperopt Test Class
2021-08-26 07:20:05 +02:00
Matthias
0d8e105a33
Rename legacystrategy file
2021-08-26 07:14:49 +02:00
Matthias
58ecb34a66
Allow DefaultHyperopts as hyperopt name
2021-08-26 07:13:18 +02:00
Matthias
fbf8eb4526
Rename test-legacy strategy
2021-08-26 07:04:33 +02:00
Matthias
1f3ccc2587
DefaultStrategy does not need to be limited
2021-08-26 07:00:15 +02:00
Matthias
c4be52d1c3
rename execute_sell to execute_trade_exit
2021-08-26 06:53:42 +02:00
Matthias
63844d39f6
Rename execute_buy to execute_entry
2021-08-26 06:48:26 +02:00
Matthias
b61735937c
Replace Patch_get_signal with proper calls
2021-08-25 21:05:55 +02:00
Matthias
053d6d8ee1
Merge branch 'feat/short' into pr/samgermain/5378
2021-08-25 20:34:52 +02:00
Matthias
e1c3b7fd8c
Merge branch 'develop' into feat/short
2021-08-25 20:31:40 +02:00
Matthias
4b36276e4f
Improve has_space test
2021-08-25 19:54:26 +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
Matthias
6b93c71d15
Small refactorings, use only enter_long columns
2021-08-25 06:49:06 +02:00
Matthias
b951f59f89
Fix patch_get_signal
2021-08-24 21:03:13 +02:00
Matthias
c004942588
Merge branch 'feat/short' into pr/samgermain/5378
2021-08-24 20:53:45 +02:00
Matthias
f4242106d9
Merge branch 'develop' into feat/short
2021-08-24 20:53:21 +02:00
Matthias
60b476611c
Simplify a number of tests by relying on default arguments
2021-08-24 20:51:59 +02:00
Matthias
f9f32a15bb
Update plotting tests for new strategy interface
2021-08-24 20:30:42 +02:00
Matthias
b40f985b13
Add short-exit logic to backtesting
2021-08-24 20:02:40 +02:00
Matthias
11bd8e912e
Fix some tests
2021-08-24 06:52:28 +02:00
Matthias
7a977a8eaf
Merge branch 'feat/short' into pr/samgermain/5378
2021-08-24 06:28:16 +02:00
Matthias
957551ea97
Merge branch 'develop' into feat/short
2021-08-24 06:25:06 +02:00
Matthias
faf5cfa66d
Update some tests for updated backtest interface
2021-08-23 21:35:28 +02:00
Sam Germain
317a454c0e
Removed shorting from tests/optimize/hyperopts/default_hyperopt.py and created another tests/optimize/hyperopts/short_hyperopt.py with long and shorting
2021-08-23 00:24:49 -06:00
Sam Germain
0afeb269ad
Removed unnecessary TODOs
2021-08-23 00:15:35 -06:00
Sam Germain
e5b2b64a3f
Changed stoploss side on some tests
2021-08-22 23:36:36 -06:00
Sam Germain
0a624e70ee
added tests for min stake amount with leverage
2021-08-22 23:28:03 -06:00
Sam Germain
8644449c33
Removed changes from tests/strategy/strats that hyperopted short parameters, because these are supposed to be legacy tests
2021-08-22 21:47:02 -06:00
Sam Germain
5ca3f49cb5
merged with feat/short after feat/short added styling and comment changes PR
2021-08-22 21:37:20 -06:00
Sam Germain
488d729574
Merge branch 'feat/short' into lev-exchange
2021-08-22 20:59:33 -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
Masoud Azizi
127f470bc3
.* ADDED
2021-08-20 19:29:33 +02:00
Masoud Azizi
40ad451019
Download-data log process added
...
Download-data log process added
pytest assert solved
2021-08-20 14:52:56 +00:00
Matthias
ba5abb20bd
Run compat ci for gate.io
2021-08-20 06:30:27 +02:00
Sam Germain
092780df9d
condensed strategy methods down to 2
2021-08-18 16:52:34 -06:00
Sam Germain
d4a7d2d444
Added short and exit_short to strategy
2021-08-18 16:52:20 -06:00
Sam Germain
e2d5299116
Name changes for strategy
2021-08-18 13:22:54 -06:00
Matthias
f7087feeb1
Merge pull request #5347 from Axel-CH/custom_order_price
...
Custom order price
2021-08-18 20:59:40 +02:00
Matthias
9951f51079
Update test to ensure direction of movement is correct
2021-08-18 20:24:19 +02:00
axel
2fb9f6e2f4
rename custom price max distance option in config, update formula and test associated
2021-08-18 05:07:37 -04:00
Matthias
acb00cd072
Use realistic threshold for "get_fee" test
2021-08-18 06:25:52 +02:00
Matthias
4164f93853
Simplify fiat_convert and handle multi-mappings
2021-08-17 20:50:52 +02:00
Matthias
f471915828
Add test for refresh_latest_ohlcv caching
2021-08-17 06:44:36 +02:00
axel
6ab99369f2
Merge branch 'develop' of https://github.com/freqtrade/freqtrade into custom_order_price
2021-08-16 23:26:29 -04:00
axel
faff40577a
fix test_execute_buy In case of custom entry price
2021-08-16 15:33:05 -04:00
axel
3ea4b2ba00
add custom_price_max_distance_percent security to get_valid_price, update tests
2021-08-16 15:18:57 -04:00
Matthias
0264d77d86
Fix test for fixed typo
2021-08-16 20:02:25 +02:00
slowy07
f24a951ec5
fix: typo spelling grammar
2021-08-16 19:16:24 +07:00
Matthias
6b2ef36a56
Prevent directory traversal in UI Serving
...
Checking for directory base
closes #5427
2021-08-16 06:47:53 +02:00
Matthias
abddb3ef25
Add test for directory traversal
2021-08-16 06:45:23 +02:00
Matthias
fa4ec9f83e
Add explicit test for get_sell_trade_entry
2021-08-15 14:52:24 +02:00
Matthias
3406b889b6
First test
2021-08-14 17:06:28 +02:00
Matthias
c456cfc312
Merge branch 'develop' into pr/Axel-CH/5347
2021-08-14 09:13:30 +02:00
axel
20cc60bfde
update get_valid_price function and test cases to handle inputs with try catch
2021-08-13 11:06:15 -04:00
axel
dbf7f34ecb
add unit test to function get_valid_price
2021-08-12 15:30:49 -04:00
axel
ae11be3970
manage None or string value returned by custom_entry_price and add unit test for those cases
2021-08-12 14:47:01 -04:00
Matthias
e03784d98d
Fix filled exception
...
closes #5404
2021-08-12 05:02:56 +00:00
Matthias
bfc3968ab3
Merge pull request #5400 from freqtrade/limit_dry_market_slippage
...
Add max-slippage limiting for dry-run orders to avoid insane market o…
2021-08-12 06:54:55 +02:00
Rokas Kupstys
f6267c7514
Fix buy_tag not being saved to trade object.
...
Column is mistakenly excluded because advise_buy() creating this column runs after code detecting presence of buy_tag column.
2021-08-11 15:21:23 +03: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
180d92f879
Merge branch 'feat/short' into lev-exchange
2021-08-11 01:46:41 -06:00
Matthias
0b6aedbc4c
Merge pull request #5395 from freqtrade/fix/hyperopt-show
...
Stream hyperopt-result in small batches
2021-08-10 19:54:02 +02:00
Matthias
039d6384ed
Stream hyperopt-result in small batches
...
Avoiding memory-exhaustion on huge hyperopt results
closes #5305
closes #5149
2021-08-10 10:12:57 +02:00
Matthias
3f160c7144
Cache dataframe before cutting the first candle
...
This allows providing the "current closed" candle in all cases.
2021-08-10 09:14:29 +02:00
Matthias
cf27968b97
Properly preserve trade's low during backtesting
2021-08-09 19:38:56 +02:00
Matthias
895b912c71
Fix recently introduced lookahead bias in backtesting
...
closes #5388
2021-08-09 14:54:47 +02:00
Matthias
a5f796bc97
refactor ohlcvdata_to_dataframe to advise_all_indicators
2021-08-09 14:53:18 +02:00
Matthias
599ae15460
Parametrize tests
2021-08-09 11:35:27 +02:00
Matthias
f17942b68f
Fix random test failure
2021-08-09 11:18:18 +02:00
Sam Germain
de4b0d1f7c
Merged with feat/short
2021-08-09 00:24:25 -06:00
Sam Germain
06206335d9
Added tests for interest_function
2021-08-09 00:00:50 -06: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
47f641d12f
Remove hyperopt-pickle result support
2021-08-09 07:04:18 +02:00
Sam Germain
8e941e6836
Changed interest implementation
2021-08-08 17:09:17 -06:00
Sam Germain
0545a0ed3c
Replaced the term margin with leverage when it should say leverage
2021-08-08 17:04:24 -06:00
Matthias
756112c84d
Merge pull request #5374 from freqtrade/rem_legacy_hyperopt
...
Remove legacy hyperopt
2021-08-08 12:42:52 +02:00
Matthias
be240566ba
Fix random test failure
2021-08-08 10:57:20 +02:00
Matthias
faf16a64e5
Remove legacy hyperopt file support
2021-08-08 10:22:45 +02:00
Matthias
92ed7c0bf8
Merge branch 'develop' into feat/short
2021-08-07 09:42:25 +02:00
Matthias
6532aba765
Merge pull request #5360 from freqtrade/hyperopt_protections
...
Hyperopt protections and Boolean parameter
2021-08-07 09:42:05 +02:00
Sam Germain
b9356a5564
Autopep8 formatting
2021-08-06 16:35:39 -06:00
axel
0aeebc9d53
add test for custom exit price
2021-08-05 17:57:45 -04:00
axel
2cf781f3dd
add freqtradebot execute_buy test in custom entry price case
2021-08-04 18:32:39 -04:00
Matthias
ad0e4a8567
Add BooleanParameter
2021-08-04 20:52:56 +02:00
Matthias
b73768acd1
Fix bug in property overwriting prevention
2021-08-04 20:21:56 +02:00
Matthias
3c41223333
Add test for protections-hyperopt
2021-08-04 20:01:28 +02:00
Matthias
a661e0db6e
Deprecate protections from config
2021-08-04 19:43:16 +02:00
Matthias
091bf7c4d2
Output protection space
2021-08-04 06:50:14 +02:00
axel
bc3e6deb1c
remove specific test for buy with custom entry
2021-08-03 17:09:52 -04:00
axel
b3dafb378e
remove use_custom_entry_price as a config option
2021-08-03 16:54:28 -04:00
axel
00939b63f2
flake 8 fixes
2021-08-03 16:25:18 -04:00
axel
d9c9b7d7fc
restore interface test file
2021-08-03 16:02:10 -04:00
axel
3d8c3ffd38
fix syntax error in unit test
2021-08-03 15:57:23 -04:00
axel
f11f5d17e9
add feature custom entry price for live
2021-08-03 15:57:23 -04:00
Sam Germain
d88e2ae603
Merge branch 'develop' into margin-db
2021-08-02 23:58:44 -06:00
Matthias
adb33e763b
Merge pull request #5350 from freqtrade/environment_vars
...
Add environment variable support
2021-08-02 20:48:23 +02:00
Matthias
c981641441
Don't fail if strategy doesn't contain sell signal
2021-08-02 20:30:46 +02: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
5ead95b06b
Merge pull request #5245 from sauces1313/RangeStabilityFilterMax
...
Range stability filter max
2021-08-02 08:06:36 +02:00
Matthias
b63eda3a2b
Some minor cleanup and improved test coverage
2021-08-02 07:15:09 +02:00
Sam Germain
047df0c212
Removed leverage references
2021-08-01 03:01:47 -06:00
Sam Germain
90a61b1765
Changed tests in tests/test_persistence.py to use usdt prices
2021-07-31 20:44:49 -06:00
Matthias
6f8519d0a3
Add environment variable support
2021-07-31 19:26:56 +02:00
Matthias
c5e3348b89
Migrations for indexes should run in a seperate session
...
closes #5349
2021-07-31 16:36:28 +02:00
Sam Germain
bc42516f68
test_update_limit_order has both a buy and sell leverage short order
2021-07-31 01:05:37 -06:00
Matthias
6abd352c0f
Add test for backtesting dataframe cache
2021-07-31 08:44:09 +02:00
Sam Germain
26be620f71
Removed LocalTrade.set_is_short
2021-07-31 00:20:25 -06:00
Sam Germain
fadb0de7c7
Removed excess modes stop_loss method, removed models.is_opening_side models.is_closing_side
2021-07-31 00:12:53 -06:00
Matthias
35bf2a59a8
Improve test reliability (fix fluky test)
2021-07-30 21:02:55 +02:00
Matthias
138b126d03
Merge pull request #5299 from kevinjulian/feat/kevinjulian/add-buy-signal-name
...
Add buy signal name
2021-07-30 08:23:11 +02:00
Matthias
71838dc51a
Merge pull request #5285 from freqtrade/backtest_startup_afte_populates
...
Remove startup-candles after populating buy/sell signals
2021-07-30 07:01:26 +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
3fb7f983f8
Added is_short and leverage to __repr__
2021-07-28 12:25:56 -06:00
Sam Germain
195badeb80
Changed liquidation_price to isolated_liq
2021-07-28 12:25:56 -06:00
Sam Germain
6ad9b535a9
persistence all to one test file, use more regular values like 2.0 for persistence tests
2021-07-28 12:25:56 -06:00
Sam Germain
a900570f1a
Added enter_side and exit_side computed variables to persistence
2021-07-28 12:25:56 -06:00
Sam Germain
b801eaaa54
Changed the name of a test to match it's equivelent
...
Removed test-analysis-lev
2021-07-28 12:25:56 -06:00
Sam Germain
af8875574c
updated mkdocs and leverage docs
...
Added tests for set_liquidation_price and set_stop_loss
updated params in interestmode enum
2021-07-28 12:25:56 -06:00
Sam Germain
256160740e
Updated interest and ratio calculations to correct functions
2021-07-28 12:25:56 -06:00
Sam Germain
8e52a3a29c
updated ratio_calc_profit function
2021-07-28 12:25:55 -06:00
Sam Germain
b0476ebd3e
All persistence margin tests pass
...
Flake8 compliant, passed mypy, ran isort .
2021-07-28 12:25:55 -06:00
Sam Germain
60572c9e0d
Took liquidation price out of order completely
2021-07-28 12:25:55 -06:00
Sam Germain
0fc9d6b6ac
Moved leverage and is_short variables out of trade constructors and into conftest
2021-07-28 12:25:55 -06:00
Sam Germain
b7b6d87c27
Pass all but one test, because sqalchemy messes up
2021-07-28 12:25:55 -06:00
Sam Germain
b1098f0120
Added liquidation_price check to test_stoploss_reinitialization_short
2021-07-28 12:25:55 -06:00
Sam Germain
811cea288d
Added checks for making sure stop_loss doesn't go below liquidation_price
2021-07-28 12:25:55 -06:00
Sam Germain
0bd71f87d0
made leveraged test names unique
...
test_adjust_stop_loss_short, test_update_market_order_shortpasses
2021-07-28 12:25:55 -06:00
Sam Germain
286427c04a
Moved interest calculation to an enum
2021-07-28 12:25:55 -06:00
Sam Germain
be3a9390fe
Switched migrations.py check for stake_currency back to open_rate, because stake_currency is no longer a variable
2021-07-28 12:25:55 -06:00
Sam Germain
a4403c0814
fixed rpc_apiserver test fails, changed test_persistence_long to test_persistence_leverage
2021-07-28 12:25:55 -06:00
Sam Germain
0ffc85fed9
Set default leverage to 1.0
2021-07-28 12:25:55 -06:00
Sam Germain
78708b27f2
Updated tests to new persistence
2021-07-28 12:25:55 -06:00
Matthias
e0d42d2eb7
Fix migrations, revert some parts related to amount properties
2021-07-28 12:25:55 -06:00
Sam Germain
e4d4d1d1f1
Wrote all tests for shorting
2021-07-28 12:25:55 -06:00
Sam Germain
f194673001
Updated ratio calculation, updated short tests
2021-07-28 12:25:55 -06:00
Sam Germain
5ac03762f0
Kraken interest test comes really close to passing
...
Added more trades to conftest_trades
2021-07-28 12:25:55 -06:00
Sam Germain
68d3699c19
Turned amount into a computed property
2021-07-28 12:25:55 -06:00
Sam Germain
efcc2adacf
About 15 margin tests pass
2021-07-28 12:25:55 -06:00
Sam Germain
f5d7deedf4
added exception checks to LocalTrade.leverage and LocalTrade.borrowed
2021-07-28 12:25:55 -06:00
Sam Germain
d07fe1586c
Set leverage and borowed to computed properties
2021-07-28 12:25:55 -06:00
Sam Germain
c24ec89dc4
Started some pytests for short and leverage
...
1 short test passes
2021-07-28 12:25:55 -06:00
Sam Germain
000932eed0
Adding templates for leverage/short tests
...
All previous pytests pass
2021-07-28 12:25:55 -06:00
sauces1313
4675d85b90
Merge branch 'freqtrade:develop' into RangeStabilityFilterMax
2021-07-25 02:37:56 -05:00
sauces1313
34c8a5afaf
remove second filter, add max option
2021-07-25 07:24:55 +00:00
kevinjulian
0fcbe097c0
remove blankspace
2021-07-23 21:06:38 +07:00
kevinjulian
7a0cb95ffb
fix testcase
2021-07-23 20:43:27 +07:00
kevinjulian
b9c2489b73
remove SN
2021-07-23 18:41:29 +07:00
kevinjulian
ba0fa1120a
revert rename naming
2021-07-23 18:39:18 +07:00
kevinjulian
acfaa39e54
revert back test_rpc_api_server
2021-07-23 18:34:18 +07:00
kevinjulian
8032257fdf
revert test_pairlist
2021-07-23 18:30:25 +07:00
kevinjulian
aea5da0c73
changes testcase
2021-07-23 11:42:43 +07:00
kevinjulian
b01daa8bbc
expose buy_tag to api
2021-07-22 13:09:05 +07:00
kevinjulian
46f2a20a98
run flake8
2021-07-22 02:00:51 +07:00
kevinjulian
235c1afd09
add buy_tag on telegram
2021-07-22 01:53:15 +07:00
kevinjulian
49886874aa
rename to buy_tag
2021-07-21 20:05:35 +07:00
kevinjulian
66a7070170
run linter
2021-07-20 23:56:03 +07:00
kevinjulian
5d04d6ffa7
fix edge testcase
2021-07-20 23:40:32 +07:00
kevinjulian
cbfedf8b29
fix backtest testcase
2021-07-20 23:25:00 +07:00
kevinjulian
3d8b2d601d
fix test persistance
2021-07-20 20:23:47 +07:00
Kevin Julian
edf9c08f06
Merge branch 'develop' into feat/kevinjulian/add-buy-signal-name
2021-07-20 19:19:46 +07:00
kevinjulian
ed30c023cd
fix some testcase
2021-07-20 19:08:14 +07:00
kevinjulian
ec526b3f96
fix testcase
2021-07-20 16:22:04 +07:00
kevinjulian
7d04005218
add test and migration
2021-07-20 16:14:48 +07:00
Matthias
e4b42b2b5b
Merge pull request #5284 from samgermain/merge_get_buy_sell_rate
...
Merge get_buy_rate and get_sell_rate
2021-07-20 06:54:47 +02:00
Matthias
365479f5e0
Remove startup-candles after populating buy/sell signals
...
closes #5242
2021-07-18 11:06:41 +02:00
Matthias
adef5d89f3
Fix failing test after webserver merge
2021-07-18 11:06:14 +02:00
Matthias
7b7d9c02d7
Merge pull request #5243 from freqtrade/feat/webservermode_progress
...
Introduce webserver mode subcommand
2021-07-18 10:48:55 +02:00
Sam Germain
7c27525bd8
Merge get_buy_rate and get_sell_rate
2021-07-17 22:51:20 -06:00
Matthias
4899b06b31
Merge pull request #5273 from freqtrade/fix/profit_calc
...
fix calculation logic for /profit
2021-07-16 19:19:28 +02:00
Sam Germain
804bc8134f
Merge branch 'develop' into example_json_filename_extensions
2021-07-16 02:05:08 -06:00
Sam Germain
b7dc2989e7
flake8 adjustments
2021-07-16 02:03:25 -06:00
Matthias
2e95df4d8d
Update docs for /profit output
2021-07-15 20:12:44 +02:00
Matthias
697bf92f6f
Add test for get_starting_balance method
2021-07-14 21:10:25 +02:00
Matthias
02d716a8be
Fix api test
2021-07-14 21:03:57 +02:00
Matthias
3451687135
Merge pull request #5255 from freqtrade/improve_dynamic_stake
...
Improve dynamic stake with multiple bots on the same exchange
2021-07-14 06:45:48 +02:00
Sam Germain
362436f7d2
Renamed example config files so they are .json so that syntax highlighting is all correct. Explicitly listed each one in .gitignore to prevent a real config file from being uploaded accidently
2021-07-13 19:39:23 -06:00
anasyusef
91e5562ae0
style: apply flake8 formatting
2021-07-12 13:22:36 +00:00
anasyusef
313cf6a013
test: add test for parsing db uri
2021-07-12 12:28:34 +00:00
Matthias
6a8e8875a2
Test new behaviour
2021-07-12 06:54:06 +02:00
Matthias
b41c234440
Extract Closed profit calculation to trade object
2021-07-12 06:54:06 +02:00
Matthias
ed77889d6b
Add explicit tests for _validate_stake_amount
2021-07-12 06:52:59 +02:00
Matthias
7ea0a74c53
Default to proposed stake
2021-07-11 14:11:41 +02:00
Rokas Kupstys
0e4466ca1e
Implement strategy-controlled stake sizes. Expose self.wallet
to a strategy.
2021-07-11 12:38:58 +03:00
Matthias
72a103f32d
Properly test webserver startup in standalone mode
2021-07-10 10:21:25 +02:00
Matthias
225522762b
Merge pull request #5231 from nightshift2k/enhancement/range-based-volumefilter
...
Range based VolumeFilter
2021-07-08 07:22:37 +02:00
Matthias
76e51cddba
Merge pull request #5246 from nightshift2k/feature/offsetfilter
...
new filter OffsetFilter for offsetting incoming pairlists
2021-07-07 21:06:23 +02:00
Matthias
682f880630
Slightly simplify if statement, add additional test
2021-07-07 20:05:56 +02:00
nightshift2k
c44e87cd30
added tests for `OffsetFilter
...
to `test_pairlist.py`
2021-07-07 12:06:55 +02:00
nightshift2k
f30e300f18
adjusted test_pairlist.py
for fixed rolling sum
2021-07-07 11:28:35 +02:00
Matthias
b7a9853d9a
Increase test coverage
2021-07-06 21:04:52 +02:00
Matthias
a4bd862323
Fix fluky test
2021-07-06 20:29:04 +02:00
Matthias
005da97183
extract backtesting abort functionality
2021-07-06 19:48:28 +02:00
Matthias
5474d5ee64
Move webserver start command to seperate file
2021-07-06 19:48:28 +02:00
Matthias
b44d215b90
Add test for backtest via APII
2021-07-06 19:48:28 +02:00
Matthias
8566306010
Add test for start_websever
2021-07-06 19:48:28 +02:00
Matthias
edb8c4f0e5
Fix tests for webserver mode
2021-07-06 19:48:28 +02:00
Kevin Julian
0f3d34eaf4
Merge branch 'develop' into agefilter-max-days-listed
2021-07-06 19:47:18 +07:00
kevinjulian
502c69dce3
change short desc
2021-07-06 19:36:42 +07:00
Matthias
dec523eef0
Display verison of installed FreqUI
2021-07-06 07:20:05 +02:00
nightshift2k
1e87225e91
added test_VolumePairList_range
to test_pairlist.py
2021-07-05 20:59:27 +02:00
Matthias
eb3ead4930
Merge pull request #5229 from kevinjulian/telegram-balance
...
compact low balance currencies
2021-07-05 06:56:35 +02:00
kevinjulian
9e548657e0
fix testcase
2021-07-04 21:08:46 +07:00
Matthias
898bef1837
Merge pull request #5219 from freqtrade/hyperopt_paramfile
...
automatic Hyperopt paramfile
2021-07-04 13:56:52 +02:00
kevinjulian
b722e12350
compact low balance currencies
2021-07-04 02:44:48 +07:00
kevinjulian
3d9f3eeb07
feat(agefilter): add max_days_listed
2021-07-03 23:58:04 +07:00
Matthias
dc8abd77df
Fix import order
2021-07-03 15:45:00 +02:00
Rokas Kupstys
3686efa08a
Add range property to CategoricalParameter and DecimalParameter, add their tests.
...
At the moment we can keep a single code path when using IntParameter, but we have to make a special hyperopt case for CategoricalParameter/DecimalParameter. Range property solves this.
2021-07-03 16:02:45 +03:00
Matthias
9d6860337f
Merge pull request #5212 from rokups/rk/trailing-stop-2
...
Trailing stoploss in backtesting v2
2021-07-03 08:39:30 +02:00
Matthias
3503fdb4ec
Improve tests for newly added methods
2021-07-03 08:38:55 +02:00
Matthias
e034f11dcc
Improve test for hyperopt_show
2021-06-30 20:21:33 +02:00
Rokas Kupstys
bc0742ae67
Fix extremely optimistic results when using a combination of custom_stoploss and trailing_stop.
2021-06-30 09:10:50 +03:00
Matthias
645da51b5f
Add test for parameter loading
2021-06-30 06:55:10 +02:00
Matthias
dcf53ac3ff
Add test for try_eport_params
2021-06-30 06:33:40 +02:00
Matthias
ff61b8a2e7
Disable parameter export from tests
2021-06-29 20:57:16 +02:00
Matthias
8ca0076332
Fix small typos
2021-06-29 06:50:47 +02:00
Matthias
a7e9e362b7
Simplify printing logic for non-optimized parameters
2021-06-29 06:50:47 +02:00
Matthias
8b7010fc9a
Update pprint name
2021-06-29 06:50:47 +02:00
Matthias
ef14359d31
Add some tests for paramfile writing
2021-06-29 06:50:47 +02:00
Matthias
e97de4643f
Move tests to hyperopttools test file
2021-06-29 06:50:47 +02:00
Matthias
750c780293
Support loading parameters from json file
2021-06-29 06:50:47 +02:00
barbarius
a0f28f4a15
Added max open trades to strategy summary first line
2021-06-28 17:05:12 +02:00
barbarius
c99ae3b419
Added timerange above multiple strategy backtest result summary table
2021-06-28 10:20:34 +02:00
Matthias
158cb415a9
Add settings interface to have types available
2021-06-26 17:28:37 +02:00
Matthias
ce69abc06e
Update docs and tests for newly deprectated settings
2021-06-26 17:11:15 +02:00
Matthias
b7f01a08f3
Update sequence of process_deprecated_setting parameters
2021-06-26 17:03:51 +02:00
Matthias
0235868c66
Update tests for new config structure
2021-06-26 16:39:01 +02: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
347eceeda5
Try fix fluky test
2021-06-19 20:30:51 +02:00
Matthias
204758834d
Merge pull request #4308 from eatrisno/patch-1
...
Add Refresh / Reload Button on rpc/Telegram
2021-06-19 18:50:59 +01:00
Matthias
96fbb226c5
Implement better strategy checks
...
part of #2696
2021-06-19 19:32:29 +02:00
Matthias
6e99e3fbbb
Implement tests for message updating
2021-06-19 09:31:34 +02:00
Matthias
39b876e37a
Log exchange responses if configured
2021-06-19 09:07:42 +02:00
Matthias
e1010ff592
Don't load protections from config if strategy defines a property
2021-06-18 19:55:53 +02:00
Matthias
7ff794cb87
Merge branch 'develop' into pr/eatrisno/4308
2021-06-17 19:46:15 +02:00
Matthias
8bb464bd64
Merge pull request #5108 from rokups/rk/pessimistic-trailing-stoploss
...
Implement most pessimistic handling of trailing stoploss.
2021-06-17 18:41:00 +01:00
Matthias
a49ca9cbf7
Change log-level "Executing handler" msg to debug
...
closes #5143
2021-06-17 06:57:35 +02:00
Rokas Kupstys
6d5fc96714
Implement most pessimistic handling of trailing stoploss.
2021-06-15 09:05:36 +03:00
Matthias
cf7394d01c
Export backtesting results by default
...
closes #4977
2021-06-14 19:57:24 +02:00
Matthias
d32508aa75
Merge branch 'develop' into pr/eatrisno/4308
2021-06-13 20:04:24 +02:00
Matthias
fb4dd6c2ac
Update test to cover this scenario
2021-06-13 11:34:44 +02:00
Matthias
d54ee0eb04
Refactor hyperopt_tools naming
2021-06-13 11:24:24 +02:00
Matthias
d35b2e3b8f
Update ftx stoploss logic to properly detect correct trades
...
closes #5045
2021-06-13 11:06:34 +02:00
Matthias
a05e38dbd3
Require timeframe for plot-profit
...
must be set in config or via --timeframe
2021-06-12 09:03:55 +02:00
Matthias
d4dfdf04fc
Move RPCMessageType to enums
2021-06-09 20:23:17 +02:00
Matthias
9c34304cb9
Move state enums to enums package
2021-06-08 21:20:35 +02:00
Matthias
89b9915c12
Update imports for SellType in tests
2021-06-08 21:07:16 +02:00
Matthias
b9cf950bbf
Add test for bad argument on /profit
2021-06-08 20:35:25 +02:00
Matthias
e71d965e32
Merge pull request #4982 from eschava/profit_day_week
...
day/week options for Telegram '/profit' command
2021-06-08 19:26:57 +01: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
8e44de7f83
Merge pull request #5071 from janoskut/plot-profit-make-open-html-optional
...
plot-profit: Make "auto-open" HTML result optional
2021-06-03 05:40:38 +01:00
Janos
812eb229df
plot-profit: Make "auto-open" HTML result optional
...
Adding an "--auto-open" argument.
This improves tool processing of the results, while still allowing to open the HTML file for easy use.
2021-06-02 21:33:26 +02:00
Janos
80af6e43e4
test-pairlist: remove non-JSON headline from JSON output
2021-06-02 21:02:21 +02:00
Matthias
387f3bbc5d
Adjust missed tests
2021-06-02 11:43:47 +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
Eugene Schava
79552a93fe
telegram: move the most important information to the top of sell message
...
fixed tests
2021-06-01 20:17:11 +03:00
Matthias
f920c26802
fix Hyperopt-list avg-time filters
...
These should use a numeric field (which currently isn't available).
closes #5061
2021-05-31 20:01:40 +02:00
Matthias
2d7ccaeb3d
Add test for load_config
2021-05-30 20:14:54 +02:00
Matthias
06b59551b0
Improve test coverage
2021-05-30 20:14:54 +02:00
Matthias
e17e35f0ef
Merge pull request #5046 from freqtrade/list_strategy_hyperopt
...
allow list-strategies to show if params are hyperoptable
2021-05-30 16:36:31 +01:00
Matthias
901d984ee3
Tests should write to tmpdir, not testdir
2021-05-30 16:26:24 +02:00
Matthias
08f96df3ac
Don't write to testdir, but to tempdir
2021-05-30 08:43:14 +02:00
Matthias
d7fdc2114a
allow list-strategies to show if params are hyperoptable
2021-05-29 13:27:08 +02:00
Matthias
313567d07d
Support having numbers in custom keyboard
2021-05-29 08:12:25 +02:00
Matthias
8a56af9192
Update onlyprofit loss should use absolute profit
...
closes #4934
2021-05-28 08:38:46 +02:00
Matthias
7bfe935e37
Merge pull request #4838 from Antreasgr/fix-encoding-issue
...
Fix bug in running hyperopt in windows 10
2021-05-27 14:57:36 +01:00
Matthias
a89364aa98
Merge branch 'develop' into pr/Antreasgr/4838
2021-05-27 14:59:39 +02:00
Matthias
3014bc3467
Don't use Sum sign in hyperopt to avoid compatibility problems
2021-05-27 14:22:11 +02:00
Matthias
b82f7a2dfd
Update orders-migrations to work with new sqlalchemy syntax
2021-05-27 11:38:28 +02:00
Matthias
a01d05997e
Add Trade.commit method for easy use
2021-05-27 11:38:28 +02:00
Matthias
c31cb67118
Further changes for sqlalchemy 1.4
2021-05-27 11:38:28 +02:00
Matthias
8bef7217ec
Forgot to save :O
2021-05-27 11:24:01 +02:00
Matthias
a6cd353655
Address random ci failure
2021-05-27 11:22:22 +02:00
Matthias
f760b4a789
Merge branch 'develop' into pr/gmatheu/4746
2021-05-23 16:03:11 +02:00
Matthias
77302ea178
Update documentation for forcebuy query
2021-05-23 16:01:49 +02:00
Matthias
a39860e0de
Add tests for rejected signals
2021-05-23 14:15:02 +02:00
Matthias
02faeb60a3
Merge pull request #4943 from rokups/rk/statistics
...
Extra statistics
2021-05-23 08:38:27 +01:00
Matthias
916ece6a29
More realistic testcase for results
2021-05-23 09:15:36 +02:00
Matthias
765c824bfc
isort
2021-05-22 17:25:23 +02:00
Rokas Kupstys
25cc4eae96
Fix tests that broke after table formatting changed.
2021-05-22 15:25:37 +02:00
A. Schueler
be13856171
Fix flake8 error in test_fiat_convert
2021-05-22 13:43:48 +02:00
A. Schueler
e4ca944597
Add tests for coingecko backoff
2021-05-22 12:04:24 +02:00
Matthias
df0928c8b5
Merge pull request #4992 from freqtrade/buy_partial_fill
...
Don't cancel low partial filled buy
2021-05-22 09:17:04 +01:00
Matthias
44bbc0718e
CLosing bracket
2021-05-21 20:54:18 +02:00
Matthias
a7216e6279
SQLite does not know drop column
2021-05-21 20:53:38 +02:00
Matthias
41e3233bab
Fix failing test
2021-05-21 20:44:11 +02:00
Matthias
6acb2eb2b6
Add average column to orders table
2021-05-21 20:35:39 +02:00
Matthias
4e94d3d3e5
Add test for too small buy check
2021-05-21 19:49:36 +02:00
Rokas Kupstys
e1dc1357ce
Add drawdown column to strategy summary table.
2021-05-21 11:36:23 +03:00
Matthias
ccd705bfda
Merge pull request #4962 from eschava/total_row
...
Total row for telegram "/status table" command
2021-05-21 08:02:30 +02:00
Matthias
586f2a699d
Merge pull request #4953 from freqtrade/value_filter
...
max-value change filter
2021-05-20 06:35:34 +02:00
Matthias
ef4d1c24d7
Merge pull request #4941 from brookmiles/fix-stoploss-above-candle
...
prevent backtest stoploss trade price being set above candle high
2021-05-19 06:20:35 +02:00
Matthias
7a9853bfe1
Fix "Too many open Files" exception
2021-05-18 20:39:55 +02:00
Matthias
2565f91bc2
Adjust tests to reflect new stoploss behaviour
2021-05-18 19:33:17 +02:00
Matthias
6aa574fa2b
Convert ROI result to proper json object
...
closes #4952
2021-05-17 20:58:50 +02:00
Matthias
6659a07079
Add tests for max-value filter
2021-05-17 19:47:57 +02:00
Matthias
369f19df6b
Add valuefilter to Pricefilters
2021-05-17 19:44:36 +02:00
Eugene Schava
459fae6d80
Total row for telegram "/status table" command
...
fixes
2021-05-17 16:22:48 +03:00
Eugene Schava
3ad8fa2f38
Total row for telegram "/status table" command
...
moved sum calculation to API
2021-05-17 15:59:03 +03:00
Matthias
37b71b8cfd
Fix PerformanceFilter failing in test-pairlist mode
2021-05-16 19:55:13 +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
6f38976470
Introduce cancel_stoploss_with_result
2021-05-16 14:15:24 +02:00
Matthias
0b1dd0d203
Use correct order_id for ftx
...
closes #4511
2021-05-16 09:15:25 +02:00
Matthias
2d7735ba04
Update telegram to sort performance by absolute performance
2021-05-15 19:49:21 +02:00
Matthias
6b2a38ccfb
Add absolute Profit to apiserver
2021-05-15 19:39:46 +02:00
Matthias
4f968b4a6f
Merge pull request #4926 from rokups/rk/misc-fixes
...
Two fixes
2021-05-15 15:11:07 +02:00
Rokas Kupstys
2d5f465f1b
Fix protections being loaded multiple times for first strategy when backtesting.
2021-05-15 13:37:03 +03:00
Matthias
e1447f955c
/locks should always respond, even if there's no locks
...
closes #4942
2021-05-15 10:50:00 +02:00
Matthias
a6c644161d
Merge pull request #4930 from freqtrade/hyperopt_memory
...
Hyperopt memory problems
2021-05-15 07:12:57 +02:00
Matthias
09756e3007
Subplots should always be included in responses
2021-05-14 06:36:50 +02:00
Matthias
5f5597b93f
Better test hyperopt writing and reading
2021-05-12 19:06:09 +02:00
Matthias
06bf1aa274
Store epochs as json per line
2021-05-12 05:58:25 +02:00
Matthias
7398ea88e0
Change optimize_reports to convert dates to string earlier
2021-05-11 20:37:49 +02:00
Matthias
b81f24d9c6
Merge pull request #4851 from rokups/rk/backtest-dataprovider
...
Data provider support in backtesting
2021-05-10 19:11:05 +02:00
Matthias
1c408c0404
Add small tests for backtest mode
2021-05-09 19:47:37 +02:00
Matthias
2157923aee
have edge send multiple messages if necessary
...
closes #4519
2021-05-08 19:45:34 +02:00
Matthias
4b6cd69c81
Add test for no-exchange dataprovider
2021-05-08 10:29:47 +03:00
Rokas Kupstys
cdfa6adbe5
Store pair datafrmes in dataprovider for backtesting.
2021-05-08 10:29:47 +03:00
Rokas Kupstys
dc6e702fec
Pass current_time to confirm_trade_entry/confirm_trade_exit.
2021-05-08 10:29:47 +03:00
Rokas Kupstys
d34da3f981
Revert "Add dataframe parameter to custom_stoploss() and custom_sell() methods."
...
This reverts commit 595b8735f8
.
# Conflicts:
# freqtrade/optimize/backtesting.py
# freqtrade/strategy/interface.py
2021-05-08 10:29:47 +03:00
Matthias
513be11fd9
Fix hyperopt output
...
closes #4892
2021-05-07 20:23:11 +02:00
Matthias
554f5f14b6
Raise exception if no data is left
2021-05-07 06:41:15 +02:00
Matthias
a710b7dc01
Update tests to match new behaviour
2021-05-05 19:58:45 +02:00
Matthias
da47f4e1a4
Fix Kraken balance update error
...
closes #4873
2021-05-05 06:47:26 +02:00
Matthias
da574e4e69
Small style fixes
2021-05-03 06:30:41 +02:00
Matthias
6d7096dc66
Use both old and new fixtures for test
2021-05-02 20:42:01 +02:00
Matthias
fc110ea418
Support csv export for new and old versions
2021-05-02 20:41:45 +02:00
Matthias
ef9dd0676c
Rename hyperoptresult fixture to avoid naming collision
2021-05-02 20:06:47 +02:00
Matthias
d069ad43d8
Small reformatting in hyperopt
2021-05-02 11:01:26 +02:00
Matthias
9049d6b779
Reformat hyper to cache parameters
2021-05-02 10:45:21 +02:00
Matthias
46f0f66039
Keep dimensions stored in hyperopt class
...
There is no point in regenerating them and it will cause some
overhead as all space classes will be recreated for every epoch.
2021-05-02 09:48:37 +02:00
Matthias
ced5cc7ce2
Don't recalculate min/max date - they won't change between epochs
2021-05-02 09:46:27 +02:00
Matthias
97478abb9d
Move format explanation string to HyperoptTools
2021-05-02 09:46:27 +02:00
Matthias
4c00d4496d
Update tests to reflect new backtest returns
2021-05-02 09:46:27 +02:00
Matthias
f2e182002d
Simplify calling backtesting by returning the proper result
2021-05-02 09:46:27 +02:00
Matthias
e2e1d34828
Extract stake_currency param from hyperopt-explanationstring
2021-05-02 09:46:27 +02:00
Matthias
852f125347
Fix tests
2021-05-02 09:46:27 +02:00
Matthias
545cba7fd8
Refactor optimize_report
...
we should not calculate non-daily statistics in the daily stats method
2021-05-02 09:46:27 +02:00
Matthias
b125c975c7
Rename strategy_comparison method
2021-05-02 09:46:27 +02:00
Matthias
c45204a2c4
Fix failing mocks
2021-05-02 08:59:21 +02:00
Matthias
30da307d13
Remove encode/decode for hyperopt
2021-05-01 17:01:52 +02:00
Matthias
555262b6e1
Only calculate additional indicators if the space is selected
2021-05-01 16:40:29 +02:00
Matthias
e381df9098
extract has_space to Hyperopt-Tools
2021-05-01 16:36:35 +02:00
Matthias
a3d2e68312
Merge pull request #4750 from rokups/rk/custom_sell
...
Add IStrategy.custom_sell method which allows per-trade sell signal evaluation
2021-04-29 06:50:56 +02:00
Matthias
aab020c9a2
Merge pull request #4818 from freqtrade/cleanup_models
...
Move static Trade functions to right class
2021-04-28 21:18:55 +02:00
Matthias
63c28b6519
Remove obsolete get_balance method
2021-04-28 16:00:12 +02:00
Matthias
6eb947ae09
Move static Trade functions to right class
2021-04-28 06:37:40 +02:00
Matthias
cc916ab2e9
Add test for custom_sell
2021-04-26 20:26:14 +02:00
Matthias
6f0a585bd0
Fix random test failure due to ttl 0 issue
2021-04-26 11:53:44 +02:00
Matthias
bb7ef2f804
Cache pairlist in pairlist, not globally
...
closes #4797 closes #4689
2021-04-25 20:10:47 +02:00
Matthias
fd3afdc230
plot-profit should use absolute values
2021-04-25 10:10:09 +02:00
Rokas Kupstys
595b8735f8
Add dataframe parameter to custom_stoploss() and custom_sell() methods.
2021-04-25 09:48:40 +03:00
Rokas Kupstys
961b38636f
Remove explicit sell_flag parameter from SellCheckTuple.
2021-04-25 09:48:40 +03:00
Rokas Kupstys
bfad4e82ad
Make execute_sell() use SellCheckTuple for sell reason.
2021-04-25 09:48:40 +03:00
Matthias
4636b3970b
Fix failed test due to exchange downtime
2021-04-25 08:25:12 +02:00
Matthias
f12e002686
Merge pull request #4775 from freqtrade/fix_wallet_unlimited
...
Fix wallet unlimited
2021-04-24 15:54:06 +02:00
Matthias
5c7f278c8a
add tests for IntParameter.range
2021-04-24 07:18:35 +02:00
Matthias
4005708f85
Handle edge with volumepairlist and empty pair_whitelist
...
closes #4779
2021-04-23 06:50:39 +02:00
Matthias
4693cba10d
Merge pull request #4769 from freqtrade/trades_pagination
...
Trades pagination
2021-04-22 19:13:19 +02:00
Matthias
7e2e196643
improve sell_message by using sell rate
2021-04-22 17:13:22 +02:00
Matthias
92a2e254af
Fix backtesting test
2021-04-21 20:17:30 +02:00
Matthias
d8c8a8d8c2
Remvoe pointless arguments from get_trade_stake_amount
2021-04-21 20:01:10 +02:00
Matthias
9f6f3e0862
Address ZeroDivisionExceptiond
...
closes #4764 closes #4617
2021-04-20 21:41:49 +02:00
Matthias
05ce3acc46
Improve tests for api_trades
2021-04-20 21:29:16 +02:00
Matthias
bd92ce938c
trade_history should paginate through results
...
this avoids huge results
2021-04-20 21:04:44 +02:00
Matthias
f821ef5aec
Final finetunings of rpc_fill messages
2021-04-20 19:36:30 +02:00
Matthias
efbe0843be
Add documentation for fill messages
2021-04-20 19:23:29 +02:00
Matthias
0341ac5a55
rename RPC message types
2021-04-20 19:23:28 +02:00
Matthias
8800a09770
Don't send double-notifications for stoploss fills
2021-04-20 19:22:14 +02:00
Matthias
fecd5c582b
Add buy and sell fill notifications
...
closes #3542
2021-04-20 19:22:14 +02:00
Matthias
71b017e7c3
Simplify webhook test
2021-04-20 19:22:14 +02:00
Matthias
1936dd1ee8
Add test-case verifying "changing" wallet
...
with unlimited amount
2021-04-20 15:45:07 +02:00
Matthias
2254f65fa7
use binance intests instead of bittrex
2021-04-20 12:59:15 +02:00
Matthias
bd7e535e42
Use "human" amounts in stake_amount tests
2021-04-20 11:58:47 +02:00
Matthias
c9e901cf32
Move wallet tasks to test_wallets
2021-04-20 11:31:37 +02:00
Matthias
44bfb53668
Don't use current rate for closed trades
2021-04-17 19:29:34 +02:00
Matthias
c8d3d449a3
Add quick test for pair_whitelist overwrite
2021-04-17 10:51:02 +02:00
Matthias
c52edcff4d
Merge pull request #4677 from mads03dk/get_trade
...
Add API endpoint for getting a specific trade
2021-04-16 19:57:58 +02:00
Matthias
9f2b6ee9a5
Merge pull request #4740 from freqtrade/decimal_stoploss_Hyperopt
...
stoploss and roi skdecimal spaces hyperopt
2021-04-16 19:46:07 +02:00
Matthias
aeb81f90ff
Implement errorhandling for /trade endpoint
2021-04-16 19:35:56 +02:00
Gonzalo Matheu
e3c5a4b3fc
telegram: Formatting imports
2021-04-15 21:51:16 -03:00
Gonzalo Matheu
5fae4ea2fd
telegram: Formatting code
2021-04-15 21:51:16 -03:00
Gonzalo Matheu
50bdae8eb2
telegram: Adding forcebuy inline keyboard
2021-04-15 21:51:16 -03: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
e820814809
Default-stoploss-hyperopt should use decimal space, nto real
2021-04-14 20:32:34 +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
e4bb6b1582
Add kucoin exchange subclass
...
Kucoin has some specific orderbook restrictions
closes #4723
2021-04-13 12:28: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
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
cb60db01b1
Merge pull request #4703 from freqtrade/decimal_space
...
Add SKDecimal Space
2021-04-12 19:18:10 +02: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
579e68f31e
Reduce log verbosity when buying
2021-04-10 14:40:44 +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
4996bd443e
Merge pull request #4697 from freqtrade/docker_user
...
Docker as user
2021-04-10 08:19:25 +02:00
Matthias
34e47db18d
Test SKDecimal space
2021-04-09 22:15:24 +02:00