Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountConfig ¶
type BullsAndBearsMonitoringConfig ¶
type BullsAndBearsMonitoringConfig struct { Enabled bool `toml:"enabled"` IgnoreInconsistent bool `toml:"ignore_inconsistent"` Instruments []struct { FIGI string `toml:"figi" validate:"required"` Depth int `toml:"depth" validate:"required,oneof=[1 10 20 30 40 50]"` DominanceRatio float64 `toml:"dominance_ratio" validate:"required,gt=1"` ProfitPercentage float64 `toml:"profit_percentage" validate:"required,gt=0,lte=1"` } `toml:"instruments" validate:"required,dive,min=1"` }
type ClientsConfig ¶
type ClientsConfig struct {
TinkoffInvest TinkoffInvestConfig `toml:"tinkfoff_invest"`
}
type Config ¶
type Config struct { Log LogConfig `toml:"log"` Metrics MetricsConfig `toml:"metrics"` Account AccountConfig `toml:"account"` Clients ClientsConfig `toml:"clients"` Strategies StrategiesConfig `toml:"strategies"` }
type MetricsConfig ¶
type SpreadParasiteConfig ¶
type StrategiesConfig ¶
type StrategiesConfig struct { BullsAndBearsMonitoring BullsAndBearsMonitoringConfig `toml:"bulls_and_bears_monitoring"` SpreadParasite SpreadParasiteConfig `toml:"spread_parasite"` }
type TinkoffInvestConfig ¶
Click to show internal directories.
Click to hide internal directories.