Documentation
¶
Index ¶
- Constants
- Variables
- func DecodeInterval(key Key) time.Duration
- func DecodeSymbol(key Key) string
- func InitManager10(manager *Manager10, cfg Config)
- func InitManager11(manager *Manager11, cfg Config)
- func InitManager12(manager *Manager12, cfg Config)
- func InitManager13(manager *Manager13, cfg Config)
- func InitManager14(manager *Manager14, cfg Config)
- func InitManager15(manager *Manager15, cfg Config)
- func InitManager16(manager *Manager16, cfg Config)
- func InitManager17(manager *Manager17, cfg Config)
- func InitManager18(manager *Manager18, cfg Config)
- func InitManager19(manager *Manager19, cfg Config)
- func InitManager20(manager *Manager20, cfg Config)
- func InitManager21(manager *Manager21, cfg Config)
- func InitManager22(manager *Manager22, cfg Config)
- func InitManager23(manager *Manager23, cfg Config)
- func InitManager24(manager *Manager24, cfg Config)
- func InitManager25(manager *Manager25, cfg Config)
- func InitManager26(manager *Manager26, cfg Config)
- func InitManager27(manager *Manager27, cfg Config)
- func InitManager28(manager *Manager28, cfg Config)
- func InitManager29(manager *Manager29, cfg Config)
- func InitManager30(manager *Manager30, cfg Config)
- func InitManager31(manager *Manager31, cfg Config)
- func InitManager32(manager *Manager32, cfg Config)
- func InitManager33(manager *Manager33, cfg Config)
- func InitManager34(manager *Manager34, cfg Config)
- func InitManager7(manager *Manager7, cfg Config)
- func InitManager8(manager *Manager8, cfg Config)
- func InitManager9(manager *Manager9, cfg Config)
- func OkInterval(minute int64) bool
- type BookDaemon
- type BookEvent
- type BookFactory
- type BookLogRegistry
- type BrokerageData
- type BrokerageDataLogRegistry
- type BrokerageDataProvider
- type BrokerageDataReader
- type CandleDaemon
- type CandleEvent
- type CandleFactory
- type CandleLogRegistry
- type Config
- type Configurable
- type Consumer
- type Control
- type Cursor
- type Daemon
- type DaemonInfo
- type DataDaemon
- type DataFactory
- type Domain
- type Event
- type EventLog
- type Factory
- type FactoryConfig
- type FactoryInfo
- type Identifiable
- type Key
- type Lineage
- type Linker
- type Liveness
- type Manager
- func NewManager10(cfg Config) Manager
- func NewManager11(cfg Config) Manager
- func NewManager12(cfg Config) Manager
- func NewManager13(cfg Config) Manager
- func NewManager14(cfg Config) Manager
- func NewManager15(cfg Config) Manager
- func NewManager16(cfg Config) Manager
- func NewManager17(cfg Config) Manager
- func NewManager18(cfg Config) Manager
- func NewManager19(cfg Config) Manager
- func NewManager20(cfg Config) Manager
- func NewManager21(cfg Config) Manager
- func NewManager22(cfg Config) Manager
- func NewManager23(cfg Config) Manager
- func NewManager24(cfg Config) Manager
- func NewManager25(cfg Config) Manager
- func NewManager26(cfg Config) Manager
- func NewManager27(cfg Config) Manager
- func NewManager28(cfg Config) Manager
- func NewManager29(cfg Config) Manager
- func NewManager30(cfg Config) Manager
- func NewManager31(cfg Config) Manager
- func NewManager32(cfg Config) Manager
- func NewManager33(cfg Config) Manager
- func NewManager34(cfg Config) Manager
- func NewManager7(cfg Config) Manager
- func NewManager8(cfg Config) Manager
- func NewManager9(cfg Config) Manager
- type Manager10
- func (this *Manager10) AddBook(factory BookFactory) error
- func (this *Manager10) AddCandle(factory CandleFactory) error
- func (this *Manager10) AddData(factory DataFactory) error
- func (this *Manager10) AddSchedule(factory ScheduleFactory) error
- func (this *Manager10) AddSymbol(factory SymbolFactory) error
- func (this *Manager10) AddTrade(factory TradeFactory) error
- func (this *Manager10) Alive() int64
- func (this *Manager10) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager10) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager10) Hide(selector Selector) error
- func (this *Manager10) Kill(id uuid.UUID) error
- func (this *Manager10) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager10) PauseID(id uuid.UUID) error
- func (this *Manager10) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager10) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager10) ResumeID(id uuid.UUID) error
- func (this *Manager10) Revive(id uuid.UUID) error
- func (this *Manager10) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager10) Show(selector Selector) error
- func (this *Manager10) Shutdown() (err error)
- type Manager11
- func (this *Manager11) AddBook(factory BookFactory) error
- func (this *Manager11) AddCandle(factory CandleFactory) error
- func (this *Manager11) AddData(factory DataFactory) error
- func (this *Manager11) AddSchedule(factory ScheduleFactory) error
- func (this *Manager11) AddSymbol(factory SymbolFactory) error
- func (this *Manager11) AddTrade(factory TradeFactory) error
- func (this *Manager11) Alive() int64
- func (this *Manager11) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager11) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager11) Hide(selector Selector) error
- func (this *Manager11) Kill(id uuid.UUID) error
- func (this *Manager11) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager11) PauseID(id uuid.UUID) error
- func (this *Manager11) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager11) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager11) ResumeID(id uuid.UUID) error
- func (this *Manager11) Revive(id uuid.UUID) error
- func (this *Manager11) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager11) Show(selector Selector) error
- func (this *Manager11) Shutdown() (err error)
- type Manager12
- func (this *Manager12) AddBook(factory BookFactory) error
- func (this *Manager12) AddCandle(factory CandleFactory) error
- func (this *Manager12) AddData(factory DataFactory) error
- func (this *Manager12) AddSchedule(factory ScheduleFactory) error
- func (this *Manager12) AddSymbol(factory SymbolFactory) error
- func (this *Manager12) AddTrade(factory TradeFactory) error
- func (this *Manager12) Alive() int64
- func (this *Manager12) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager12) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager12) Hide(selector Selector) error
- func (this *Manager12) Kill(id uuid.UUID) error
- func (this *Manager12) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager12) PauseID(id uuid.UUID) error
- func (this *Manager12) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager12) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager12) ResumeID(id uuid.UUID) error
- func (this *Manager12) Revive(id uuid.UUID) error
- func (this *Manager12) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager12) Show(selector Selector) error
- func (this *Manager12) Shutdown() (err error)
- type Manager13
- func (this *Manager13) AddBook(factory BookFactory) error
- func (this *Manager13) AddCandle(factory CandleFactory) error
- func (this *Manager13) AddData(factory DataFactory) error
- func (this *Manager13) AddSchedule(factory ScheduleFactory) error
- func (this *Manager13) AddSymbol(factory SymbolFactory) error
- func (this *Manager13) AddTrade(factory TradeFactory) error
- func (this *Manager13) Alive() int64
- func (this *Manager13) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager13) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager13) Hide(selector Selector) error
- func (this *Manager13) Kill(id uuid.UUID) error
- func (this *Manager13) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager13) PauseID(id uuid.UUID) error
- func (this *Manager13) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager13) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager13) ResumeID(id uuid.UUID) error
- func (this *Manager13) Revive(id uuid.UUID) error
- func (this *Manager13) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager13) Show(selector Selector) error
- func (this *Manager13) Shutdown() (err error)
- type Manager14
- func (this *Manager14) AddBook(factory BookFactory) error
- func (this *Manager14) AddCandle(factory CandleFactory) error
- func (this *Manager14) AddData(factory DataFactory) error
- func (this *Manager14) AddSchedule(factory ScheduleFactory) error
- func (this *Manager14) AddSymbol(factory SymbolFactory) error
- func (this *Manager14) AddTrade(factory TradeFactory) error
- func (this *Manager14) Alive() int64
- func (this *Manager14) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager14) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager14) Hide(selector Selector) error
- func (this *Manager14) Kill(id uuid.UUID) error
- func (this *Manager14) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager14) PauseID(id uuid.UUID) error
- func (this *Manager14) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager14) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager14) ResumeID(id uuid.UUID) error
- func (this *Manager14) Revive(id uuid.UUID) error
- func (this *Manager14) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager14) Show(selector Selector) error
- func (this *Manager14) Shutdown() (err error)
- type Manager15
- func (this *Manager15) AddBook(factory BookFactory) error
- func (this *Manager15) AddCandle(factory CandleFactory) error
- func (this *Manager15) AddData(factory DataFactory) error
- func (this *Manager15) AddSchedule(factory ScheduleFactory) error
- func (this *Manager15) AddSymbol(factory SymbolFactory) error
- func (this *Manager15) AddTrade(factory TradeFactory) error
- func (this *Manager15) Alive() int64
- func (this *Manager15) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager15) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager15) Hide(selector Selector) error
- func (this *Manager15) Kill(id uuid.UUID) error
- func (this *Manager15) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager15) PauseID(id uuid.UUID) error
- func (this *Manager15) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager15) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager15) ResumeID(id uuid.UUID) error
- func (this *Manager15) Revive(id uuid.UUID) error
- func (this *Manager15) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager15) Show(selector Selector) error
- func (this *Manager15) Shutdown() (err error)
- type Manager16
- func (this *Manager16) AddBook(factory BookFactory) error
- func (this *Manager16) AddCandle(factory CandleFactory) error
- func (this *Manager16) AddData(factory DataFactory) error
- func (this *Manager16) AddSchedule(factory ScheduleFactory) error
- func (this *Manager16) AddSymbol(factory SymbolFactory) error
- func (this *Manager16) AddTrade(factory TradeFactory) error
- func (this *Manager16) Alive() int64
- func (this *Manager16) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager16) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager16) Hide(selector Selector) error
- func (this *Manager16) Kill(id uuid.UUID) error
- func (this *Manager16) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager16) PauseID(id uuid.UUID) error
- func (this *Manager16) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager16) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager16) ResumeID(id uuid.UUID) error
- func (this *Manager16) Revive(id uuid.UUID) error
- func (this *Manager16) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager16) Show(selector Selector) error
- func (this *Manager16) Shutdown() (err error)
- type Manager17
- func (this *Manager17) AddBook(factory BookFactory) error
- func (this *Manager17) AddCandle(factory CandleFactory) error
- func (this *Manager17) AddData(factory DataFactory) error
- func (this *Manager17) AddSchedule(factory ScheduleFactory) error
- func (this *Manager17) AddSymbol(factory SymbolFactory) error
- func (this *Manager17) AddTrade(factory TradeFactory) error
- func (this *Manager17) Alive() int64
- func (this *Manager17) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager17) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager17) Hide(selector Selector) error
- func (this *Manager17) Kill(id uuid.UUID) error
- func (this *Manager17) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager17) PauseID(id uuid.UUID) error
- func (this *Manager17) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager17) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager17) ResumeID(id uuid.UUID) error
- func (this *Manager17) Revive(id uuid.UUID) error
- func (this *Manager17) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager17) Show(selector Selector) error
- func (this *Manager17) Shutdown() (err error)
- type Manager18
- func (this *Manager18) AddBook(factory BookFactory) error
- func (this *Manager18) AddCandle(factory CandleFactory) error
- func (this *Manager18) AddData(factory DataFactory) error
- func (this *Manager18) AddSchedule(factory ScheduleFactory) error
- func (this *Manager18) AddSymbol(factory SymbolFactory) error
- func (this *Manager18) AddTrade(factory TradeFactory) error
- func (this *Manager18) Alive() int64
- func (this *Manager18) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager18) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager18) Hide(selector Selector) error
- func (this *Manager18) Kill(id uuid.UUID) error
- func (this *Manager18) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager18) PauseID(id uuid.UUID) error
- func (this *Manager18) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager18) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager18) ResumeID(id uuid.UUID) error
- func (this *Manager18) Revive(id uuid.UUID) error
- func (this *Manager18) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager18) Show(selector Selector) error
- func (this *Manager18) Shutdown() (err error)
- type Manager19
- func (this *Manager19) AddBook(factory BookFactory) error
- func (this *Manager19) AddCandle(factory CandleFactory) error
- func (this *Manager19) AddData(factory DataFactory) error
- func (this *Manager19) AddSchedule(factory ScheduleFactory) error
- func (this *Manager19) AddSymbol(factory SymbolFactory) error
- func (this *Manager19) AddTrade(factory TradeFactory) error
- func (this *Manager19) Alive() int64
- func (this *Manager19) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager19) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager19) Hide(selector Selector) error
- func (this *Manager19) Kill(id uuid.UUID) error
- func (this *Manager19) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager19) PauseID(id uuid.UUID) error
- func (this *Manager19) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager19) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager19) ResumeID(id uuid.UUID) error
- func (this *Manager19) Revive(id uuid.UUID) error
- func (this *Manager19) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager19) Show(selector Selector) error
- func (this *Manager19) Shutdown() (err error)
- type Manager20
- func (this *Manager20) AddBook(factory BookFactory) error
- func (this *Manager20) AddCandle(factory CandleFactory) error
- func (this *Manager20) AddData(factory DataFactory) error
- func (this *Manager20) AddSchedule(factory ScheduleFactory) error
- func (this *Manager20) AddSymbol(factory SymbolFactory) error
- func (this *Manager20) AddTrade(factory TradeFactory) error
- func (this *Manager20) Alive() int64
- func (this *Manager20) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager20) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager20) Hide(selector Selector) error
- func (this *Manager20) Kill(id uuid.UUID) error
- func (this *Manager20) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager20) PauseID(id uuid.UUID) error
- func (this *Manager20) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager20) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager20) ResumeID(id uuid.UUID) error
- func (this *Manager20) Revive(id uuid.UUID) error
- func (this *Manager20) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager20) Show(selector Selector) error
- func (this *Manager20) Shutdown() (err error)
- type Manager21
- func (this *Manager21) AddBook(factory BookFactory) error
- func (this *Manager21) AddCandle(factory CandleFactory) error
- func (this *Manager21) AddData(factory DataFactory) error
- func (this *Manager21) AddSchedule(factory ScheduleFactory) error
- func (this *Manager21) AddSymbol(factory SymbolFactory) error
- func (this *Manager21) AddTrade(factory TradeFactory) error
- func (this *Manager21) Alive() int64
- func (this *Manager21) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager21) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager21) Hide(selector Selector) error
- func (this *Manager21) Kill(id uuid.UUID) error
- func (this *Manager21) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager21) PauseID(id uuid.UUID) error
- func (this *Manager21) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager21) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager21) ResumeID(id uuid.UUID) error
- func (this *Manager21) Revive(id uuid.UUID) error
- func (this *Manager21) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager21) Show(selector Selector) error
- func (this *Manager21) Shutdown() (err error)
- type Manager22
- func (this *Manager22) AddBook(factory BookFactory) error
- func (this *Manager22) AddCandle(factory CandleFactory) error
- func (this *Manager22) AddData(factory DataFactory) error
- func (this *Manager22) AddSchedule(factory ScheduleFactory) error
- func (this *Manager22) AddSymbol(factory SymbolFactory) error
- func (this *Manager22) AddTrade(factory TradeFactory) error
- func (this *Manager22) Alive() int64
- func (this *Manager22) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager22) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager22) Hide(selector Selector) error
- func (this *Manager22) Kill(id uuid.UUID) error
- func (this *Manager22) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager22) PauseID(id uuid.UUID) error
- func (this *Manager22) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager22) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager22) ResumeID(id uuid.UUID) error
- func (this *Manager22) Revive(id uuid.UUID) error
- func (this *Manager22) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager22) Show(selector Selector) error
- func (this *Manager22) Shutdown() (err error)
- type Manager23
- func (this *Manager23) AddBook(factory BookFactory) error
- func (this *Manager23) AddCandle(factory CandleFactory) error
- func (this *Manager23) AddData(factory DataFactory) error
- func (this *Manager23) AddSchedule(factory ScheduleFactory) error
- func (this *Manager23) AddSymbol(factory SymbolFactory) error
- func (this *Manager23) AddTrade(factory TradeFactory) error
- func (this *Manager23) Alive() int64
- func (this *Manager23) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager23) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager23) Hide(selector Selector) error
- func (this *Manager23) Kill(id uuid.UUID) error
- func (this *Manager23) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager23) PauseID(id uuid.UUID) error
- func (this *Manager23) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager23) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager23) ResumeID(id uuid.UUID) error
- func (this *Manager23) Revive(id uuid.UUID) error
- func (this *Manager23) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager23) Show(selector Selector) error
- func (this *Manager23) Shutdown() (err error)
- type Manager24
- func (this *Manager24) AddBook(factory BookFactory) error
- func (this *Manager24) AddCandle(factory CandleFactory) error
- func (this *Manager24) AddData(factory DataFactory) error
- func (this *Manager24) AddSchedule(factory ScheduleFactory) error
- func (this *Manager24) AddSymbol(factory SymbolFactory) error
- func (this *Manager24) AddTrade(factory TradeFactory) error
- func (this *Manager24) Alive() int64
- func (this *Manager24) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager24) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager24) Hide(selector Selector) error
- func (this *Manager24) Kill(id uuid.UUID) error
- func (this *Manager24) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager24) PauseID(id uuid.UUID) error
- func (this *Manager24) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager24) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager24) ResumeID(id uuid.UUID) error
- func (this *Manager24) Revive(id uuid.UUID) error
- func (this *Manager24) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager24) Show(selector Selector) error
- func (this *Manager24) Shutdown() (err error)
- type Manager25
- func (this *Manager25) AddBook(factory BookFactory) error
- func (this *Manager25) AddCandle(factory CandleFactory) error
- func (this *Manager25) AddData(factory DataFactory) error
- func (this *Manager25) AddSchedule(factory ScheduleFactory) error
- func (this *Manager25) AddSymbol(factory SymbolFactory) error
- func (this *Manager25) AddTrade(factory TradeFactory) error
- func (this *Manager25) Alive() int64
- func (this *Manager25) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager25) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager25) Hide(selector Selector) error
- func (this *Manager25) Kill(id uuid.UUID) error
- func (this *Manager25) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager25) PauseID(id uuid.UUID) error
- func (this *Manager25) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager25) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager25) ResumeID(id uuid.UUID) error
- func (this *Manager25) Revive(id uuid.UUID) error
- func (this *Manager25) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager25) Show(selector Selector) error
- func (this *Manager25) Shutdown() (err error)
- type Manager26
- func (this *Manager26) AddBook(factory BookFactory) error
- func (this *Manager26) AddCandle(factory CandleFactory) error
- func (this *Manager26) AddData(factory DataFactory) error
- func (this *Manager26) AddSchedule(factory ScheduleFactory) error
- func (this *Manager26) AddSymbol(factory SymbolFactory) error
- func (this *Manager26) AddTrade(factory TradeFactory) error
- func (this *Manager26) Alive() int64
- func (this *Manager26) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager26) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager26) Hide(selector Selector) error
- func (this *Manager26) Kill(id uuid.UUID) error
- func (this *Manager26) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager26) PauseID(id uuid.UUID) error
- func (this *Manager26) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager26) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager26) ResumeID(id uuid.UUID) error
- func (this *Manager26) Revive(id uuid.UUID) error
- func (this *Manager26) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager26) Show(selector Selector) error
- func (this *Manager26) Shutdown() (err error)
- type Manager27
- func (this *Manager27) AddBook(factory BookFactory) error
- func (this *Manager27) AddCandle(factory CandleFactory) error
- func (this *Manager27) AddData(factory DataFactory) error
- func (this *Manager27) AddSchedule(factory ScheduleFactory) error
- func (this *Manager27) AddSymbol(factory SymbolFactory) error
- func (this *Manager27) AddTrade(factory TradeFactory) error
- func (this *Manager27) Alive() int64
- func (this *Manager27) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager27) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager27) Hide(selector Selector) error
- func (this *Manager27) Kill(id uuid.UUID) error
- func (this *Manager27) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager27) PauseID(id uuid.UUID) error
- func (this *Manager27) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager27) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager27) ResumeID(id uuid.UUID) error
- func (this *Manager27) Revive(id uuid.UUID) error
- func (this *Manager27) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager27) Show(selector Selector) error
- func (this *Manager27) Shutdown() (err error)
- type Manager28
- func (this *Manager28) AddBook(factory BookFactory) error
- func (this *Manager28) AddCandle(factory CandleFactory) error
- func (this *Manager28) AddData(factory DataFactory) error
- func (this *Manager28) AddSchedule(factory ScheduleFactory) error
- func (this *Manager28) AddSymbol(factory SymbolFactory) error
- func (this *Manager28) AddTrade(factory TradeFactory) error
- func (this *Manager28) Alive() int64
- func (this *Manager28) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager28) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager28) Hide(selector Selector) error
- func (this *Manager28) Kill(id uuid.UUID) error
- func (this *Manager28) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager28) PauseID(id uuid.UUID) error
- func (this *Manager28) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager28) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager28) ResumeID(id uuid.UUID) error
- func (this *Manager28) Revive(id uuid.UUID) error
- func (this *Manager28) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager28) Show(selector Selector) error
- func (this *Manager28) Shutdown() (err error)
- type Manager29
- func (this *Manager29) AddBook(factory BookFactory) error
- func (this *Manager29) AddCandle(factory CandleFactory) error
- func (this *Manager29) AddData(factory DataFactory) error
- func (this *Manager29) AddSchedule(factory ScheduleFactory) error
- func (this *Manager29) AddSymbol(factory SymbolFactory) error
- func (this *Manager29) AddTrade(factory TradeFactory) error
- func (this *Manager29) Alive() int64
- func (this *Manager29) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager29) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager29) Hide(selector Selector) error
- func (this *Manager29) Kill(id uuid.UUID) error
- func (this *Manager29) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager29) PauseID(id uuid.UUID) error
- func (this *Manager29) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager29) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager29) ResumeID(id uuid.UUID) error
- func (this *Manager29) Revive(id uuid.UUID) error
- func (this *Manager29) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager29) Show(selector Selector) error
- func (this *Manager29) Shutdown() (err error)
- type Manager30
- func (this *Manager30) AddBook(factory BookFactory) error
- func (this *Manager30) AddCandle(factory CandleFactory) error
- func (this *Manager30) AddData(factory DataFactory) error
- func (this *Manager30) AddSchedule(factory ScheduleFactory) error
- func (this *Manager30) AddSymbol(factory SymbolFactory) error
- func (this *Manager30) AddTrade(factory TradeFactory) error
- func (this *Manager30) Alive() int64
- func (this *Manager30) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager30) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager30) Hide(selector Selector) error
- func (this *Manager30) Kill(id uuid.UUID) error
- func (this *Manager30) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager30) PauseID(id uuid.UUID) error
- func (this *Manager30) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager30) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager30) ResumeID(id uuid.UUID) error
- func (this *Manager30) Revive(id uuid.UUID) error
- func (this *Manager30) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager30) Show(selector Selector) error
- func (this *Manager30) Shutdown() (err error)
- type Manager31
- func (this *Manager31) AddBook(factory BookFactory) error
- func (this *Manager31) AddCandle(factory CandleFactory) error
- func (this *Manager31) AddData(factory DataFactory) error
- func (this *Manager31) AddSchedule(factory ScheduleFactory) error
- func (this *Manager31) AddSymbol(factory SymbolFactory) error
- func (this *Manager31) AddTrade(factory TradeFactory) error
- func (this *Manager31) Alive() int64
- func (this *Manager31) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager31) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager31) Hide(selector Selector) error
- func (this *Manager31) Kill(id uuid.UUID) error
- func (this *Manager31) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager31) PauseID(id uuid.UUID) error
- func (this *Manager31) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager31) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager31) ResumeID(id uuid.UUID) error
- func (this *Manager31) Revive(id uuid.UUID) error
- func (this *Manager31) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager31) Show(selector Selector) error
- func (this *Manager31) Shutdown() (err error)
- type Manager32
- func (this *Manager32) AddBook(factory BookFactory) error
- func (this *Manager32) AddCandle(factory CandleFactory) error
- func (this *Manager32) AddData(factory DataFactory) error
- func (this *Manager32) AddSchedule(factory ScheduleFactory) error
- func (this *Manager32) AddSymbol(factory SymbolFactory) error
- func (this *Manager32) AddTrade(factory TradeFactory) error
- func (this *Manager32) Alive() int64
- func (this *Manager32) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager32) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager32) Hide(selector Selector) error
- func (this *Manager32) Kill(id uuid.UUID) error
- func (this *Manager32) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager32) PauseID(id uuid.UUID) error
- func (this *Manager32) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager32) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager32) ResumeID(id uuid.UUID) error
- func (this *Manager32) Revive(id uuid.UUID) error
- func (this *Manager32) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager32) Show(selector Selector) error
- func (this *Manager32) Shutdown() (err error)
- type Manager33
- func (this *Manager33) AddBook(factory BookFactory) error
- func (this *Manager33) AddCandle(factory CandleFactory) error
- func (this *Manager33) AddData(factory DataFactory) error
- func (this *Manager33) AddSchedule(factory ScheduleFactory) error
- func (this *Manager33) AddSymbol(factory SymbolFactory) error
- func (this *Manager33) AddTrade(factory TradeFactory) error
- func (this *Manager33) Alive() int64
- func (this *Manager33) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager33) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager33) Hide(selector Selector) error
- func (this *Manager33) Kill(id uuid.UUID) error
- func (this *Manager33) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager33) PauseID(id uuid.UUID) error
- func (this *Manager33) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager33) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager33) ResumeID(id uuid.UUID) error
- func (this *Manager33) Revive(id uuid.UUID) error
- func (this *Manager33) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager33) Show(selector Selector) error
- func (this *Manager33) Shutdown() (err error)
- type Manager34
- func (this *Manager34) AddBook(factory BookFactory) error
- func (this *Manager34) AddCandle(factory CandleFactory) error
- func (this *Manager34) AddData(factory DataFactory) error
- func (this *Manager34) AddSchedule(factory ScheduleFactory) error
- func (this *Manager34) AddSymbol(factory SymbolFactory) error
- func (this *Manager34) AddTrade(factory TradeFactory) error
- func (this *Manager34) Alive() int64
- func (this *Manager34) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager34) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager34) Hide(selector Selector) error
- func (this *Manager34) Kill(id uuid.UUID) error
- func (this *Manager34) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager34) PauseID(id uuid.UUID) error
- func (this *Manager34) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager34) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager34) ResumeID(id uuid.UUID) error
- func (this *Manager34) Revive(id uuid.UUID) error
- func (this *Manager34) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager34) Show(selector Selector) error
- func (this *Manager34) Shutdown() (err error)
- type Manager7
- func (this *Manager7) AddBook(factory BookFactory) error
- func (this *Manager7) AddCandle(factory CandleFactory) error
- func (this *Manager7) AddData(factory DataFactory) error
- func (this *Manager7) AddSchedule(factory ScheduleFactory) error
- func (this *Manager7) AddSymbol(factory SymbolFactory) error
- func (this *Manager7) AddTrade(factory TradeFactory) error
- func (this *Manager7) Alive() int64
- func (this *Manager7) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager7) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager7) Hide(selector Selector) error
- func (this *Manager7) Kill(id uuid.UUID) error
- func (this *Manager7) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager7) PauseID(id uuid.UUID) error
- func (this *Manager7) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager7) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager7) ResumeID(id uuid.UUID) error
- func (this *Manager7) Revive(id uuid.UUID) error
- func (this *Manager7) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager7) Show(selector Selector) error
- func (this *Manager7) Shutdown() (err error)
- type Manager8
- func (this *Manager8) AddBook(factory BookFactory) error
- func (this *Manager8) AddCandle(factory CandleFactory) error
- func (this *Manager8) AddData(factory DataFactory) error
- func (this *Manager8) AddSchedule(factory ScheduleFactory) error
- func (this *Manager8) AddSymbol(factory SymbolFactory) error
- func (this *Manager8) AddTrade(factory TradeFactory) error
- func (this *Manager8) Alive() int64
- func (this *Manager8) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager8) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager8) Hide(selector Selector) error
- func (this *Manager8) Kill(id uuid.UUID) error
- func (this *Manager8) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager8) PauseID(id uuid.UUID) error
- func (this *Manager8) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager8) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager8) ResumeID(id uuid.UUID) error
- func (this *Manager8) Revive(id uuid.UUID) error
- func (this *Manager8) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager8) Show(selector Selector) error
- func (this *Manager8) Shutdown() (err error)
- type Manager9
- func (this *Manager9) AddBook(factory BookFactory) error
- func (this *Manager9) AddCandle(factory CandleFactory) error
- func (this *Manager9) AddData(factory DataFactory) error
- func (this *Manager9) AddSchedule(factory ScheduleFactory) error
- func (this *Manager9) AddSymbol(factory SymbolFactory) error
- func (this *Manager9) AddTrade(factory TradeFactory) error
- func (this *Manager9) Alive() int64
- func (this *Manager9) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
- func (this *Manager9) Get(id uuid.UUID) (Daemon, error)
- func (this *Manager9) Hide(selector Selector) error
- func (this *Manager9) Kill(id uuid.UUID) error
- func (this *Manager9) Pause(hidden bool, selector Selector) (err error)
- func (this *Manager9) PauseID(id uuid.UUID) error
- func (this *Manager9) Restart(hidden bool, selector Selector) (err error)
- func (this *Manager9) Resume(hidden bool, selector Selector) (err error)
- func (this *Manager9) ResumeID(id uuid.UUID) error
- func (this *Manager9) Revive(id uuid.UUID) error
- func (this *Manager9) SetConfig(hidden bool, selector Selector, config []byte) error
- func (this *Manager9) Show(selector Selector) error
- func (this *Manager9) Shutdown() (err error)
- type Producer
- type Provider
- type Registry
- type RegistryConfig
- type ScheduleDaemon
- type ScheduleEvent
- type ScheduleFactory
- type ScheduleLogRegistry
- type Selector
- type SymbolDaemon
- type SymbolEvent
- type SymbolFactory
- type SymbolLogRegistry
- type TradeDaemon
- type TradeEvent
- type TradeFactory
- type TradeLogRegistry
- type UnixTimestamped
Constants ¶
View Source
const ( DomainMask = domainMask SymIntBit = symIntBit IntMask = intMask )
Variables ¶
Functions ¶
func InitManager10 ¶
func InitManager11 ¶
func InitManager12 ¶
func InitManager13 ¶
func InitManager14 ¶
func InitManager15 ¶
func InitManager16 ¶
func InitManager17 ¶
func InitManager18 ¶
func InitManager19 ¶
func InitManager20 ¶
func InitManager21 ¶
func InitManager22 ¶
func InitManager23 ¶
func InitManager24 ¶
func InitManager25 ¶
func InitManager26 ¶
func InitManager27 ¶
func InitManager28 ¶
func InitManager29 ¶
func InitManager30 ¶
func InitManager31 ¶
func InitManager32 ¶
func InitManager33 ¶
func InitManager34 ¶
func InitManager7 ¶
func InitManager8 ¶
func InitManager9 ¶
func OkInterval ¶
OkInterval validates that a duration given in minutes is acceptable for use in a Key. The minute count must be greater than zero and less than 2048.
Types ¶
type BookDaemon ¶
type BookDaemon = Producer[EventLog[BookEvent]]
type BookFactory ¶
type BookFactory = Factory[BookDaemon]
type BookLogRegistry ¶
type BookLogRegistry = Registry[EventLog[BookEvent]]
type BrokerageData ¶
type BrokerageData interface {
Before(endUnixTime int64) BrokerageDataReader
At(floorUnixTime int64) BrokerageDataReader
After(startUnixTime int64) BrokerageDataReader
UnixTimestamped
}
type BrokerageDataLogRegistry ¶
type BrokerageDataLogRegistry interface {
Symbol() SymbolLogRegistry
Book() BookLogRegistry
Candle() CandleLogRegistry
Trade() TradeLogRegistry
Schedule() ScheduleLogRegistry
}
type BrokerageDataProvider ¶
type BrokerageDataProvider = Provider[BrokerageData]
type BrokerageDataReader ¶
type BrokerageDataReader interface {
Symbol(key Key) (Cursor[SymbolEvent], error)
Book(key Key) (Cursor[BookEvent], error)
Candle(key Key) (Cursor[CandleEvent], error)
Trade(key Key) (Cursor[TradeEvent], error)
Schedule(key Key) (Cursor[ScheduleEvent], error)
}
type CandleDaemon ¶
type CandleDaemon = Producer[EventLog[CandleEvent]]
type CandleEvent ¶
func (CandleEvent) UnixNano ¶
func (this CandleEvent) UnixNano() int64
type CandleFactory ¶
type CandleFactory = Factory[CandleDaemon]
type CandleLogRegistry ¶
type CandleLogRegistry = Registry[EventLog[CandleEvent]]
type Config ¶
type Config struct {
// Lineage tracks factories seen and entries are not deleted.
// This is an initial bucket hint only; maps grow as needed, never shrink.
// Per entry ≈ 32 B.
Lineage int
// Factories are kept around forever so daemons can be revived.
// Fields are initial bucket hints only; maps grow as needed, never shrink.
// Per entry ≈ 32 B.
Factory FactoryConfig
// Fields are initial bucket hints only; registries grow as needed, never shrink.
// Per entry ≈ 24 B.
Registry RegistryConfig
// Must not be nil.
OnAdd func(DaemonInfo)
OnKill func(DaemonInfo)
}
type Configurable ¶
type Configurable = common.Configurable[[]byte]
type Consumer ¶
type Consumer[T UnixTimestamped] interface { Daemon Initialize(provider Provider[T]) error }
type Cursor ¶
type Cursor[T UnixTimestamped] = common.Cursor[T]
type Daemon ¶
type Daemon interface {
Configurable
Run() error
Shutdown() error
Pause() error
Resume() error
Restart() error
DaemonInfo
}
type DaemonInfo ¶
type DataDaemon ¶
type DataDaemon = Consumer[BrokerageData]
type DataFactory ¶
type DataFactory = Factory[DataDaemon]
type Domain ¶
type Domain uint8
func DecodeDomain ¶
Decode a Key's domain. Keys without a domain set will report as Symbol.
type Event ¶
type Event interface {
SymbolEvent | BookEvent | CandleEvent | TradeEvent
UnixTimestamped
}
type EventLog ¶
type EventLog[T UnixTimestamped] = common.Log[T]
type FactoryConfig ¶
type FactoryInfo ¶
type FactoryInfo interface {
Identifiable
}
type Identifiable ¶
type Identifiable = common.Identifiable[uuid.UUID]
type Key ¶
type Key = uint64
Key encodes an optional domain, symbol and optional interval.
func NewCandleKey ¶
NewCandleKey should only be used with Keys created by NewKey. The minute count must be greater than zero and less than 2048. Domain is set to Candle.
func NewDomainKey ¶
NewDomainKey should only be used with Keys created by NewKey.
type Lineage ¶
type Lineage struct {
// contains filtered or unexported fields
}
func (Lineage) HideContainer ¶
type Manager ¶
type Manager interface {
Linker
Revive(id uuid.UUID) error
Get(id uuid.UUID) (Daemon, error)
DaemonInfo(hidden bool, selector Selector) []DaemonInfo
Pause(hidden bool, selector Selector) error
Resume(hidden bool, selector Selector) error
Restart(hidden bool, selector Selector) error
SetConfig(hidden bool, selector Selector, config []byte) error
Hide(selector Selector) error
Show(selector Selector) error
Shutdown() error
}
func NewManager10 ¶
func NewManager11 ¶
func NewManager12 ¶
func NewManager13 ¶
func NewManager14 ¶
func NewManager15 ¶
func NewManager16 ¶
func NewManager17 ¶
func NewManager18 ¶
func NewManager19 ¶
func NewManager20 ¶
func NewManager21 ¶
func NewManager22 ¶
func NewManager23 ¶
func NewManager24 ¶
func NewManager25 ¶
func NewManager26 ¶
func NewManager27 ¶
func NewManager28 ¶
func NewManager29 ¶
func NewManager30 ¶
func NewManager31 ¶
func NewManager32 ¶
func NewManager33 ¶
func NewManager34 ¶
func NewManager7 ¶
func NewManager8 ¶
func NewManager9 ¶
type Manager10 ¶
type Manager10 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager10) AddSchedule ¶
func (*Manager10) DaemonInfo ¶
func (this *Manager10) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager11 ¶
type Manager11 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager11) AddSchedule ¶
func (*Manager11) DaemonInfo ¶
func (this *Manager11) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager12 ¶
type Manager12 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager12) AddSchedule ¶
func (*Manager12) DaemonInfo ¶
func (this *Manager12) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager13 ¶
type Manager13 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager13) AddSchedule ¶
func (*Manager13) DaemonInfo ¶
func (this *Manager13) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager14 ¶
type Manager14 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager14) AddSchedule ¶
func (*Manager14) DaemonInfo ¶
func (this *Manager14) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager15 ¶
type Manager15 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager15) AddSchedule ¶
func (*Manager15) DaemonInfo ¶
func (this *Manager15) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager16 ¶
type Manager16 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager16) AddSchedule ¶
func (*Manager16) DaemonInfo ¶
func (this *Manager16) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager17 ¶
type Manager17 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager17) AddSchedule ¶
func (*Manager17) DaemonInfo ¶
func (this *Manager17) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager18 ¶
type Manager18 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager18) AddSchedule ¶
func (*Manager18) DaemonInfo ¶
func (this *Manager18) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager19 ¶
type Manager19 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager19) AddSchedule ¶
func (*Manager19) DaemonInfo ¶
func (this *Manager19) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager20 ¶
type Manager20 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager20) AddSchedule ¶
func (*Manager20) DaemonInfo ¶
func (this *Manager20) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager21 ¶
type Manager21 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager21) AddSchedule ¶
func (*Manager21) DaemonInfo ¶
func (this *Manager21) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager22 ¶
type Manager22 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager22) AddSchedule ¶
func (*Manager22) DaemonInfo ¶
func (this *Manager22) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager23 ¶
type Manager23 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager23) AddSchedule ¶
func (*Manager23) DaemonInfo ¶
func (this *Manager23) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager24 ¶
type Manager24 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager24) AddSchedule ¶
func (*Manager24) DaemonInfo ¶
func (this *Manager24) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager25 ¶
type Manager25 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager25) AddSchedule ¶
func (*Manager25) DaemonInfo ¶
func (this *Manager25) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager26 ¶
type Manager26 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager26) AddSchedule ¶
func (*Manager26) DaemonInfo ¶
func (this *Manager26) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager27 ¶
type Manager27 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager27) AddSchedule ¶
func (*Manager27) DaemonInfo ¶
func (this *Manager27) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager28 ¶
type Manager28 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager28) AddSchedule ¶
func (*Manager28) DaemonInfo ¶
func (this *Manager28) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager29 ¶
type Manager29 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager29) AddSchedule ¶
func (*Manager29) DaemonInfo ¶
func (this *Manager29) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager30 ¶
type Manager30 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager30) AddSchedule ¶
func (*Manager30) DaemonInfo ¶
func (this *Manager30) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager31 ¶
type Manager31 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager31) AddSchedule ¶
func (*Manager31) DaemonInfo ¶
func (this *Manager31) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager32 ¶
type Manager32 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager32) AddSchedule ¶
func (*Manager32) DaemonInfo ¶
func (this *Manager32) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager33 ¶
type Manager33 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager33) AddSchedule ¶
func (*Manager33) DaemonInfo ¶
func (this *Manager33) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager34 ¶
type Manager34 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager34) AddSchedule ¶
func (*Manager34) DaemonInfo ¶
func (this *Manager34) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager7 ¶
type Manager7 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager7) AddSchedule ¶
func (*Manager7) DaemonInfo ¶
func (this *Manager7) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager8 ¶
type Manager8 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager8) AddSchedule ¶
func (*Manager8) DaemonInfo ¶
func (this *Manager8) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Manager9 ¶
type Manager9 struct {
Lineage kit.CoarseMap[uuid.UUID, Lineage]
// contains filtered or unexported fields
}
func (*Manager9) AddSchedule ¶
func (*Manager9) DaemonInfo ¶
func (this *Manager9) DaemonInfo(hidden bool, selector Selector) []DaemonInfo
type Provider ¶
type Provider[T UnixTimestamped] interface { Get() T }
type RegistryConfig ¶
type ScheduleDaemon ¶
type ScheduleDaemon = Producer[EventLog[ScheduleEvent]]
type ScheduleEvent ¶
type ScheduleEvent struct {
Symbol uint64
Balance, Basis uint64
MinOrder, MinIncrement uint64
EventUnixTime int64
}
func (ScheduleEvent) UnixNano ¶
func (this ScheduleEvent) UnixNano() int64
type ScheduleFactory ¶
type ScheduleFactory = Factory[ScheduleDaemon]
type ScheduleLogRegistry ¶
type ScheduleLogRegistry = Registry[EventLog[ScheduleEvent]]
type Selector ¶
type Selector interface {
Select(DaemonInfo) bool
}
type SymbolDaemon ¶
type SymbolDaemon = Control[EventLog[SymbolEvent]]
type SymbolEvent ¶
type SymbolEvent struct {
Symbol uint64
// Consider using IsOnline() helper. Negative value indicates online event.
EventUnixTime int64
}
func (SymbolEvent) IsOnline ¶ added in v0.14.1
func (this SymbolEvent) IsOnline() bool
func (SymbolEvent) UnixNano ¶
func (this SymbolEvent) UnixNano() int64
type SymbolFactory ¶
type SymbolFactory = Factory[SymbolDaemon]
type SymbolLogRegistry ¶
type SymbolLogRegistry = Registry[EventLog[SymbolEvent]]
type TradeDaemon ¶
type TradeDaemon = Producer[EventLog[TradeEvent]]
type TradeEvent ¶
type TradeEvent int64
func (TradeEvent) IsSell ¶
func (this TradeEvent) IsSell() bool
func (TradeEvent) UnixNano ¶
func (this TradeEvent) UnixNano() int64
type TradeFactory ¶
type TradeFactory = Factory[TradeDaemon]
type TradeLogRegistry ¶
type TradeLogRegistry = Registry[EventLog[TradeEvent]]
type UnixTimestamped ¶
type UnixTimestamped = common.UnixTimestamped
Click to show internal directories.
Click to hide internal directories.