Documentation ¶
Index ¶
Constants ¶
View Source
const ( OperationTypeSubscribe operationType = "subscribe" OperationTypeUnsubscribe operationType = "unsubscribe" )
View Source
const ( ResponseTypeError responseType = "error" ResponseTypeSubscribed responseType = "subscribed" ResponseTypeUnsubscribed responseType = "unsubscribed" ResponseTypeInfo responseType = "info" ResponseTypePartial responseType = "partial" ResponseTypeUpdate responseType = "update" )
Variables ¶
This section is empty.
Functions ¶
func NewSyntheticOrderSubscriber ¶
func NewSyntheticOrderSubscriber(logger *zap.SugaredLogger) (syntheticorderv1.Subscriber, error)
Types ¶
type FtxOrderBookSubscriber ¶
type FtxOrderBookSubscriber interface {
Close()
}
func NewFtxOrderBookSubscriber ¶
func NewFtxOrderBookSubscriber( ctx context.Context, logger *zap.SugaredLogger, venueConfig configuration.FtxConfig, orderBookPublisher publishers.OrderBookPublisher) (FtxOrderBookSubscriber, error)
type FtxTradingPairSubscriber ¶
type FtxTradingPairSubscriber interface { }
func NewFtxTradingPairSubscriber ¶
func NewFtxTradingPairSubscriber( ctx context.Context, logger *zap.SugaredLogger, venueConfig configuration.FtxConfig, jobScheduler *gocron.Scheduler, tradingPairRepository repositories.TradingPairRepository) (FtxTradingPairSubscriber, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.