Commit Graph

171 Commits

Author SHA1 Message Date
Matthias
f369151e8e chore: update exchange config to modern typing syntax 2024-10-04 06:46:45 +02:00
Matthias
9bdee1b82d feat: improve typing of fetch_funding_rates 2024-10-02 07:05:00 +02:00
Matthias
c5525d356e feat: support backtesting with cross configuration 2024-10-02 07:05:00 +02:00
Matthias
319e8d746f feat: use proper trade objects for liquidation calc 2024-10-02 07:05:00 +02:00
Matthias
fe7a88362b feat: add method to fetch binance funding fees
which is necessary to calculate accurate liquidation prices
2024-10-02 07:05:00 +02:00
Matthias
ac8bc7dec2 fix: use "other trades" logic for binance cross calc 2024-10-02 07:05:00 +02:00
Matthias
1473abf19a refactor: rename dry-liquidation parameter
passing all open trades will be more flexible for the future.
2024-10-02 07:05:00 +02:00
Matthias
ec79b0b17b feat: update dry-run calculation params to be more generic 2024-10-02 07:05:00 +02:00
Matthias
6a4b641250 feat: implement __str__ for marign and tradingmode enums 2024-09-06 20:58:54 +02:00
Matthias
964d437c7a chore: type _ft_has 2024-09-04 07:15:17 +02:00
Matthias
d49c556291 chore: rename ft_has setting from ws.enabled to ws_enabled 2024-09-04 06:57:13 +02:00
Matthias
e3a5831d64 refactor: rename exchange.types 2024-09-04 06:42:51 +02:00
Matthias
7209b2e71a Merge branch 'develop' into ci/ccxt.pro 2024-07-03 13:13:13 +02:00
Matthias
776a8e43cd Add trades_has_history attribute 2024-06-20 18:24:43 +02:00
Matthias
0ec751826b Opt in binance to websocket support 2024-05-31 06:40:14 +02:00
Matthias
1e2662b627 Greatly simplify leverage tier loading for binance 2024-05-16 18:20:14 +02:00
Matthias
53eefb9442 ruff format: exchange classes 2024-05-13 07:10:25 +02:00
Matthias
65654a4a44 Update ccxt exception handlers
OperationFailed is the new NetworkError

closes #10071
2024-04-13 11:12:10 +02:00
Matthias
19620470bd Improve funding fee cutof logic 2023-10-09 07:04:13 +02:00
Matthias
d52d30cfbe invert setting-location for stopLossPrice
Slowly migrating to stopLossPrice in favor of stopPrice.
2023-09-28 19:33:59 +02:00
Matthias
75628403b0 Invert order_props_in_contracts logic - cost is almost never in contracts 2023-07-20 19:51:45 +02:00
Matthias
6292d1af6d Use camelcase version of private fapi method
closes #8680
2023-05-23 19:07:58 +02:00
Matthias
2477ef57f9 Reduce arrow usage throughout code 2023-05-18 07:00:36 +02:00
Matthias
444d18aa39 Revert binance PO fix, since ccxt has fixed this bug. 2023-03-26 16:21:51 +02:00
Matthias
3d91dd8a98 Support post-only orders for Binance spot
closes #8044
2023-03-19 15:36:35 +01:00
Matthias
d014e4590e use Path.open() instead of open 2023-02-25 17:15:54 +01:00
Matthias
eab724fe54 Merge branch 'develop' into fut/stop_price_type 2023-02-09 20:02:59 +01:00
Matthias
102c1e799c realign binance set_leverage override 2023-02-08 07:08:42 +01:00
Matthias
c4fc811619 Add stop_price_type support (futures only!). 2023-02-05 10:38:58 +01:00
Matthias
fa033965c8 use "swap" for bybit 2023-01-27 19:34:29 +01:00
Matthias
73ef1d5191 Improve exception wording on binance 2023-01-26 19:53:14 +01:00
Matthias
c2b33a0f58 Fix set-leverage function sig 2023-01-24 07:21:56 +01:00
Matthias
34e7433844 Add leverage to dry-run liquidation price calculation 2023-01-24 07:21:56 +01:00
Matthias
5ad664aaca Update binance futures name to swap 2023-01-12 23:35:16 +01:00
Matthias
75b0a3e63d Use dedicated type for OHLCV response 2023-01-05 11:30:15 +01:00
Matthias
ce13ce4b10 Update binance stoploss order types
closes #7927
an update to the most recent ccxt version (>2.4.55) would have the same effect.
2022-12-25 09:05:53 +01:00
Matthias
cf6b75a3f3 Use combined stoploss_adjust where possible 2022-10-26 07:12:42 +02:00
Matthias
52e9528361 Improve ticker type 2022-10-11 19:33:07 +00:00
Matthias
a96aa568bf Add binance futures mode checks
closes #7505
2022-10-01 09:23:41 +02:00
Matthias
4a0a0c307c Use json_load to load leverage tiers 2022-09-19 07:23:26 +02:00
Matthias
ca6dec3d4c Binance spot also allows market orders
closes #7426
2022-09-17 17:11:00 +02:00
Matthias
8639c1f23d Reduce complexity in binance stoploss handling 2022-09-17 17:11:00 +02:00
Matthias
104a73025d Uppercase TimeInForce (align with ccxt) 2022-08-27 10:30:06 +02:00
Matthias
01126c43f7 Fix liquidation price tier calculation
closes #7294
2022-08-26 20:14:24 +02:00
Matthias
53e5483daa Store StopPrice for dry-run orders
closes #6996
2022-06-22 06:31:51 +02:00
Matthias
a875a7dc40 Use unified stopPrice for binance 2022-05-29 11:01:01 +02:00
Matthias
b2968df5dc Fix some type problems 2022-05-25 10:13:37 +00:00
Matthias
11d447cd5a Add support for download-data "until" 2022-04-30 15:42:41 +02:00
Matthias
2791e799ee Rename tickers_has_quoteVolume 2022-03-18 16:49:37 +01:00
Matthias
208a139d2b Incorporate fetch_bids_asks to allow binance spread filter to work
closes #6474
2022-03-18 07:08:16 +01:00