Matthias
|
b9a43b8e24
|
Don't store 'stoploss_last_updated' explicitly
it can easily be derived from the very last stoploss order.
|
2024-01-19 07:12:49 +01:00 |
|
Matthias
|
c248bb27e9
|
use safe_price for adjust_entry_price callback
closes #9692
|
2024-01-16 20:15:35 +01:00 |
|
Matthias
|
962417bdea
|
Update typing to account for correctly typed sqlalchemy responses
|
2024-01-08 17:55:50 +01:00 |
|
Matthias
|
b6a71f2d2a
|
__repr__ should use utc datetime...
|
2024-01-03 17:46:30 +01:00 |
|
Matthias
|
7ba9aa9acd
|
Merge remote-tracking branch 'origin/develop' into pr/Axel-CH/9267
|
2024-01-02 12:11:44 +01:00 |
|
Matthias
|
7ccddb5d58
|
Fix typo
|
2023-12-30 10:15:28 +01:00 |
|
Matthias
|
1e5d353cf7
|
use safe_value_fallback when parsing orders
closes #9591
|
2023-12-25 11:44:14 +01:00 |
|
Matthias
|
28e2bfaf1c
|
Fix types of "has" calls
|
2023-12-23 15:19:41 +01:00 |
|
Matthias
|
42d75b0754
|
Merge branch 'develop' into pr/Axel-CH/9267
|
2023-11-28 06:45:37 +01:00 |
|
Matthias
|
ca3f349d84
|
Update intermediate close_profit calculation
|
2023-11-18 19:47:09 +01:00 |
|
Matthias
|
54536a1c8e
|
use profit_ratio for mix_tag_performance
|
2023-11-11 17:18:13 +01:00 |
|
Matthias
|
7daa06a207
|
Align mixtag response with other statistic models
|
2023-11-11 17:18:06 +01:00 |
|
Matthias
|
0c51e2637f
|
Fix calculation issue for #9346
Closes #9346
|
2023-10-29 14:29:07 +01:00 |
|
Matthias
|
2c20464983
|
Reinit orders list on "local" objects to instance variable
|
2023-10-29 09:18:00 +01:00 |
|
Matthias
|
b76513ce33
|
Fix typo in trade_model
|
2023-10-12 10:18:57 +00:00 |
|
Matthias
|
368bfcf476
|
Add comment for funding fees running
|
2023-10-12 07:25:46 +02:00 |
|
Matthias
|
0843b19b6c
|
Implement logic around funding_fees runnign
|
2023-10-12 06:53:46 +02:00 |
|
Matthias
|
813b472c6c
|
Add funding_fee_running column
|
2023-10-12 06:48:35 +02:00 |
|
Matthias
|
db7f9598b0
|
add set_funding_fees method
|
2023-10-11 19:38:46 +02:00 |
|
Matthias
|
e547da10de
|
Move funding fee assignment to update_trade
|
2023-10-11 18:28:15 +02:00 |
|
Matthias
|
0f5b69b4f2
|
Move from_json to LocalTrade class
|
2023-10-10 07:13:32 +02:00 |
|
Matthias
|
e525c6694b
|
Add ft_cancel_reason column to order object
|
2023-10-08 09:46:12 +02:00 |
|
Matthias
|
178c0972ff
|
Read funding_fee on order objects in "from_json"
|
2023-10-07 08:43:06 +02:00 |
|
Axel-CH
|
aaa82e1fa9
|
remove all occurence of stoploss_order_id in trade_model, update api schemas, update rpc_delete
|
2023-10-06 16:34:03 -04:00 |
|
Axel-CH
|
2bb68ca53d
|
remove stoploss_order_id from LocalTrade class
|
2023-10-06 16:08:40 -04:00 |
|
Axel-CH
|
9d82de15d4
|
first updated proposition of handle_stoploss_on_exchange, add sl_orders helper
|
2023-10-06 15:56:08 -04:00 |
|
Axel-CH
|
d5a0759051
|
add open_sl_orders helper, use it in cancel_stoploss_on_exchange
|
2023-10-06 10:29:57 -04:00 |
|
Axel-CH
|
cac777cb21
|
add property has_open_sl_orders to trade model
|
2023-10-04 13:09:44 -04:00 |
|
Matthias
|
b2796b850b
|
Add funding_fee export to order object
Helps debugging #9163
|
2023-10-04 06:36:39 +02:00 |
|
Matthias
|
3d858f6599
|
Fix bug closing trades while recalculating
closes #9186
|
2023-09-16 16:39:52 +02:00 |
|
Matthias
|
394d758d32
|
Add missing fields to json (and json parse)
|
2023-09-16 14:06:36 +02:00 |
|
Matthias
|
ae4021da14
|
Rename get_canceled exit orders ...
|
2023-09-16 09:11:31 +02:00 |
|
Matthias
|
8378a0234d
|
Filter exit_order_count on canceled orders only
|
2023-09-16 09:10:56 +02:00 |
|
Matthias
|
3919bf3740
|
Adjust sequence of trade json output
|
2023-09-16 08:25:36 +02:00 |
|
Matthias
|
a52cf42218
|
use last order date to fill order.
|
2023-09-12 07:01:51 +02:00 |
|
Matthias
|
f0819d9df1
|
Improve "filled" date assignment for order updates
|
2023-09-11 20:03:38 +02:00 |
|
Matthias
|
7455e56a29
|
Add docstrings, simplify some code
|
2023-09-09 10:09:37 +02:00 |
|
Matthias
|
e76d4241a0
|
Remove further unnecessary method
|
2023-09-09 09:54:12 +02:00 |
|
Matthias
|
067c9219b6
|
replace 'open_orders' with "has_open_orders" in api
|
2023-09-09 08:36:28 +02:00 |
|
Matthias
|
830fc7580c
|
Cleanup unused property
|
2023-09-08 19:51:14 +02:00 |
|
Matthias
|
8c95207ca4
|
Merge branch 'develop' into pr/Axel-CH/8779
|
2023-09-07 20:19:25 +02:00 |
|
Matthias
|
ffaa121bc7
|
Simplify code by removing unnecessary (and non-working) method
|
2023-09-07 20:16:56 +02:00 |
|
Matthias
|
39b6a00224
|
Improve naming of calculate_profit method
|
2023-09-04 06:42:16 +02:00 |
|
Matthias
|
fac8e0fde5
|
Remove calc_profit content
|
2023-09-04 06:28:29 +02:00 |
|
Matthias
|
459b9d80d4
|
use calc_profit_combined
|
2023-09-04 06:28:29 +02:00 |
|
Matthias
|
28e685ee2b
|
Switch combined profit response to dataclass
|
2023-09-04 06:28:29 +02:00 |
|
Matthias
|
c58a1649cb
|
add calc_profit_combined call
|
2023-09-04 06:28:29 +02:00 |
|
Matthias
|
23aa8dcd51
|
Simplify profit calculation (removes unnecessary fallback)
|
2023-08-29 18:31:51 +02:00 |
|
Matthias
|
1a8b793c0a
|
Merge branch 'develop' into feat/stoploss_adjust
|
2023-08-29 07:04:08 +02:00 |
|
Matthias
|
95daff182d
|
Update backtesting to not use open_order_id
|
2023-08-25 07:08:24 +02:00 |
|
Matthias
|
3e986e24fa
|
Merge branch 'develop' into pr/Axel-CH/8779
|
2023-08-24 20:09:41 +02:00 |
|
Matthias
|
0f73e38f98
|
Improve docstring for "select_filled_orders".
|
2023-08-24 17:44:48 +02:00 |
|
Matthias
|
5cf6f0b491
|
Merge branch 'develop' into pr/Axel-CH/8779
|
2023-08-23 07:20:34 +02:00 |
|
Matthias
|
7f1a81eeed
|
Fix stop switching to trailing if order is replaced in backtesting
|
2023-08-14 17:08:01 +02:00 |
|
Matthias
|
e1eeaa24d2
|
Implement "adjust lower" correctly
|
2023-08-14 15:21:59 +02:00 |
|
Matthias
|
ec8ba821ed
|
Simplify stop adjustment code
|
2023-08-14 15:21:59 +02:00 |
|
Matthias
|
ae9f730624
|
Add explicit "is_trailing_stop" field to database
|
2023-08-14 15:21:38 +02:00 |
|
Matthias
|
e2274e813a
|
Rename adjust_stoploss parameter to allow_refresh
|
2023-08-14 15:21:10 +02:00 |
|
Matthias
|
d091931279
|
Ease meaning of "refresh" param for adjust_stoploss
|
2023-08-14 15:20:31 +02:00 |
|
Matthias
|
d768afed37
|
price_to_precision should only run once
|
2023-08-14 15:19:34 +02:00 |
|
Matthias
|
2c5a7ceab5
|
Improve typing of stoploss reinit
|
2023-08-13 13:21:46 +02:00 |
|
Matthias
|
3ecaedb7d8
|
use FormatStrings in trade_model
|
2023-08-13 11:11:10 +02:00 |
|
Matthias
|
88925d6c1d
|
Merge branch 'develop' into pr/Axel-CH/8779
|
2023-08-09 19:58:24 +02:00 |
|
Matthias
|
03150ee09a
|
Ensure backpopulated "trade" attribute is immediately loaded.
|
2023-08-07 06:59:35 +02:00 |
|
Axel CHERUBIN
|
f397d973f3
|
Merge branch 'freqtrade:develop' into feature/multiple_open_orders
|
2023-08-02 23:48:13 -04:00 |
|
Matthias
|
69ddbe3944
|
Merge pull request #8909 from freqtrade/backtest_adjustment
introduce order.stake_amount
|
2023-07-16 20:03:46 +02:00 |
|
Matthias
|
ff14208105
|
Improve logic for from_json special case
|
2023-07-15 15:23:15 +02:00 |
|
Matthias
|
626ea6b119
|
Add backtesting support for order.stake_amount
|
2023-07-15 14:55:22 +02:00 |
|
Matthias
|
d8c0621887
|
Add stake amount property to order object
|
2023-07-15 10:14:08 +02:00 |
|
Matthias
|
7f0e1c27c6
|
Fix realized_profit for trade from_json
|
2023-07-14 07:35:58 +02:00 |
|
Matthias
|
3cf419cbcd
|
Fix ill-used type on order backpopulate mapping
|
2023-07-12 18:22:41 +02:00 |
|
Matthias
|
a0fff43648
|
Add fee_base to json output
|
2023-07-10 19:47:37 +02:00 |
|
Matthias
|
1dbc294b80
|
Improve order __REPR__ with date
|
2023-07-10 07:11:29 +02:00 |
|
Matthias
|
5bc84dca56
|
Fix from_json with new attributes
|
2023-07-10 06:38:18 +02:00 |
|
Matthias
|
accc1b509b
|
Simplify class setups without inheritance
|
2023-06-29 12:16:10 +00:00 |
|
Matthias
|
be062c5fbe
|
Fix frequent notification bug due to stop order
|
2023-06-24 08:10:31 +02:00 |
|
Matthias
|
757c6dc5ca
|
Use Self typing
|
2023-06-23 18:15:06 +02:00 |
|
Matthias
|
c7f4dc1651
|
Merge branch 'develop' into pr/Axel-CH/8779
|
2023-06-20 17:43:50 +02:00 |
|
Matthias
|
d08bad7288
|
Fix trade_from_json
|
2023-06-20 17:10:04 +02:00 |
|
Matthias
|
ac4e3028d2
|
Clean up some code
|
2023-06-20 17:09:31 +02:00 |
|
Matthias
|
f3f5b63b7f
|
Remove duplicate attributes
|
2023-06-20 16:43:32 +02:00 |
|
axel
|
a98e8ef201
|
retreive open orders from orders list, not from db
|
2023-06-19 12:28:55 -04:00 |
|
Matthias
|
7af14d1985
|
Fix random test failure
|
2023-06-17 18:26:08 +02:00 |
|
axel
|
171c4f182d
|
update test_adjust_entry_maintain_replace test case, fix first RPC test
|
2023-06-17 00:06:30 -04:00 |
|
axel
|
6e8c765ece
|
add has_open_orders to Trade model property
|
2023-06-16 16:15:24 -04:00 |
|
axel
|
8e0faf4aaa
|
fix more tests, remove legacy conditions from update_trade function
|
2023-06-15 14:29:08 -04:00 |
|
axel
|
20a2b27498
|
update LocalTrade model orders related property type
|
2023-06-15 14:11:21 -04:00 |
|
axel
|
60a50a2ea8
|
fix test_handle_stoploss_on_exchange, add more orders related hybrid_properties to Trade classes
|
2023-06-15 11:56:41 -04:00 |
|
axel
|
9cdff0b0a5
|
fix first important tests in test_freqtradebot, update and fix on order related Trade class hybrid_properties
|
2023-06-15 01:55:13 -04:00 |
|
axel
|
450fc5763f
|
fix test test_freqtradebot.py::test_execute_entry
|
2023-06-14 14:20:14 -04:00 |
|
axel
|
057f852e06
|
fix localTrade and trade classe miroring, fix persistence tests
|
2023-06-14 11:40:30 -04:00 |
|
axel
|
4874d10455
|
Replace open_order_id property by open_orders in Trade model, first test update
|
2023-06-13 02:11:34 -04:00 |
|
Matthias
|
9a7794c520
|
Improve behavior for when stoploss cancels without content
closes #8761
|
2023-06-12 20:29:23 +02:00 |
|
Matthias
|
9d0f488de7
|
Some more edits due to arrow
|
2023-05-19 07:15:24 +02:00 |
|
Matthias
|
af8fbad281
|
Improve Date timezone useage
|
2023-05-14 08:54:26 +02:00 |
|
Matthias
|
c4a0910908
|
Handle special case where exit order is for more than the trade amount ...
|
2023-04-25 15:56:51 +02:00 |
|
Matthias
|
6a271317bc
|
use stop_price_param for dry stops
closes #8555
|
2023-04-25 08:53:02 +02:00 |
|
Matthias
|
b2b19915e6
|
Limit enter_tag and exit_reason to their actual field lenght
closes #8486
|
2023-04-12 07:19:36 +02:00 |
|
Matthias
|
a6d2233b95
|
Use constant for custom field lengths
|
2023-04-11 21:05:14 +02:00 |
|
Matthias
|
916e1bbc7c
|
Merge pull request #8412 from freqtrade/fix/partial_stops
support partially filled stops
|
2023-04-01 15:18:42 +02:00 |
|