Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EmaMacdBBorder ¶
type EmaMacdBBorder struct { IsLong bool `json:"-"` IsShort bool `json:"-"` IsDeal bool `json:"-"` EmaWindow int64 `json:"ema_window,omitempty"` MacdFast int64 `json:"macd_fast,omitempty"` MacdSlow int64 `json:"macd_slow,omitempty"` MacdSignal int64 `json:"macd_signal,omitempty"` BBEma int64 `json:"bb_ema,omitempty"` BBUp float64 `json:"bb_up,omitempty"` BBDown float64 `json:"bb_down,omitempty"` }
type KovWeights ¶
type Settings ¶
type Settings struct { sync.Mutex DealInfos map[string]DealInfo `json:"-"` KovWeights KovWeights `json:"kov_weights"` MainSignalTicker string `json:"main_signal_ticker"` Signals sync.Map `json:"-"` Intervals []string `json:"intervals"` OpenRate int8 `json:"open_rate"` CloseRate int8 `json:"close_rate"` JobID int64 `json:"-"` BinanceApiKey string `json:"-"` BinanceSecretKey string `json:"-"` SignalSell bool `json:"-"` SignalBuy bool `json:"-"` IsBuy bool `json:"-"` IsSell bool `json:"-"` ShortOnly bool `json:"-"` LongOnly bool `json:"-"` IsShort bool `json:"-"` IsLong bool `json:"-"` OpenDealPrice float64 `json:"-"` Name string `json:"name"` Symbol string `json:"symbol"` IndicatorInterval string `json:"indicator_interval"` CandleLimit int `json:"candle_limit"` AmountOrder float64 `json:"amount_order"` Comission float64 `json:"comission"` EmaRsi EmaRsi `json:"emarsi,omitempty"` EmaMacdBBorder EmaMacdBBorder `json:"emamacdbborder,omitempty"` Klinger Klinger `json:"klinger,omitempty"` }
type TelegramJob ¶
Click to show internal directories.
Click to hide internal directories.