Documentation
¶
Index ¶
Constants ¶
View Source
const (
// ListWorkflowName is the name of the workflow to list SMA points.
ListWorkflowName = "ListWorkflow"
)
View Source
const (
// ServiceInfoWorkflowName is the name of the workflow to get the service info.
ServiceInfoWorkflowName = "ServiceInfoWorkflow"
)
View Source
const (
// WorkerTaskQueueName is the name of the task queue for the cryptellation worker.
WorkerTaskQueueName = "CryptellationSmaTaskQueue"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListWorkflowParams ¶
type ListWorkflowParams struct {
Exchange string
Pair string
Period period.Symbol
Start time.Time
End time.Time
PeriodNumber int
PriceType candlestick.PriceType
}
ListWorkflowParams is the parameters of the List workflow.
type ListWorkflowResults ¶
type ListWorkflowResults struct {
Data []SMADataPoint
}
ListWorkflowResults is the result of the List workflow.
type SMADataPoint ¶ added in v1.0.5
SMADataPoint represents a single SMA data point with its time and value.
type ServiceInfoParams ¶
type ServiceInfoParams struct{}
ServiceInfoParams contains the parameters of the service info workflow.
type ServiceInfoResults ¶
type ServiceInfoResults struct {
Version string
}
ServiceInfoResults contains the result of the service info workflow.
Click to show internal directories.
Click to hide internal directories.