Documentation
¶
Index ¶
Constants ¶
View Source
const ( MARKET OrderType = "MARKET" BUY Side = "BUY" SELL Side = "SELL" SignalLong Signal = "ingenium.signal.long" SignalShort Signal = "ingenium.signal.short" DataEventType = "ingenium.ingestor.data" SignalEventType = "ingenium.strategy.signal" OrderEventType = "ingenium.portfolio.order" ExecutionEventType = "ingenium.executor.execution" DataTypeOhlc = "data.type.ohlc" )
View Source
const (
TimestampFormat = "2006-01-02T15:00:00"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecutionEvent ¶
type OrderEvent ¶
type Portfolio ¶
type Portfolio interface { Run() Cleanup() ReceiveSignal(*SignalEvent) ReceiveExecution(*ExecutionEvent) }
Click to show internal directories.
Click to hide internal directories.