messaging

package
v0.0.0-...-1a031c1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitMessageListener

func InitMessageListener()

Types

type Currency

type Currency struct {
	Id   uint   `json:"id"`
	Code string `json:"code"`
}

type ProductBroker

type ProductBroker struct {
	Symbol       string  `json:"symbol"`
	PointValue   float32 `json:"pointValue"`
	CostPerTrade float32 `json:"costPerTrade"`
	MarginValue  float32 `json:"marginValue"`
}

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"`
	ProductFeedId    uint   `json:"productFeedId"`
	ProductBrokerId  uint   `json:"productBrokerId"`
	TradingSessionId uint   `json:"tradingSessionId"`
}

type TradingSystemMessage

type TradingSystemMessage struct {
	TradingSystem TradingSystem `json:"tradingSystem"`
	ProductBroker ProductBroker `json:"productBroker"`
	Currency      Currency      `json:"currency"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL