Commit Graph
100 Commits
Author SHA1 Message Date
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 7f7f377a90 updated a test, put in TODO-lev 2021-10-07 05:03:38 -06: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 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
Sam Germain 2a2b759419 patch_get_signal test updates 2021-10-03 17:41:01 -06: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 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
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
Sam Germain 87ff65d31e Fixed failing test_handle_protections 2021-10-02 04:06:22 -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
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
Sam Germain 1a132758d0 merged with feat/short 2021-09-27 23:26:20 -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
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 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
Sam Germain 2d679177e5 Added in lev prep before creating api order 2021-09-19 03:05:58 -06:00
Sam Germain fa74b95a01 reduced amount of code for leverage_brackets test 2021-09-19 02:33:28 -06:00
Sam Germain 835e0e69fc removed leverage from create order api call 2021-09-19 02:23:05 -06:00
Sam Germain 2b6d134294 Merge branch 'feat/short' into lev-exchange 2021-09-19 01:57:30 -06: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
Sam Germain 979c6f2f26 moved leverage_brackets.json to exchange/binance_leverage_brackets.json 2021-09-18 03:49:15 -06: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
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
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 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 4c91126c49 some short freqtradebot parametrized tests 2021-09-16 03:23:45 -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
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
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
Sam Germain 17a5cc96fe Added set_margin_mode to create_order 2021-09-13 00:14:22 -06: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 83e1067af7 leverage to exchange.create_order 2021-09-12 23:39:08 -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 bc102d57c9 Updated set leverage to check trading mode 2021-09-12 02:09:31 -06:00
Sam Germain 0c1e5afc91 Added set leverage to create_order 2021-09-12 02:02:10 -06:00
Sam Germain 09418938fe Updated kraken fill leverage brackets and set_leverage 2021-09-12 01:51:09 -06:00
Sam Germain 1344c9f7fc _apply_leverage_to_min_stake_amount 2021-09-12 01:31:15 -06:00
Sam Germain 5b84298e03 kraken._apply_leverage_to_stake_amount 2021-09-12 00:03:02 -06:00
Sam Germain 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 84c121652a Added more todos 2021-09-10 23:42:16 -06:00
Sam Germain 9de946fdac added collateral and trading mode to freqtradebot and leverage prep 2021-09-10 23:39:31 -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
Sam Germain cb155764eb Short side options in freqtradebot 2021-09-10 11:47:27 -06:00
Sam Germain 9f16464b12 Removed unnecessary TODOs 2021-09-10 10:32:46 -06: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 1fa318c52a Merge branch 'feat/short' into lev-exchange 2021-09-10 02:51:34 -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