Discover Packages
github.com/quantfamily/foreverbull
internal
config
package
Version:
v0.0.0-...-ab49fd9
Opens a new window with list of versions in this module.
Published: Mar 20, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type AlpacaMarkets struct {
BaseURL string `yaml:"base_url" json:"base_url"`
APIKey string ``
APISecret string `yaml:"api_secret" json:"api_secret"`
}
type Backtests struct {
MaxConcurrent int `yaml:"max_concurrent" json:"max_concurrent"`
PollingInterval int `yaml:"polling_interval" json:"polling_interval"`
}
type Config struct {
Hostname string `yaml:"hostname" json:"hostname"`
HTTP HTTP `yaml:"http" json:"http"`
Docker Docker `yaml:"docker" json:"docker"`
Database Database `yaml:"database" json:"database"`
NATS NATS `yaml:"nats" json:"nats"`
Provider Provider `yaml:"provider" json:"provider"`
Backtests Backtests `yaml:"backtests" json:"backtests"`
}
type Database struct {
Netloc string `yaml:"netloc" json:"netloc"`
Port int `yaml:"port" json:"port"`
Dbname string `yaml:"dbname" json:"dbname"`
User string `yaml:"user" json:"user"`
Password string `yaml:"password" json:"password"`
}
type Docker struct {
Network string `yaml:"network" json:"network"`
}
type HTTP struct {
Port int `yaml:"port" json:"port"`
}
type LemonMarkets struct {
MarketDataKey string `yaml:"market_data_key" json:"market_data_key"`
PaperTradingKey string `yaml:"paper_trading_key" json:"paper_trading_key"`
}
type NATS struct {
Host string `yaml:"host" json:"host"`
Port int `yaml:"port" json:"port"`
}
type Provider struct {
LemonMarkets LemonMarkets `yaml:"lemon_markets" json:"lemon_markets"`
Alpaca AlpacaMarkets `yaml:"alpaca_markets" json:"alpaca_markets"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.