Dan
Dan
Updated fetchOrdersByStatus, fetchOpenOrders and fetchClosedOrders to `v2`: ### Spot: ``` coinex.fetchOpenOrders (BTC/USDT) id | datetime | timestamp | lastTradeTimestamp | symbol | type | side | price | cost |...
Updated fetchMyTrades to v2: ``` coinex.fetchMyTrades (BTC/USDT, , 1) 2024-05-03T01:55:54.150Z iteration 0 passed in 310 ms timestamp | datetime | symbol | id | order | side | price |...
Updated `fetchLeverageTiers` and `fetchMarketLeverageTiers` to v2 and added static request tests: ``` coinex fetchLeverageTiers '["BTC/USDT:USDT"]' coinex.fetchLeverageTiers (BTC/USDT:USDT) 2024-05-10T07:05:35.944Z iteration 0 passed in 245 ms { 'BTC/USDT:USDT': [ { tier: 1,...
Updated setLeverage to v2: ``` coinex setLeverage 3 BTC/USDT:USDT '{"marginMode":"isolated"}' { code: '0', data: { leverage: '3', margin_mode: 'isolated' }, message: 'OK' } ```
Updated setMarginMode to v2: ``` coinex setMarginMode isolated BTC/USDT:USDT '{"leverage":1}' { code: '0', data: { leverage: '1', margin_mode: 'isolated' }, message: 'OK' } ```
Updated fetchCurrencies to v2 by fetching the base currencies from the spot markets endpoint because the v2 API didn't have a better option. Set the coinex version to v2 ```...
Added a `hedged` param to createOrder and set one way mode as the default by setting this param `'positionSide': 'BOTH'` 
Added new methods `fetchLongShortRatio` and `fetchLongShortRatioHistory` to multiple exchanges: - binance (still needs to be tested, I only have testnet keys that don't work for these endpoints) - bitget -...
Added some unified endpoints to gate and added unified support to fetchBalance