Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelAllPlanReq ¶
type CancelAllPlanReq struct { /** * Plan type */ PlanType string `json:"planType"` ProductType string `json:"productType"` }
*
- @Author: bitget-sdk-team
- @Date: 2022-09-30 10:46
- @DES: cancel plan request
type CancelPlanBySymbolReq ¶
type CancelPlanReq ¶
type CancelPlanReq struct { /** * Currency pair */ Symbol string `json:"symbol"` /** * Deposit currency */ MarginCoin string `json:"marginCoin"` /** * Order Id */ OrderId string `json:"orderId"` /** * Plan type */ PlanType string `json:"planType"` }
*
- @Author: bitget-sdk-team
- @Date: 2022-09-30 10:46
- @DES: cancel plan request
type ModifyPlanPresetReq ¶
type ModifyPlanPresetReq struct { /** * Currency pair */ Symbol string `json:"symbol"` /** * Deposit currency */ MarginCoin string `json:"marginCoin"` /** * If the profit stop price is blank, cancel the profit stop */ PresetTakeProfitPrice string `json:"presetTakeProfitPrice"` /** * If the stop loss price is blank, cancel the stop loss */ PresetStopLossPrice string `json:"presetStopLossPrice"` /** * order id */ OrderId string `json:"orderId"` /** * plan type */ PlanType string `json:"planType"` }
*
- @Author: bitget-sdk-team
- @Date: 2022-09-30 10:46
- @DES: modify plan request
type ModifyPlanReq ¶
type ModifyPlanReq struct { /** * Currency pair */ Symbol string `json:"symbol"` /** * Deposit currency */ MarginCoin string `json:"marginCoin"` /** * Planned entrusted order No */ OrderId string `json:"orderId"` /** * Execution price */ ExecutePrice string `json:"executePrice"` /** * Trigger Price */ TriggerPrice string `json:"triggerPrice"` /** * Trigger Type */ TriggerType string `json:"triggerType"` /** * Order Type */ OrderType string `json:"orderType"` }
*
- @Author: bitget-sdk-team
- @Date: 2022-09-30 10:46
- @DES: placePlan request
type ModifyTPSLPlanReq ¶
type ModifyTPSLPlanReq struct { /** * Currency pair */ Symbol string `json:"symbol"` /** * Deposit currency */ MarginCoin string `json:"marginCoin"` /** * Order id */ OrderId string `json:"orderId"` /** * Trigger price */ TriggerPrice string `json:"triggerPrice"` /** * plan type */ PlanType string `json:"planType"` }
*
- @Author: bitget-sdk-team
- @Date: 2022-09-30 10:46
- @DES: modify plan request
type PlacePlanReq ¶
type PlacePlanReq struct { /** * Currency pair */ Symbol string `json:"symbol"` /** * Deposit currency */ MarginCoin string `json:"marginCoin"` /** * Amount of currency placed */ Size string `json:"size"` /** * Entrusted price */ ExecutePrice string `json:"executePrice"` /** * Trigger Price */ TriggerPrice string `json:"triggerPrice"` /** * Entrusting direction */ Side string `json:"side"` /** * Transaction Type */ OrderType string `json:"orderType"` /** * Trigger Type Transaction Price Trigger Flag Price Trigger */ TriggerType string `json:"triggerType"` /** * Client ID */ ClientOid string `json:"clientOid"` /** * Default stop profit price */ PresetTakeProfitPrice string `json:"presetTakeProfitPrice,omitempty"` /** * Preset stop loss price */ PresetStopLossPrice string `json:"presetStopLossPrice,omitempty"` }
*
- @Author: bitget-sdk-team
- @Date: 2022-09-30 10:46
- @DES: placePlan request
type PlacePositionTPSLReq ¶
type PlacePositionTPSLReq struct { /** * Currency pair */ Symbol string `json:"symbol"` /** * Deposit currency */ MarginCoin string `json:"marginCoin"` /** * Plan type */ PlanType string `json:"planType"` /** * Trigger price */ TriggerPrice string `json:"triggerPrice"` TriggerType string `json:"triggerType"` /** * Is this position long or short */ HoldSide string `json:"holdSide"` }
type PlaceTPSLReq ¶
type PlaceTPSLReq struct { /** * Currency pair */ Symbol string `json:"symbol"` /** * Deposit currency */ MarginCoin string `json:"marginCoin"` /** * Plan type */ PlanType string `json:"planType"` /** * Trigger price */ TriggerPrice string `json:"triggerPrice"` /** * Is this position long or short */ HoldSide string `json:"holdSide"` }
*
- @Author: bitget-sdk-team
- @Date: 2022-09-30 10:46
- @DES: modify plan request
Click to show internal directories.
Click to hide internal directories.