Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DailyVolume ¶
DailyVolume represents any volume value which can be either bought or sold depending on the query
type DailyVolumeByDate ¶
type DailyVolumeByDate struct {
// contains filtered or unexported fields
}
DailyVolumeByDate is a query that fetches the daily volume of sales
func MakeDailyVolumeByDateForMarketIdsAction ¶
func MakeDailyVolumeByDateForMarketIdsAction( db *sql.DB, marketIDs []string, action string, optionalAccountIDs []string, ) (*DailyVolumeByDate, error)
MakeDailyVolumeByDateForMarketIdsAction makes the DailyVolumeByDate query for a set of marketIds and an action
func (*DailyVolumeByDate) QueryRow ¶
func (q *DailyVolumeByDate) QueryRow(args ...interface{}) (interface{}, error)
QueryRow impl.
type StrategyMirrorTradeTriggerExists ¶
type StrategyMirrorTradeTriggerExists struct {
// contains filtered or unexported fields
}
StrategyMirrorTradeTriggerExists is a query that fetches the row by primary key
func MakeStrategyMirrorTradeTriggerExists ¶
func MakeStrategyMirrorTradeTriggerExists(db *sql.DB, marketID string) (*StrategyMirrorTradeTriggerExists, error)
MakeStrategyMirrorTradeTriggerExists makes the StrategyMirrorTradeTriggerExists query
func (*StrategyMirrorTradeTriggerExists) Name ¶
func (q *StrategyMirrorTradeTriggerExists) Name() string
Name impl.
func (*StrategyMirrorTradeTriggerExists) QueryRow ¶
func (q *StrategyMirrorTradeTriggerExists) QueryRow(args ...interface{}) (interface{}, error)
QueryRow impl.
Click to show internal directories.
Click to hide internal directories.