Skip to content

Commit

Permalink
add externalReferralProgram field to requestForPlaceOrder
Browse files Browse the repository at this point in the history
  • Loading branch information
LootMaker committed Nov 23, 2021
1 parent 32ef323 commit cc12ca4
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions rest/private/orders/place-order.go
Expand Up @@ -10,16 +10,17 @@ import (
var json = jsoniter.ConfigCompatibleWithStandardLibrary

type RequestForPlaceOrder struct {
ClientID string `json:"clientId,omitempty"`
Type string `json:"type"`
Market string `json:"market"`
Side string `json:"side"`
Price float64 `json:"price"`
Size float64 `json:"size"`
ReduceOnly bool `json:"reduceOnly,omitempty"`
Ioc bool `json:"ioc,omitempty"`
PostOnly bool `json:"postOnly,omitempty"`
RejectOnPriceBand bool `json:"rejectOnPriceBand,omitempty"`
ClientID string `json:"clientId,omitempty"`
Type string `json:"type"`
Market string `json:"market"`
Side string `json:"side"`
Price float64 `json:"price"`
Size float64 `json:"size"`
ReduceOnly bool `json:"reduceOnly,omitempty"`
Ioc bool `json:"ioc,omitempty"`
PostOnly bool `json:"postOnly,omitempty"`
RejectOnPriceBand bool `json:"rejectOnPriceBand,omitempty"`
ExternalReferralProgram string `json:"externalReferralProgram,omitempty"`
}

type ResponseForPlaceOrder struct {
Expand Down

0 comments on commit cc12ca4

Please sign in to comment.