Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StatsTask ¶
type StatsTask struct { Profit float64 `json:"profit"` Win int `json:"win"` Lose int `json:"lose"` Draw int `json:"draw"` Open int `json:"open"` Close int `json:"close"` CurrentStrakeLose int `json:"currentStrakeLose"` CurrentStrakeWin int `json:"currentStrakeWin"` }
StatsTask -
type Tasks ¶
type Tasks struct { ID string `json:"id"` UserID string `json:"userID"` ProviderID string `json:"providerId"` StrategyID string `json:"strategyId"` AccountID string `json:"accountId"` Options map[string]interface{} `json:"options"` Assets map[string]bool `json:"assets"` Active bool `json:"active"` Enable bool `json:"enable"` CreatedAt int64 `json:"createdAt"` UpdatedAt int64 `json:"updatedAt"` ReadlAccount bool `json:"readlAccount"` CanTrade bool `json:"canTrade"` }
Tasks -
type TestTasks ¶
type TestTasks struct { ID string `json:"id"` TasksID string `json:"tasksId" required:"id is required" min:"min id is 4 char" validate:"required,min=4"` ProviderID string `json:"providerId" required:"ProviderID is required" min:"min id is 4 char" validate:"required,min=4"` AccountID string `json:"accountId"` UserID string `json:"userId"` AutoRun bool `json:"autoRun"` IsRunning bool `json:"isRunning"` CountOfTest int `json:"countOfTest"` CurrentCountTest int `json:"currentCountTest"` IsDone bool `json:"isDone"` Assets []string `json:"assets"` CreatedAt int64 `json:"createdAt"` UpdatedAt int64 `json:"updatedAt"` StartDate time.Time `json:"startDate"` EndDate time.Time `json:"endDate"` StartTime time.Time `json:"startTime"` EndTime time.Time `json:"endTime"` }
TestTasks -
Click to show internal directories.
Click to hide internal directories.