Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultStyle ¶
func DefaultWhiteList ¶
func DefaultWhiteList() []string
func PrintConfig ¶
func PrintConfig(s interface{}, f io.Writer, style *table.Style, withColor bool, whiteLists ...string)
@param s: strategy object @param f: io.Writer used for writing the config dump @param style: pretty print table style. Use DefaultStyle() to get default one. @param withColor: whether to print with color @param whiteLists: fields to be printed out from embedded struct (1st layer only)
Types ¶
type JsonArr ¶
type JsonArr []JsonStruct
type JsonStruct ¶
Directories ¶
Path | Synopsis |
---|---|
flashcrash strategy tries to place the orders at 30%~50% of the current price, so that you can catch the orders while flashcrash happens
|
flashcrash strategy tries to place the orders at 30%~50% of the current price, so that you can catch the orders while flashcrash happens |
Click to show internal directories.
Click to hide internal directories.