forked from bybit-exchange/api-connectors
-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_linear_search_order_result.go
35 lines (33 loc) · 1.29 KB
/
model_linear_search_order_result.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
* Bybit API
*
* ## REST API for the Bybit Exchange. Base URI: [https://api.bybit.com]
*
* API version: 0.2.10
* Contact: [email protected]
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package swagger
type LinearSearchOrderResult struct {
CreatedTime string `json:"created_time,omitempty"`
CumExecFee float64 `json:"cum_exec_fee,omitempty"`
CumExecQty float64 `json:"cum_exec_qty,omitempty"`
CumExecValue float64 `json:"cum_exec_value,omitempty"`
LastExecPrice float64 `json:"last_exec_price,omitempty"`
OrderId string `json:"order_id,omitempty"`
OrderLinkId string `json:"order_link_id,omitempty"`
OrderStatus string `json:"order_status,omitempty"`
OrderType string `json:"order_type,omitempty"`
Price float64 `json:"price,omitempty"`
Qty float64 `json:"qty,omitempty"`
ReduceOnly bool `json:"reduce_only,omitempty"`
Side string `json:"side,omitempty"`
Symbol string `json:"symbol,omitempty"`
TimeInForce string `json:"time_in_force,omitempty"`
UpdatedTime string `json:"updated_time,omitempty"`
UserId int64 `json:"user_id,omitempty"`
TakeProfit float64 `json:"take_profit,omitempty"`
StopLoss float64 `json:"stop_loss,omitempty"`
TpTriggerBy string `json:"tp_trigger_by,omitempty"`
SlTriggerBy string `json:"sl_trigger_by,omitempty"`
}