Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenCountReq ¶
type OpenCountReq struct { /** * Currency pair */ Symbol string `json:"symbol"` /** * Deposit currency */ MarginCoin string `json:"marginCoin"` /** * open price */ OpenPrice string `json:"openPrice"` /** * open amount */ OpenAmount string `json:"openAmount"` /** * Default leverage 20 */ Leverage string `json:"leverage"` }
*
- @Author: bitget-sdk-team
- @Date: 2022-09-30 10:46
- @DES: Get the openable request
type SetLeveragerReq ¶
type SetLeveragerReq struct { /** * Currency pair */ Symbol string `json:"symbol"` /** * Deposit currency */ MarginCoin string `json:"marginCoin"` /** * Leverage ratio */ Leverage string `json:"leverage"` /** * The whole warehouse lever can not transfer this parameter * Position direction: long multi position short short position, * MixHoldSideEnum */ HoldSide string `json:"holdSide"` }
*
- @Author: bitget-sdk-team
- @Date: 2022-09-30 10:46
- @DES: set lever request
type SetMarginModeReq ¶
type SetMarginModeReq struct { /** * Margin mode */ MarginMode string `json:"marginMode"` /** * Currency pair */ Symbol string `json:"symbol"` /** * Deposit currency */ MarginCoin string `json:"marginCoin"` }
*
- @Author: bitget-sdk-team
- @Date: 2022-09-30 10:46
- @DES: Adjust margin mode request
type SetMarginReq ¶
type SetMarginReq struct { /** * Position direction (all positions are not transferred) */ HoldSide string `json:"holdSide"` /** * Amount greater than 0 increases less than 0 decreases */ Amount string `json:"amount"` /** * Currency pair */ Symbol string `json:"symbol"` /** * Deposit currency */ MarginCoin string `json:"marginCoin"` }
*
- @Author: bitget-sdk-team
- @Date: 2022-09-30 10:46
- @DES: Adjustment margin request
type SetPositionModeReq ¶
Click to show internal directories.
Click to hide internal directories.