Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitMessageListener ¶
func InitMessageListener()
Types ¶
type BrokerProduct ¶
type BrokerProduct struct { Id uint `json:"id"` ConnectionId uint `json:"connectionId"` ExchangeId uint `json:"exchangeId"` Username string `json:"username"` Symbol string `json:"symbol"` Name string `json:"name"` PointValue float32 `json:"pointValue"` CostPerOperation float32 `json:"costPerOperation"` MarginValue float32 `json:"marginValue"` Increment float64 `json:"increment"` MarketType string `json:"marketType"` ProductType string `json:"productType"` }
type BrokerProductMessage ¶
type BrokerProductMessage struct { BrokerProduct BrokerProduct `json:"brokerProduct"` Connection Connection `json:"connection"` Exchange Exchange `json:"exchange"` }
type Connection ¶
type Connection struct { Id uint `json:"id"` Username string `json:"username"` Code string `json:"code"` Name string `json:"name"` SystemCode string `json:"systemCode"` SystemName string `json:"systemName"` SystemConfig string `json:"systemConfig"` InstanceCode string `json:"instanceCode"` SupportsData bool `json:"supportsData"` SupportsBroker bool `json:"supportsBroker"` SupportsMultipleData bool `json:"supportsMultipleData"` SupportsInventory bool `json:"supportsInventory"` }
type TradingSystem ¶
type TradingSystem struct { Id uint `json:"id"` Username string `json:"username"` WorkspaceCode string `json:"workspaceCode"` Name string `json:"name"` PortfolioId uint `json:"portfolioId"` DataProductId uint `json:"dataProductId"` BrokerProductId uint `json:"brokerProductId"` TradingSessionId uint `json:"tradingSessionId"` }
type TradingSystemMessage ¶
type TradingSystemMessage struct { TradingSystem TradingSystem `json:"tradingSystem"` BrokerProduct BrokerProduct `json:"brokerProduct"` Currency Currency `json:"currency"` }
Click to show internal directories.
Click to hide internal directories.