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
Matthias
ad295946c0
fix: use precise calculation for decrease adjustment calculations
2024-09-17 20:19:22 +02:00
Matthias
704e32b0dc
feat: properly parse marginmode on startup
2024-09-07 09:28:35 +02: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
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
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
Axel-CH
18a3489a6f
add order_filled callback to bot and backtest
2024-03-18 15:46:47 -04:00
Stefano Ariestasia
c5201a6476
fix precommit
2024-03-12 16:31:53 +09:00
Stefano Ariestasia
8000f94295
changing the partial exit logic to be simpler and easier to understand
2024-03-12 16:28:40 +09:00
Matthias
2cfe993951
Fix condition for min-stake in position-adjust mode
...
closes #9915
2024-03-08 07:10:47 +01:00
Matthias
aad327b1fe
Update comment around funding fees
2024-02-25 09:02:58 +01:00
Matthias
c663016b47
Improve some type safety
2024-02-24 08:06:06 +01:00
Matthias
e30fa3a445
Remove duplicate pairlistmanager init
2024-02-22 18:17:58 +01:00
Matthias
d01e9cf299
Improve log message
2024-02-15 18:20:11 +01:00
Matthias
9bfd34a4f3
Merge pull request #9267 from Axel-CH/feature/update_sl_order_mgt
...
Update stoploss order management
2024-02-02 06:43:02 +01:00
Matthias
830a004dfd
Move response handling to interface wrappermethod
2024-01-30 07:24:36 +01:00
Matthias
535ff387ff
add order_tag handlig to running bot
2024-01-30 07:24:36 +01:00
Matthias
e76888882d
Fix typehint
2024-01-19 18:59:52 +01:00
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
7c7ddb3b19
Fix improt sorting
2024-01-07 14:46:41 +01:00
Matthias
6121c7ed86
Remove pointless condition (freqtradebot only ever exists in dry/live modes).
2024-01-06 18:21:41 +01:00