Documentation
¶
Index ¶
- func BuyDecisionTree(configData *types.Config, marketData *types.Market, sessionData *types.Session) (bool, float64)
- func SellDecisionTree(configData *types.Config, marketData *types.Market, sessionData *types.Session) (bool, types.Order)
- func UpdatePendingOrders(configData *types.Config, sessionData *types.Session)
- func WsBookTicker(configData *types.Config, marketData *types.Market, sessionData *types.Session, ...)
- func WsKline(configData *types.Config, marketData *types.Market, sessionData *types.Session, ...)
- func WsUserDataServe(configData *types.Config, sessionData *types.Session, wg *sync.WaitGroup)
- type Channel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuyDecisionTree ¶
func BuyDecisionTree( configData *types.Config, marketData *types.Market, sessionData *types.Session) (bool, float64)
BuyDecisionTree BUY decision routine
func SellDecisionTree ¶
func SellDecisionTree( configData *types.Config, marketData *types.Market, sessionData *types.Session) (bool, types.Order)
SellDecisionTree SELL decision routine
func UpdatePendingOrders ¶
UpdatePendingOrders Routine to fill rogue and not up-to-date orders in the db and update
func WsBookTicker ¶
func WsBookTicker( configData *types.Config, marketData *types.Market, sessionData *types.Session, wg *sync.WaitGroup)
WsBookTicker Pushes any update to the best bid or asks price or quantity in real-time for a specified symbol
Types ¶
Click to show internal directories.
Click to hide internal directories.