buy sell 관련 함수 정리 및 처리 -> 테스트는 필요
This commit is contained in:
@@ -98,7 +98,16 @@ namespace BitgetAPI
|
||||
[Description("BitgetOrderCancel_FUTURE")]
|
||||
BitgetCancelOrder_Future = 32,
|
||||
[Description("BitgetPendingOrder_FUTURE")]
|
||||
BitgetPendingOrder_Future = 33
|
||||
BitgetPendingOrder_Future = 33,
|
||||
[Description("BitgetChangeLeverage_FUTURE")]
|
||||
BitgetChangeLeverage_Future = 34,
|
||||
[Description("BitgetChangeMarginMode_FUTURE")]
|
||||
BitgetChangeMarginMode_Future = 35,
|
||||
[Description("BitgetChangePositionMode_FUTURE")]
|
||||
BitgetChangePositionMode_Future = 36,
|
||||
[Description("BitgetOrderDetail_FUTURE")]
|
||||
BitgetOrderDetail_Future = 37,
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
@@ -119,6 +128,14 @@ namespace BitgetAPI
|
||||
sell =1
|
||||
}
|
||||
|
||||
public enum FuturePositionMode
|
||||
{
|
||||
[Description("one_way_mode")]
|
||||
one_way_mode = 0,
|
||||
[Description("hedge_mode")]
|
||||
hedge_mode = 1
|
||||
}
|
||||
|
||||
public enum OrderType
|
||||
{
|
||||
[Description("limit")]
|
||||
@@ -227,6 +244,11 @@ namespace BitgetAPI
|
||||
public static string BitgetURL_BuySellOrder_Future = @"https://api.bitget.com/api/v2/mix/order/place-order";
|
||||
public static string BitgetURL_CancelOrder_Future = @"https://api.bitget.com/api/v2/mix/order/cancel-order";
|
||||
public static string BitgetURL_PendingOrders_Future = @"https://api.bitget.com/api/v2/mix/order/orders-pending?productType=usdt-futures";
|
||||
public static string BitgetURL_ChangeLeverage_Future = @"https://api.bitget.com/api/v2/mix/account/set-leverage";
|
||||
public static string BitgetURL_ChangeMarginMode_Future = @"https://api.bitget.com/api/v2/mix/account/set-margin-mode";
|
||||
public static string BitgetURL_ChangePositionMode_Future = @"https://api.bitget.com/api/v2/mix/account/set-position-mode";
|
||||
public static string BitgetURL_OrderDetail_Future = @"https://api.bitget.com/api/v2/mix/order/detail";
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user