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
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
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
55b0216180
Allow StaticPairlist in non-first position
...
closes #5754
2021-10-19 19:48:56 +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
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
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
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
Matthias
ce9debe9fd
Add version argument to freqUI installer
2021-10-12 06:44:07 +02: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
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
1c63d01cec
Prevent using market-orders on gateio
...
GateIo does not support market orders on spot markets
2021-10-03 14:14:16 +02: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
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
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
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
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
Matthias
ec445776e9
Merge pull request #5601 from ferrants/parameterize-tests
...
parameterize some tests
2021-09-26 19:07:47 +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
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
matt ferrante
707d0ef795
remove trades_for_order3
2021-09-21 12:16:10 -06:00
matt ferrante
277828bf0e
parameterize some tests
2021-09-21 07:56:16 -06: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
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
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
Matthias
994c3c3a4c
Add some errorhandling for custom estimator
2021-09-16 07:13:25 +02:00
Matthias
e4ec5679a1
Merge pull request #5574 from freqtrade/agefilter_cache
...
Agefilter cache
2021-09-15 06:33:36 +02: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
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
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
Matthias
a5f90a409c
Small updates to async_history_fetch
2021-09-11 08:18:32 +02:00
Matthias
4c4604f837
Add explicit test for get_historic_ohlcv
2021-09-10 19:47:56 +02:00
Matthias
7251a3ab19
Merge pull request #5544 from freqtrade/new_pair_download
...
New pair download improvement
2021-09-10 19:36:45 +02: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
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
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
Matthias
a8f28ffb11
Increase test coverage
2021-09-05 15:34:57 +02:00
Matthias
93c1dff71b
Allow adding new additional headers
2021-09-02 21:02:45 +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
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
60b476611c
Simplify a number of tests by relying on default arguments
2021-08-24 20:51:59 +02: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
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