package
Version:
v0.0.0-...-f28d60f
Opens a new window with list of versions in this module.
Published: Nov 17, 2024
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func InitMessageListener()
type Trade struct {
TradeType db.TradeType `json:"tradeType"`
EntryTime *time.Time `json:"entryTime"`
EntryValue float64 `json:"entryValue"`
ExitTime *time.Time `json:"exitTime"`
ExitValue float64 `json:"exitValue"`
GrossProfit float64 `json:"grossProfit"`
NumContracts int `json:"numContracts"`
}
type TradeMessage struct {
TradingSystemId uint `json:"tradingSystemId"`
Trades []*Trade `json:"trades"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.