Files
freqtrade/tests
qqqqqf 97f30cf13d feat(telegram): Add /profit long and /profit short commands
This commit enhances the /profit Telegram command to allow filtering by trade direction.

- The `_profit` handler in `telegram.py` now parses 'long'/'short' arguments and passes the direction to the RPC layer.
- The `_rpc_trade_statistics` method in `rpc.py` is updated to filter trades based on the provided direction. It has also been refactored for lower complexity.
- The `/help` command documentation is updated to reflect the new functionality.
- Corresponding unit tests in `test_rpc_telegram.py` are updated and extended to cover the new cases.
2025-07-12 08:41:39 +08:00
..
2025-07-04 19:29:12 +02:00
2025-06-10 18:20:02 +02:00
2025-07-04 19:29:12 +02:00
2019-09-08 19:05:22 +02:00
2021-08-06 16:35:39 -06:00
2019-10-24 23:11:07 +03:00
2025-04-05 18:14:20 +02:00
2020-09-28 19:43:15 +02:00