account

package
v0.0.0-...-2ee972e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2022 License: MIT Imports: 0 Imported by: 0

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

type SetPositionModeReq struct {
	HoldMode   string `json:"holdMode"`
	Symbol     string `json:"symbol"`
	MarginCoin string `json:"marginCoin"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL