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