Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HeartbeatPayload ¶
type HeartbeatPayload struct {
Time clearbank.Time `json:"Time"`
}
type MarketDataPayload ¶
type MarketDataPayload struct { Symbol string `json:"Symbol"` Currency string `json:"Currency"` ValueDate clearbank.Time `json:"ValueDate"` Type string `json:"Type"` SendingTime string `json:"SendingTime"` Entries []struct { Size float64 `json:"Size"` Price float64 `json:"Price"` } `json:"Entries"` }
type MarketMessage ¶
type MarketMessage struct { Type string `json:"Type"` Version int `json:"Version"` Payload json.RawMessage `json:"Payload"` }
type SubscriptionRequest ¶
type SubscriptionRequest struct { Type string `json:"Type"` Version int `json:"Version"` Payload struct { CurrencyPair string `json:"CurrencyPair"` } `json:"Payload"` }
func NewSubscriptionRequest ¶
func NewSubscriptionRequest(symbol string) SubscriptionRequest
Click to show internal directories.
Click to hide internal directories.