Commit Graph

226 Commits

Author SHA1 Message Date
Matthias
b8c3b233dc Merge branch 'develop' into pr/mkavinkumar1/6545 2022-06-23 07:23:17 +02:00
Matthias
53e5483daa Store StopPrice for dry-run orders
closes #6996
2022-06-22 06:31:51 +02:00
Matthias
e07696ee06 Update test to also evaluate relative profit 2022-06-21 19:38:06 +02:00
Matthias
a01581ba70 Add test without fees 2022-06-21 19:32:42 +02:00
Matthias
0bfb0febe9 Merge branch 'develop' into pr/mkavinkumar1/6545 2022-06-20 20:04:35 +02:00
Matthias
0d967f93ba Improve performance of some RPC calls
These don't need orders to be loaded. As a side-effect, this will
also reduce the strain on the database.
2022-06-19 16:13:04 +02:00
Matthias
0168343b76 Add trading-volume to api schema 2022-06-18 16:53:25 +02:00
Matthias
1fdd2e52e7 Use proper profit calculations 2022-06-17 20:23:25 +02:00
Matthias
1250c0a32b Merge remote-tracking branch 'origin/tmp/calcprofit' into pr/mkavinkumar1/6545 2022-06-17 19:45:46 +02:00
Matthias
ade65fc274 calc_profits should allow custom open and amount parameters 2022-06-17 14:49:31 +00:00
Matthias
91f9818ae3 Simplify trade calculations 2022-06-17 09:53:29 +00:00
Matthias
76cae8e8e3 Update tests to always provide rate to profit calculations 2022-06-17 06:55:31 +00:00
Matthias
575b4ead1a Update Test with funding_fee 0 2022-06-17 06:29:17 +00:00
Matthias
7fd5846d9f Eliminate calls to process_exit_sub_trade 2022-06-16 07:26:45 +02:00
Matthias
2c12558baa fix trade recalculation from orders to work for partial exits 2022-06-15 06:43:36 +02:00
Matthias
fbee18d334 Add some more detailed tests, testing only calculation 2022-06-14 19:42:28 +02:00
Matthias
268b191cc2 Revert some pointless changes. 2022-05-28 20:31:54 +02:00
Matthias
f7b0933203 Update v3 strategy interface 2022-05-27 19:32:19 +02:00
Matthias
192bc868a7 Merge branch 'develop' into pr/mkavinkumar1/6545 2022-05-26 20:02:46 +02:00
Matthias
56a73575a1 Add explicit test for order_to_ccxt 2022-05-19 19:29:39 +02:00
Matthias
a3d9384bc0 Remove clean-dry-run code 2022-05-19 06:56:34 +02:00
Matthias
0a95ef6ab2 Don't reset open orders in dry-run on restart 2022-05-19 06:42:38 +02:00
மனோஜ்குமார் பழனிச்சாமி
782f3e5127 merged upstream 2022-05-13 19:36:26 +05:30
Matthias
044afdf7af Add better test scenario 2022-05-10 20:27:24 +02:00
மனோஜ்குமார் பழனிச்சாமி
cb0e3dbcba merge upstream 2022-05-03 19:59:23 +05:30
Matthias
737bdfe844 Use "side" parameter when calling Pairlocks 2022-04-24 14:33:24 +02:00
Matthias
6ff3b178b0 Add direction column to pairlocks 2022-04-24 14:33:24 +02:00
Matthias
baefda80d1 Enable flake8 E226 rule 2022-04-11 18:02:06 +02:00
Matthias
850760bc00 Remove migration from very old database
(database without Orders table)
2022-04-10 08:43:30 +02:00
Matthias
8e98a2ff9f api - provide assset_currency via API 2022-04-09 16:42:18 +02:00
மனோஜ்குமார் பழனிச்சாமி
07af20a55f
Merge branch 'develop' into partial_sell2 2022-04-09 16:24:57 +05:30
மனோஜ்குமார் பழனிச்சாமி
7e97e58820 renamed enter-side 2022-04-06 06:32:13 +05:30
மனோஜ்குமார் பழனிச்சாமி
606e0f1b68 updated tests 2022-04-04 19:14:52 +05:30
மனோஜ்குமார் பழனிச்சாமி
b646d8ba0e merge leverage/margin 2022-04-04 09:54:08 +05:30
Matthias
2d2bea17e7 sell_order_status -> exit_order_status 2022-04-03 11:17:01 +02:00
Matthias
cd78792f48 Improve some telegram terminology 2022-04-03 10:40:13 +02:00
Matthias
543aa74278 update sell_reason to exit_reason 2022-04-02 20:04:29 +02:00
Matthias
889fa7bac2 Add small offset to time to avoid random fails 2022-04-01 10:49:21 +02:00
Matthias
0c9bbc753f Fix random test failure by setting fixed time passed 2022-03-31 20:00:55 +02:00
மனோஜ்குமார் பழனிச்சாமி
bd00f6de17 updated requested changes in PR #6545 2022-03-28 20:36:58 +05:30
மனோஜ்குமார் பழனிச்சாமி
389ae969fc Update test_persistence.py 2022-03-27 09:31:42 +05:30
Matthias
fdc7077a2c Remove some unnecessary test arguments 2022-03-26 15:25:43 +01:00
Matthias
973644de66 Fix bad import 2022-03-25 19:25:43 +01:00
Matthias
50ba20ec9f Remove some unused test methods 2022-03-25 16:14:18 +01:00
Matthias
1c0946833d Fix bug in exit-count detection 2022-03-25 16:06:03 +01:00
Matthias
4fd0681265 Combine stake_amount recalculation 2022-03-20 20:00:30 +01:00
Kavinkumar
13ff413e4f updated requested change in PR #6545
Co-Authored-By: மனோஜ்குமார் பழனிச்சாமி <smartmanoj42857@gmail.com>
2022-03-19 12:26:46 +05:30
Kavinkumar
1e9cbd579f partial sell using avg price
Co-Authored-By: மனோஜ்குமார் பழனிச்சாமி <smartmanoj42857@gmail.com>
2022-03-16 21:39:46 +05:30
Matthias
d2a163e2cf rename column to liquidation_price 2022-03-07 17:16:33 +01:00
Matthias
6360ef029c Simplify and align liquidation price handling 2022-03-06 16:27:55 +01:00