Documentation ¶
Index ¶
Constants ¶
View Source
const XLM = "XLM"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BotConfig ¶
type BotConfig struct { SOURCE_SECRET_SEED string `valid:"-"` TRADING_SECRET_SEED string `valid:"-"` ASSET_CODE_A string `valid:"-"` ISSUER_A string `valid:"-"` ASSET_CODE_B string `valid:"-"` ISSUER_B string `valid:"-"` TICK_INTERVAL_SECONDS int32 `valid:"-"` HORIZON_URL string `valid:"-"` // contains filtered or unexported fields }
BotConfig represents the configuration params for the bot
func (*BotConfig) AssetQuote ¶
AssetQuote returns the config's assetQuote
func (*BotConfig) SourceAccount ¶
SourceAccount returns the config's source account
func (*BotConfig) TradingAccount ¶
TradingAccount returns the config's trading account
type Trader ¶
type Trader struct {
// contains filtered or unexported fields
}
Trader represents a market making bot, which is composed of various parts include the strategy and various APIs.
Click to show internal directories.
Click to hide internal directories.