Fix styling
This commit is contained in:
1 parent
4d0a9ebe56
commit
10e9a84d36
6 files changed
+76
-81
No files matched your search
@@ -9,10 +9,9 @@ interface ChangeMarginModeRequestContract
|
||||
/**
|
||||
* Change margin mode for a trading pair
|
||||
*
|
||||
* @param string $symbol Trading pair (e.g., 'BTCUSDT')
|
||||
* @param string $marginCoin Margin coin (e.g., 'USDT')
|
||||
* @param string $marginMode Margin mode ('ISOLATION' or 'CROSS')
|
||||
* @return ResponseInterface
|
||||
* @param string $symbol Trading pair (e.g., 'BTCUSDT')
|
||||
* @param string $marginCoin Margin coin (e.g., 'USDT')
|
||||
* @param string $marginMode Margin mode ('ISOLATION' or 'CROSS')
|
||||
*/
|
||||
public function changeMarginMode(string $symbol, string $marginCoin, string $marginMode): ResponseInterface;
|
||||
}
|
||||
@@ -9,25 +9,24 @@ interface PlaceOrderRequestContract
|
||||
/**
|
||||
* Place a new order
|
||||
*
|
||||
* @param string $symbol Trading pair (e.g., 'BTCUSDT')
|
||||
* @param string $qty Amount (base coin)
|
||||
* @param string $side Order direction ('BUY' or 'SELL')
|
||||
* @param string $tradeSide Direction ('OPEN' or 'CLOSE')
|
||||
* @param string $orderType Order type ('LIMIT' or 'MARKET')
|
||||
* @param string|null $price Price of the order (required for LIMIT orders)
|
||||
* @param string|null $positionId Position ID (required when tradeSide is 'CLOSE')
|
||||
* @param string|null $effect Order expiration date
|
||||
* @param string|null $clientId Customize order ID
|
||||
* @param bool|null $reduceOnly Whether to just reduce the position
|
||||
* @param string|null $tpPrice Take profit trigger price
|
||||
* @param string|null $tpStopType Take profit trigger type
|
||||
* @param string|null $tpOrderType Take profit trigger place order type
|
||||
* @param string|null $tpOrderPrice Take profit trigger place order price
|
||||
* @param string|null $slPrice Stop loss trigger price
|
||||
* @param string|null $slStopType Stop loss trigger type
|
||||
* @param string|null $slOrderType Stop loss trigger place order type
|
||||
* @param string|null $slOrderPrice Stop loss trigger place order price
|
||||
* @return ResponseInterface
|
||||
* @param string $symbol Trading pair (e.g., 'BTCUSDT')
|
||||
* @param string $qty Amount (base coin)
|
||||
* @param string $side Order direction ('BUY' or 'SELL')
|
||||
* @param string $tradeSide Direction ('OPEN' or 'CLOSE')
|
||||
* @param string $orderType Order type ('LIMIT' or 'MARKET')
|
||||
* @param string|null $price Price of the order (required for LIMIT orders)
|
||||
* @param string|null $positionId Position ID (required when tradeSide is 'CLOSE')
|
||||
* @param string|null $effect Order expiration date
|
||||
* @param string|null $clientId Customize order ID
|
||||
* @param bool|null $reduceOnly Whether to just reduce the position
|
||||
* @param string|null $tpPrice Take profit trigger price
|
||||
* @param string|null $tpStopType Take profit trigger type
|
||||
* @param string|null $tpOrderType Take profit trigger place order type
|
||||
* @param string|null $tpOrderPrice Take profit trigger place order price
|
||||
* @param string|null $slPrice Stop loss trigger price
|
||||
* @param string|null $slStopType Stop loss trigger type
|
||||
* @param string|null $slOrderType Stop loss trigger place order type
|
||||
* @param string|null $slOrderPrice Stop loss trigger place order price
|
||||
*/
|
||||
public function placeOrder(
|
||||
string $symbol,
|
||||
@@ -50,4 +49,3 @@ interface PlaceOrderRequestContract
|
||||
?string $slOrderPrice = null
|
||||
): ResponseInterface;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user