Axel-CH
3d6e186b30
allow position ajustment if position open
2024-10-07 12:35:09 -04:00
Axel-CH
5efc2a09e5
restore not having open order check before trying to retreive an exchange order
2024-09-24 13:00:59 -04:00
Axel-CH
9dd887f2ff
update exit_positions, add trade.has_open_position check before trade handling, update comment
2024-09-24 12:39:16 -04:00
Axel-CH
bfaf9e690d
add trade.has_open_position check to stoploss on exchange handling, remove deprecated comment
2024-09-24 12:26:36 -04:00
Axel-CH
beebc1743a
simplify has_open_position property, restore process_open_trades_positions comment
2024-09-24 12:17:11 -04:00
Axel-CH
5ba592ff47
Merge remote-tracking branch 'origin/develop' into feature/proceed-exit-while-open-order
2024-09-24 11:58:15 -04:00
Matthias
b084efdd06
feat: initialize trade objects with 0 amount
...
This way, it'll represent the owned amount
which will be updated once the order fills
2024-09-22 08:47:52 +02:00
Axel-CH
418356f383
fix codespell
2024-09-20 19:23:30 -04:00
Axel-CH
c6d7ae9d27
fix ruff format
2024-09-20 19:10:52 -04:00
Matthias
ad295946c0
fix: use precise calculation for decrease adjustment calculations
2024-09-17 20:19:22 +02:00
Axel-CH
6b8ca7217b
flake8 fix and cleanup
2024-09-11 21:48:48 -04:00
Axel-CH
2811a470aa
handle pre existing open order cancelation on trade exit
2024-09-11 21:11:20 -04:00
Axel-CH
33b421014d
remove irrelevant trade.has_open_orders conditions
2024-09-11 18:42:51 -04:00
Axel-CH
79ce1ddaef
rollback on process_open_trade_positions. Adjust position only if there is no open order, change will be made on other PR
2024-09-09 13:30:07 -04:00
Matthias
704e32b0dc
feat: properly parse marginmode on startup
2024-09-07 09:28:35 +02:00
Axel-CH
e9ba0d2ce8
Merge remote-tracking branch 'origin/develop' into feature/proceed-exit-while-open-order
2024-09-06 17:29:07 -04:00
Matthias
331159a3d8
fix: ensure handle_onexchange_order works without false warnings
...
futures were not properly handled in this command.
closes #10533
2024-08-14 21:18:51 +02:00
Matthias
ac1ac0debe
feat: set precision_mode_price when creating trade objects
2024-08-13 09:11:44 +02:00
Matthias
7c697d4ded
fix: Validate trades for fee
...
We can't rely on the "trades" subarray from the order
to contain everything we need
As such, we need to ensure that required properties are present and not None.
closes #10398
2024-07-04 16:38:12 +02:00
Axel-CH
6a580176ea
Merge branch 'develop' into feature/proceed-exit-while-open-order
2024-07-01 17:49:40 -04:00
Matthias
1775d86af2
Merge branch 'develop' into ci/ccxt.pro
2024-06-14 19:46:14 +02:00
Matthias
6b932133ea
Log during cleanup
2024-06-08 09:20:23 +02:00
Matthias
12852438a5
Call connection at intervals
2024-05-31 06:52:11 +02:00
Matthias
32ff3ebb99
Improve handling for immediately canceled orders
2024-05-26 09:42:28 +02:00
Matthias
edd92194b0
have handle_onexchange_order delete trades if no order filled.
2024-05-26 08:36:02 +02:00
Stefano Ariestasia
75965cd50f
modify MeasureTime log message to include time limit and 's' suffix
2024-05-14 16:20:20 +09:00
Matthias
9291698561
A few more formatting updates
2024-05-13 19:49:15 +02:00
Matthias
a9732c6195
Fix odd formatting by ruff format
2024-05-13 07:10:25 +02:00
Matthias
876a8f9e3e
ruff format: remaining files
2024-05-13 07:10:25 +02:00
Matthias
a8eabd0b2e
Update remaining files with new import sorting
2024-05-13 07:10:24 +02:00
Matthias
21b1f5aab8
Update wording
2024-04-28 09:31:28 +02:00
Matthias
8e5c574224
Don't handle case where base_currency is not set
...
(very old trades)
2024-04-25 19:56:27 +02:00
Matthias
adbf1b5e6f
Adjust trade amount by 2% if trade recovery remains above the trade amount
...
closes #10002
2024-04-25 13:43:46 +02:00
Matthias
0a89efd002
Only cancel stoploss if really necessary
...
partial workaround for #10002
2024-04-25 11:43:24 +02:00
Matthias
c802d39f67
Merge pull request #10097 from freqtrade/feat/measure_time
...
Add "measure time" to warn users about strategies taking excessive time
2024-04-21 11:28:54 +02:00
Matthias
9b1def604f
Fix mutable arg in freqtradebot
2024-04-20 09:08:04 +02:00
Christian Clauss
99b4767bf4
Fix typos discovered by codespell
2024-04-18 22:51:25 +02:00
Matthias
0a7ed55ade
Reduce duplicate warning
2024-04-18 21:01:48 +02:00
Matthias
bc85352098
Split timeframe_to_secs from loggingmixin init
2024-04-18 06:55:05 +02:00
Matthias
82482ec159
Fix / improve types
2024-04-17 20:58:58 +02:00
Matthias
c6a50b3c06
Use MeasureTime to warn if a strategy takes too long
...
using 25% of the candle as reference time for now.
2024-04-17 20:53:49 +02:00
Matthias
2297b3ed55
Split timeframe_to_secs from loggingmixin init
2024-04-17 20:13:02 +02:00
Axel-CH
910b3ad536
allow adjust trade position, even if there is an open order
2024-04-15 15:40:57 -04:00
Axel-CH
6752c3e288
add has_untied_assets, replace one has_open_orders condition by has_untied_assets in exit_positions
2024-04-15 14:43:40 -04:00
Matthias
82565a9667
Merge pull request #9955 from Axel-CH/feature/trade-lifecycle-callbacks
...
Feature: trade lifecycle callbacks
2024-03-28 19:35:53 +01:00
Axel-CH
f60d6c8f65
remove duplicate call of order_filled callback
2024-03-25 13:12:13 -04:00
Axel-CH
b2a6722687
remove order filled cb from handle_stoploss_on_exchange
2024-03-21 21:51:52 -04:00
Axel-CH
72225daa6a
add order_filled callback call for stoploss orders
2024-03-21 19:36:58 -04:00
Axel-CH
d1e1b8410b
add order parameter to order_filled callback
2024-03-18 20:47:27 -04:00
Axel-CH
cd986ced45
moove order_filled callback position from update_trade_state to _update_trade_after_fill
2024-03-18 17:56:46 -04:00