api

package
v1.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2025 License: GPL-3.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

View Source
const CreateBacktestOrderWorkflowName = "CreateBacktestOrderWorkflow"

CreateBacktestOrderWorkflowName is the name of the workflow to create an order for a backtest.

View Source
const CreateBacktestWorkflowName = "CreateBacktestWorkflow"

CreateBacktestWorkflowName is the name of the workflow to create a backtest.

View Source
const GetBacktestAccountsWorkflowName = "GetBacktestAccountsWorkflow"

GetBacktestAccountsWorkflowName is the name of the workflow to get the accounts of a backtest.

View Source
const GetBacktestOrdersWorkflowName = "GetBacktestOrdersWorkflow"

GetBacktestOrdersWorkflowName is the name of the workflow to get the orders of a backtest.

View Source
const GetBacktestWorkflowName = "GetBacktestWorkflow"

GetBacktestWorkflowName is the name of the workflow to get a backtest.

View Source
const ListBacktestsWorkflowName = "ListBacktestsWorkflow"

ListBacktestsWorkflowName is the name of the workflow to list backtests.

View Source
const RunBacktestWorkflowName = "RunBacktestWorkflow"

RunBacktestWorkflowName is the name of the workflow to run a backtest.

View Source
const (
	// ServiceInfoWorkflowName is the name of the workflow to get the service info.
	ServiceInfoWorkflowName = "ServiceInfoWorkflow"
)
View Source
const SubscribeToPriceWorkflowName = "SubscribeToPriceWorkflow"

SubscribeToPriceWorkflowName is the name of the workflow to subscribe to prices.

View Source
const (
	// WorkerTaskQueueName is the name of the task queue for the cryptellation worker.
	WorkerTaskQueueName = "CryptellationbacktestsTaskQueue"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateBacktestOrderWorkflowParams

type CreateBacktestOrderWorkflowParams struct {
	BacktestID uuid.UUID
	Order      order.Order
}

CreateBacktestOrderWorkflowParams is the parameters of the CreateBacktestOrderWorkflow workflow.

type CreateBacktestOrderWorkflowResults

type CreateBacktestOrderWorkflowResults struct{}

CreateBacktestOrderWorkflowResults is the results of the CreateBacktestOrderWorkflow workflow.

type CreateBacktestWorkflowParams

type CreateBacktestWorkflowParams struct {
	BacktestParameters backtest.Parameters
	Callbacks          runtime.Callbacks
}

CreateBacktestWorkflowParams is the parameters of the CreateBacktestWorkflow workflow.

type CreateBacktestWorkflowResults

type CreateBacktestWorkflowResults struct {
	ID uuid.UUID
}

CreateBacktestWorkflowResults is the results of the CreateBacktestWorkflow workflow.

type GetBacktestAccountsWorkflowParams

type GetBacktestAccountsWorkflowParams struct {
	BacktestID uuid.UUID
}

GetBacktestAccountsWorkflowParams is the parameters of the GetBacktestAccountsWorkflow workflow.

type GetBacktestAccountsWorkflowResults

type GetBacktestAccountsWorkflowResults struct {
	Accounts map[string]account.Account
}

GetBacktestAccountsWorkflowResults is the results of the GetBacktestAccountsWorkflow workflow.

type GetBacktestOrdersWorkflowParams

type GetBacktestOrdersWorkflowParams struct {
	BacktestID uuid.UUID
}

GetBacktestOrdersWorkflowParams is the parameters of the GetBacktestOrdersWorkflow workflow.

type GetBacktestOrdersWorkflowResults

type GetBacktestOrdersWorkflowResults struct {
	Orders []order.Order
}

GetBacktestOrdersWorkflowResults is the results of the GetBacktestOrdersWorkflow workflow.

type GetBacktestWorkflowParams

type GetBacktestWorkflowParams struct {
	BacktestID uuid.UUID
}

GetBacktestWorkflowParams is the parameters of the GetBacktestWorkflow workflow.

type GetBacktestWorkflowResults

type GetBacktestWorkflowResults struct {
	Backtest backtest.Backtest
}

GetBacktestWorkflowResults is the results of the GetBacktestWorkflow workflow.

type ListBacktestsWorkflowParams

type ListBacktestsWorkflowParams struct{}

ListBacktestsWorkflowParams is the parameters of the ListBacktestsWorkflow workflow.

type ListBacktestsWorkflowResults

type ListBacktestsWorkflowResults struct {
	Backtests []backtest.Backtest
}

ListBacktestsWorkflowResults is the results of the ListBacktestsWorkflow workflow.

type RunBacktestWorkflowParams

type RunBacktestWorkflowParams struct {
	BacktestID uuid.UUID
}

RunBacktestWorkflowParams is the parameters of the RunBacktestWorkflow workflow.

type RunBacktestWorkflowResults

type RunBacktestWorkflowResults struct{}

RunBacktestWorkflowResults is the results of the RunBacktestWorkflow workflow.

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.

type SubscribeToPriceWorkflowParams

type SubscribeToPriceWorkflowParams struct {
	BacktestID uuid.UUID
	Exchange   string
	Pair       string
}

SubscribeToPriceWorkflowParams is the parameters of the SubscribeToPriceWorkflow workflow.

type SubscribeToPriceWorkflowResults

type SubscribeToPriceWorkflowResults struct{}

SubscribeToPriceWorkflowResults is the results of the SubscribeToPriceWorkflow workflow.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL