Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Strategy) predicate.Strategy
- func CandlesToCheck(v int) predicate.Strategy
- func CandlesToCheckEQ(v int) predicate.Strategy
- func CandlesToCheckGT(v int) predicate.Strategy
- func CandlesToCheckGTE(v int) predicate.Strategy
- func CandlesToCheckIn(vs ...int) predicate.Strategy
- func CandlesToCheckIsNil() predicate.Strategy
- func CandlesToCheckLT(v int) predicate.Strategy
- func CandlesToCheckLTE(v int) predicate.Strategy
- func CandlesToCheckNEQ(v int) predicate.Strategy
- func CandlesToCheckNotIn(vs ...int) predicate.Strategy
- func CandlesToCheckNotNil() predicate.Strategy
- func CreateTime(v time.Time) predicate.Strategy
- func CreateTimeEQ(v time.Time) predicate.Strategy
- func CreateTimeGT(v time.Time) predicate.Strategy
- func CreateTimeGTE(v time.Time) predicate.Strategy
- func CreateTimeIn(vs ...time.Time) predicate.Strategy
- func CreateTimeLT(v time.Time) predicate.Strategy
- func CreateTimeLTE(v time.Time) predicate.Strategy
- func CreateTimeNEQ(v time.Time) predicate.Strategy
- func CreateTimeNotIn(vs ...time.Time) predicate.Strategy
- func DropOn(v bool) predicate.Strategy
- func DropOnEQ(v bool) predicate.Strategy
- func DropOnIsNil() predicate.Strategy
- func DropOnNEQ(v bool) predicate.Strategy
- func DropOnNotNil() predicate.Strategy
- func DropThreshold(v decimal.Decimal) predicate.Strategy
- func DropThresholdContains(v decimal.Decimal) predicate.Strategy
- func DropThresholdContainsFold(v decimal.Decimal) predicate.Strategy
- func DropThresholdEQ(v decimal.Decimal) predicate.Strategy
- func DropThresholdEqualFold(v decimal.Decimal) predicate.Strategy
- func DropThresholdGT(v decimal.Decimal) predicate.Strategy
- func DropThresholdGTE(v decimal.Decimal) predicate.Strategy
- func DropThresholdHasPrefix(v decimal.Decimal) predicate.Strategy
- func DropThresholdHasSuffix(v decimal.Decimal) predicate.Strategy
- func DropThresholdIn(vs ...decimal.Decimal) predicate.Strategy
- func DropThresholdIsNil() predicate.Strategy
- func DropThresholdLT(v decimal.Decimal) predicate.Strategy
- func DropThresholdLTE(v decimal.Decimal) predicate.Strategy
- func DropThresholdNEQ(v decimal.Decimal) predicate.Strategy
- func DropThresholdNotIn(vs ...decimal.Decimal) predicate.Strategy
- func DropThresholdNotNil() predicate.Strategy
- func DynamicStopLoss(v bool) predicate.Strategy
- func DynamicStopLossEQ(v bool) predicate.Strategy
- func DynamicStopLossIsNil() predicate.Strategy
- func DynamicStopLossNEQ(v bool) predicate.Strategy
- func DynamicStopLossNotNil() predicate.Strategy
- func EnableAutoBuy(v bool) predicate.Strategy
- func EnableAutoBuyEQ(v bool) predicate.Strategy
- func EnableAutoBuyNEQ(v bool) predicate.Strategy
- func EnableAutoExit(v bool) predicate.Strategy
- func EnableAutoExitEQ(v bool) predicate.Strategy
- func EnableAutoExitNEQ(v bool) predicate.Strategy
- func EnableAutoSell(v bool) predicate.Strategy
- func EnableAutoSellEQ(v bool) predicate.Strategy
- func EnableAutoSellNEQ(v bool) predicate.Strategy
- func EnablePushNotification(v bool) predicate.Strategy
- func EnablePushNotificationEQ(v bool) predicate.Strategy
- func EnablePushNotificationNEQ(v bool) predicate.Strategy
- func FirstOrderId(v int) predicate.Strategy
- func FirstOrderIdEQ(v int) predicate.Strategy
- func FirstOrderIdGT(v int) predicate.Strategy
- func FirstOrderIdGTE(v int) predicate.Strategy
- func FirstOrderIdIn(vs ...int) predicate.Strategy
- func FirstOrderIdIsNil() predicate.Strategy
- func FirstOrderIdLT(v int) predicate.Strategy
- func FirstOrderIdLTE(v int) predicate.Strategy
- func FirstOrderIdNEQ(v int) predicate.Strategy
- func FirstOrderIdNotIn(vs ...int) predicate.Strategy
- func FirstOrderIdNotNil() predicate.Strategy
- func FiveKlineVolume(v decimal.Decimal) predicate.Strategy
- func FiveKlineVolumeContains(v decimal.Decimal) predicate.Strategy
- func FiveKlineVolumeContainsFold(v decimal.Decimal) predicate.Strategy
- func FiveKlineVolumeEQ(v decimal.Decimal) predicate.Strategy
- func FiveKlineVolumeEqualFold(v decimal.Decimal) predicate.Strategy
- func FiveKlineVolumeGT(v decimal.Decimal) predicate.Strategy
- func FiveKlineVolumeGTE(v decimal.Decimal) predicate.Strategy
- func FiveKlineVolumeHasPrefix(v decimal.Decimal) predicate.Strategy
- func FiveKlineVolumeHasSuffix(v decimal.Decimal) predicate.Strategy
- func FiveKlineVolumeIn(vs ...decimal.Decimal) predicate.Strategy
- func FiveKlineVolumeIsNil() predicate.Strategy
- func FiveKlineVolumeLT(v decimal.Decimal) predicate.Strategy
- func FiveKlineVolumeLTE(v decimal.Decimal) predicate.Strategy
- func FiveKlineVolumeNEQ(v decimal.Decimal) predicate.Strategy
- func FiveKlineVolumeNotIn(vs ...decimal.Decimal) predicate.Strategy
- func FiveKlineVolumeNotNil() predicate.Strategy
- func GUID(v string) predicate.Strategy
- func GUIDContains(v string) predicate.Strategy
- func GUIDContainsFold(v string) predicate.Strategy
- func GUIDEQ(v string) predicate.Strategy
- func GUIDEqualFold(v string) predicate.Strategy
- func GUIDGT(v string) predicate.Strategy
- func GUIDGTE(v string) predicate.Strategy
- func GUIDHasPrefix(v string) predicate.Strategy
- func GUIDHasSuffix(v string) predicate.Strategy
- func GUIDIn(vs ...string) predicate.Strategy
- func GUIDLT(v string) predicate.Strategy
- func GUIDLTE(v string) predicate.Strategy
- func GUIDNEQ(v string) predicate.Strategy
- func GUIDNotIn(vs ...string) predicate.Strategy
- func GlobalTakeProfitRatio(v decimal.Decimal) predicate.Strategy
- func GlobalTakeProfitRatioContains(v decimal.Decimal) predicate.Strategy
- func GlobalTakeProfitRatioContainsFold(v decimal.Decimal) predicate.Strategy
- func GlobalTakeProfitRatioEQ(v decimal.Decimal) predicate.Strategy
- func GlobalTakeProfitRatioEqualFold(v decimal.Decimal) predicate.Strategy
- func GlobalTakeProfitRatioGT(v decimal.Decimal) predicate.Strategy
- func GlobalTakeProfitRatioGTE(v decimal.Decimal) predicate.Strategy
- func GlobalTakeProfitRatioHasPrefix(v decimal.Decimal) predicate.Strategy
- func GlobalTakeProfitRatioHasSuffix(v decimal.Decimal) predicate.Strategy
- func GlobalTakeProfitRatioIn(vs ...decimal.Decimal) predicate.Strategy
- func GlobalTakeProfitRatioIsNil() predicate.Strategy
- func GlobalTakeProfitRatioLT(v decimal.Decimal) predicate.Strategy
- func GlobalTakeProfitRatioLTE(v decimal.Decimal) predicate.Strategy
- func GlobalTakeProfitRatioNEQ(v decimal.Decimal) predicate.Strategy
- func GlobalTakeProfitRatioNotIn(vs ...decimal.Decimal) predicate.Strategy
- func GlobalTakeProfitRatioNotNil() predicate.Strategy
- func GridTrend(v string) predicate.Strategy
- func GridTrendContains(v string) predicate.Strategy
- func GridTrendContainsFold(v string) predicate.Strategy
- func GridTrendEQ(v string) predicate.Strategy
- func GridTrendEqualFold(v string) predicate.Strategy
- func GridTrendGT(v string) predicate.Strategy
- func GridTrendGTE(v string) predicate.Strategy
- func GridTrendHasPrefix(v string) predicate.Strategy
- func GridTrendHasSuffix(v string) predicate.Strategy
- func GridTrendIn(vs ...string) predicate.Strategy
- func GridTrendIsNil() predicate.Strategy
- func GridTrendLT(v string) predicate.Strategy
- func GridTrendLTE(v string) predicate.Strategy
- func GridTrendNEQ(v string) predicate.Strategy
- func GridTrendNotIn(vs ...string) predicate.Strategy
- func GridTrendNotNil() predicate.Strategy
- func ID(id int) predicate.Strategy
- func IDEQ(id int) predicate.Strategy
- func IDGT(id int) predicate.Strategy
- func IDGTE(id int) predicate.Strategy
- func IDIn(ids ...int) predicate.Strategy
- func IDLT(id int) predicate.Strategy
- func IDLTE(id int) predicate.Strategy
- func IDNEQ(id int) predicate.Strategy
- func IDNotIn(ids ...int) predicate.Strategy
- func InitialOrderSize(v decimal.Decimal) predicate.Strategy
- func InitialOrderSizeContains(v decimal.Decimal) predicate.Strategy
- func InitialOrderSizeContainsFold(v decimal.Decimal) predicate.Strategy
- func InitialOrderSizeEQ(v decimal.Decimal) predicate.Strategy
- func InitialOrderSizeEqualFold(v decimal.Decimal) predicate.Strategy
- func InitialOrderSizeGT(v decimal.Decimal) predicate.Strategy
- func InitialOrderSizeGTE(v decimal.Decimal) predicate.Strategy
- func InitialOrderSizeHasPrefix(v decimal.Decimal) predicate.Strategy
- func InitialOrderSizeHasSuffix(v decimal.Decimal) predicate.Strategy
- func InitialOrderSizeIn(vs ...decimal.Decimal) predicate.Strategy
- func InitialOrderSizeLT(v decimal.Decimal) predicate.Strategy
- func InitialOrderSizeLTE(v decimal.Decimal) predicate.Strategy
- func InitialOrderSizeNEQ(v decimal.Decimal) predicate.Strategy
- func InitialOrderSizeNotIn(vs ...decimal.Decimal) predicate.Strategy
- func LastKlineVolume(v decimal.Decimal) predicate.Strategy
- func LastKlineVolumeContains(v decimal.Decimal) predicate.Strategy
- func LastKlineVolumeContainsFold(v decimal.Decimal) predicate.Strategy
- func LastKlineVolumeEQ(v decimal.Decimal) predicate.Strategy
- func LastKlineVolumeEqualFold(v decimal.Decimal) predicate.Strategy
- func LastKlineVolumeGT(v decimal.Decimal) predicate.Strategy
- func LastKlineVolumeGTE(v decimal.Decimal) predicate.Strategy
- func LastKlineVolumeHasPrefix(v decimal.Decimal) predicate.Strategy
- func LastKlineVolumeHasSuffix(v decimal.Decimal) predicate.Strategy
- func LastKlineVolumeIn(vs ...decimal.Decimal) predicate.Strategy
- func LastKlineVolumeIsNil() predicate.Strategy
- func LastKlineVolumeLT(v decimal.Decimal) predicate.Strategy
- func LastKlineVolumeLTE(v decimal.Decimal) predicate.Strategy
- func LastKlineVolumeNEQ(v decimal.Decimal) predicate.Strategy
- func LastKlineVolumeNotIn(vs ...decimal.Decimal) predicate.Strategy
- func LastKlineVolumeNotNil() predicate.Strategy
- func LastLowerThresholdAlertTime(v time.Time) predicate.Strategy
- func LastLowerThresholdAlertTimeEQ(v time.Time) predicate.Strategy
- func LastLowerThresholdAlertTimeGT(v time.Time) predicate.Strategy
- func LastLowerThresholdAlertTimeGTE(v time.Time) predicate.Strategy
- func LastLowerThresholdAlertTimeIn(vs ...time.Time) predicate.Strategy
- func LastLowerThresholdAlertTimeIsNil() predicate.Strategy
- func LastLowerThresholdAlertTimeLT(v time.Time) predicate.Strategy
- func LastLowerThresholdAlertTimeLTE(v time.Time) predicate.Strategy
- func LastLowerThresholdAlertTimeNEQ(v time.Time) predicate.Strategy
- func LastLowerThresholdAlertTimeNotIn(vs ...time.Time) predicate.Strategy
- func LastLowerThresholdAlertTimeNotNil() predicate.Strategy
- func LastUpperThresholdAlertTime(v time.Time) predicate.Strategy
- func LastUpperThresholdAlertTimeEQ(v time.Time) predicate.Strategy
- func LastUpperThresholdAlertTimeGT(v time.Time) predicate.Strategy
- func LastUpperThresholdAlertTimeGTE(v time.Time) predicate.Strategy
- func LastUpperThresholdAlertTimeIn(vs ...time.Time) predicate.Strategy
- func LastUpperThresholdAlertTimeIsNil() predicate.Strategy
- func LastUpperThresholdAlertTimeLT(v time.Time) predicate.Strategy
- func LastUpperThresholdAlertTimeLTE(v time.Time) predicate.Strategy
- func LastUpperThresholdAlertTimeNEQ(v time.Time) predicate.Strategy
- func LastUpperThresholdAlertTimeNotIn(vs ...time.Time) predicate.Strategy
- func LastUpperThresholdAlertTimeNotNil() predicate.Strategy
- func LowerPriceBound(v decimal.Decimal) predicate.Strategy
- func LowerPriceBoundContains(v decimal.Decimal) predicate.Strategy
- func LowerPriceBoundContainsFold(v decimal.Decimal) predicate.Strategy
- func LowerPriceBoundEQ(v decimal.Decimal) predicate.Strategy
- func LowerPriceBoundEqualFold(v decimal.Decimal) predicate.Strategy
- func LowerPriceBoundGT(v decimal.Decimal) predicate.Strategy
- func LowerPriceBoundGTE(v decimal.Decimal) predicate.Strategy
- func LowerPriceBoundHasPrefix(v decimal.Decimal) predicate.Strategy
- func LowerPriceBoundHasSuffix(v decimal.Decimal) predicate.Strategy
- func LowerPriceBoundIn(vs ...decimal.Decimal) predicate.Strategy
- func LowerPriceBoundLT(v decimal.Decimal) predicate.Strategy
- func LowerPriceBoundLTE(v decimal.Decimal) predicate.Strategy
- func LowerPriceBoundNEQ(v decimal.Decimal) predicate.Strategy
- func LowerPriceBoundNotIn(vs ...decimal.Decimal) predicate.Strategy
- func MartinFactor(v float64) predicate.Strategy
- func MartinFactorEQ(v float64) predicate.Strategy
- func MartinFactorGT(v float64) predicate.Strategy
- func MartinFactorGTE(v float64) predicate.Strategy
- func MartinFactorIn(vs ...float64) predicate.Strategy
- func MartinFactorLT(v float64) predicate.Strategy
- func MartinFactorLTE(v float64) predicate.Strategy
- func MartinFactorNEQ(v float64) predicate.Strategy
- func MartinFactorNotIn(vs ...float64) predicate.Strategy
- func MaxGridLimit(v int) predicate.Strategy
- func MaxGridLimitEQ(v int) predicate.Strategy
- func MaxGridLimitGT(v int) predicate.Strategy
- func MaxGridLimitGTE(v int) predicate.Strategy
- func MaxGridLimitIn(vs ...int) predicate.Strategy
- func MaxGridLimitIsNil() predicate.Strategy
- func MaxGridLimitLT(v int) predicate.Strategy
- func MaxGridLimitLTE(v int) predicate.Strategy
- func MaxGridLimitNEQ(v int) predicate.Strategy
- func MaxGridLimitNotIn(vs ...int) predicate.Strategy
- func MaxGridLimitNotNil() predicate.Strategy
- func Not(p predicate.Strategy) predicate.Strategy
- func Or(predicates ...predicate.Strategy) predicate.Strategy
- func StatusEQ(v Status) predicate.Strategy
- func StatusIn(vs ...Status) predicate.Strategy
- func StatusNEQ(v Status) predicate.Strategy
- func StatusNotIn(vs ...Status) predicate.Strategy
- func StatusValidator(s Status) error
- func StopLossExit(v decimal.Decimal) predicate.Strategy
- func StopLossExitContains(v decimal.Decimal) predicate.Strategy
- func StopLossExitContainsFold(v decimal.Decimal) predicate.Strategy
- func StopLossExitEQ(v decimal.Decimal) predicate.Strategy
- func StopLossExitEqualFold(v decimal.Decimal) predicate.Strategy
- func StopLossExitGT(v decimal.Decimal) predicate.Strategy
- func StopLossExitGTE(v decimal.Decimal) predicate.Strategy
- func StopLossExitHasPrefix(v decimal.Decimal) predicate.Strategy
- func StopLossExitHasSuffix(v decimal.Decimal) predicate.Strategy
- func StopLossExitIn(vs ...decimal.Decimal) predicate.Strategy
- func StopLossExitIsNil() predicate.Strategy
- func StopLossExitLT(v decimal.Decimal) predicate.Strategy
- func StopLossExitLTE(v decimal.Decimal) predicate.Strategy
- func StopLossExitNEQ(v decimal.Decimal) predicate.Strategy
- func StopLossExitNotIn(vs ...decimal.Decimal) predicate.Strategy
- func StopLossExitNotNil() predicate.Strategy
- func Symbol(v string) predicate.Strategy
- func SymbolContains(v string) predicate.Strategy
- func SymbolContainsFold(v string) predicate.Strategy
- func SymbolEQ(v string) predicate.Strategy
- func SymbolEqualFold(v string) predicate.Strategy
- func SymbolGT(v string) predicate.Strategy
- func SymbolGTE(v string) predicate.Strategy
- func SymbolHasPrefix(v string) predicate.Strategy
- func SymbolHasSuffix(v string) predicate.Strategy
- func SymbolIn(vs ...string) predicate.Strategy
- func SymbolLT(v string) predicate.Strategy
- func SymbolLTE(v string) predicate.Strategy
- func SymbolNEQ(v string) predicate.Strategy
- func SymbolNotIn(vs ...string) predicate.Strategy
- func TakeProfitExit(v decimal.Decimal) predicate.Strategy
- func TakeProfitExitContains(v decimal.Decimal) predicate.Strategy
- func TakeProfitExitContainsFold(v decimal.Decimal) predicate.Strategy
- func TakeProfitExitEQ(v decimal.Decimal) predicate.Strategy
- func TakeProfitExitEqualFold(v decimal.Decimal) predicate.Strategy
- func TakeProfitExitGT(v decimal.Decimal) predicate.Strategy
- func TakeProfitExitGTE(v decimal.Decimal) predicate.Strategy
- func TakeProfitExitHasPrefix(v decimal.Decimal) predicate.Strategy
- func TakeProfitExitHasSuffix(v decimal.Decimal) predicate.Strategy
- func TakeProfitExitIn(vs ...decimal.Decimal) predicate.Strategy
- func TakeProfitExitIsNil() predicate.Strategy
- func TakeProfitExitLT(v decimal.Decimal) predicate.Strategy
- func TakeProfitExitLTE(v decimal.Decimal) predicate.Strategy
- func TakeProfitExitNEQ(v decimal.Decimal) predicate.Strategy
- func TakeProfitExitNotIn(vs ...decimal.Decimal) predicate.Strategy
- func TakeProfitExitNotNil() predicate.Strategy
- func TakeProfitRatio(v decimal.Decimal) predicate.Strategy
- func TakeProfitRatioContains(v decimal.Decimal) predicate.Strategy
- func TakeProfitRatioContainsFold(v decimal.Decimal) predicate.Strategy
- func TakeProfitRatioEQ(v decimal.Decimal) predicate.Strategy
- func TakeProfitRatioEqualFold(v decimal.Decimal) predicate.Strategy
- func TakeProfitRatioGT(v decimal.Decimal) predicate.Strategy
- func TakeProfitRatioGTE(v decimal.Decimal) predicate.Strategy
- func TakeProfitRatioHasPrefix(v decimal.Decimal) predicate.Strategy
- func TakeProfitRatioHasSuffix(v decimal.Decimal) predicate.Strategy
- func TakeProfitRatioIn(vs ...decimal.Decimal) predicate.Strategy
- func TakeProfitRatioLT(v decimal.Decimal) predicate.Strategy
- func TakeProfitRatioLTE(v decimal.Decimal) predicate.Strategy
- func TakeProfitRatioNEQ(v decimal.Decimal) predicate.Strategy
- func TakeProfitRatioNotIn(vs ...decimal.Decimal) predicate.Strategy
- func Token(v string) predicate.Strategy
- func TokenContains(v string) predicate.Strategy
- func TokenContainsFold(v string) predicate.Strategy
- func TokenEQ(v string) predicate.Strategy
- func TokenEqualFold(v string) predicate.Strategy
- func TokenGT(v string) predicate.Strategy
- func TokenGTE(v string) predicate.Strategy
- func TokenHasPrefix(v string) predicate.Strategy
- func TokenHasSuffix(v string) predicate.Strategy
- func TokenIn(vs ...string) predicate.Strategy
- func TokenLT(v string) predicate.Strategy
- func TokenLTE(v string) predicate.Strategy
- func TokenNEQ(v string) predicate.Strategy
- func TokenNotIn(vs ...string) predicate.Strategy
- func UpdateTime(v time.Time) predicate.Strategy
- func UpdateTimeEQ(v time.Time) predicate.Strategy
- func UpdateTimeGT(v time.Time) predicate.Strategy
- func UpdateTimeGTE(v time.Time) predicate.Strategy
- func UpdateTimeIn(vs ...time.Time) predicate.Strategy
- func UpdateTimeLT(v time.Time) predicate.Strategy
- func UpdateTimeLTE(v time.Time) predicate.Strategy
- func UpdateTimeNEQ(v time.Time) predicate.Strategy
- func UpdateTimeNotIn(vs ...time.Time) predicate.Strategy
- func UpperBoundExit(v decimal.Decimal) predicate.Strategy
- func UpperBoundExitContains(v decimal.Decimal) predicate.Strategy
- func UpperBoundExitContainsFold(v decimal.Decimal) predicate.Strategy
- func UpperBoundExitEQ(v decimal.Decimal) predicate.Strategy
- func UpperBoundExitEqualFold(v decimal.Decimal) predicate.Strategy
- func UpperBoundExitGT(v decimal.Decimal) predicate.Strategy
- func UpperBoundExitGTE(v decimal.Decimal) predicate.Strategy
- func UpperBoundExitHasPrefix(v decimal.Decimal) predicate.Strategy
- func UpperBoundExitHasSuffix(v decimal.Decimal) predicate.Strategy
- func UpperBoundExitIn(vs ...decimal.Decimal) predicate.Strategy
- func UpperBoundExitIsNil() predicate.Strategy
- func UpperBoundExitLT(v decimal.Decimal) predicate.Strategy
- func UpperBoundExitLTE(v decimal.Decimal) predicate.Strategy
- func UpperBoundExitNEQ(v decimal.Decimal) predicate.Strategy
- func UpperBoundExitNotIn(vs ...decimal.Decimal) predicate.Strategy
- func UpperBoundExitNotNil() predicate.Strategy
- func UpperPriceBound(v decimal.Decimal) predicate.Strategy
- func UpperPriceBoundContains(v decimal.Decimal) predicate.Strategy
- func UpperPriceBoundContainsFold(v decimal.Decimal) predicate.Strategy
- func UpperPriceBoundEQ(v decimal.Decimal) predicate.Strategy
- func UpperPriceBoundEqualFold(v decimal.Decimal) predicate.Strategy
- func UpperPriceBoundGT(v decimal.Decimal) predicate.Strategy
- func UpperPriceBoundGTE(v decimal.Decimal) predicate.Strategy
- func UpperPriceBoundHasPrefix(v decimal.Decimal) predicate.Strategy
- func UpperPriceBoundHasSuffix(v decimal.Decimal) predicate.Strategy
- func UpperPriceBoundIn(vs ...decimal.Decimal) predicate.Strategy
- func UpperPriceBoundLT(v decimal.Decimal) predicate.Strategy
- func UpperPriceBoundLTE(v decimal.Decimal) predicate.Strategy
- func UpperPriceBoundNEQ(v decimal.Decimal) predicate.Strategy
- func UpperPriceBoundNotIn(vs ...decimal.Decimal) predicate.Strategy
- func UserId(v int64) predicate.Strategy
- func UserIdEQ(v int64) predicate.Strategy
- func UserIdGT(v int64) predicate.Strategy
- func UserIdGTE(v int64) predicate.Strategy
- func UserIdIn(vs ...int64) predicate.Strategy
- func UserIdLT(v int64) predicate.Strategy
- func UserIdLTE(v int64) predicate.Strategy
- func UserIdNEQ(v int64) predicate.Strategy
- func UserIdNotIn(vs ...int64) predicate.Strategy
- func ValidColumn(column string) bool
- type OrderOption
- func ByCandlesToCheck(opts ...sql.OrderTermOption) OrderOption
- func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
- func ByDropOn(opts ...sql.OrderTermOption) OrderOption
- func ByDropThreshold(opts ...sql.OrderTermOption) OrderOption
- func ByDynamicStopLoss(opts ...sql.OrderTermOption) OrderOption
- func ByEnableAutoBuy(opts ...sql.OrderTermOption) OrderOption
- func ByEnableAutoExit(opts ...sql.OrderTermOption) OrderOption
- func ByEnableAutoSell(opts ...sql.OrderTermOption) OrderOption
- func ByEnablePushNotification(opts ...sql.OrderTermOption) OrderOption
- func ByFirstOrderId(opts ...sql.OrderTermOption) OrderOption
- func ByFiveKlineVolume(opts ...sql.OrderTermOption) OrderOption
- func ByGUID(opts ...sql.OrderTermOption) OrderOption
- func ByGlobalTakeProfitRatio(opts ...sql.OrderTermOption) OrderOption
- func ByGridTrend(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByInitialOrderSize(opts ...sql.OrderTermOption) OrderOption
- func ByLastKlineVolume(opts ...sql.OrderTermOption) OrderOption
- func ByLastLowerThresholdAlertTime(opts ...sql.OrderTermOption) OrderOption
- func ByLastUpperThresholdAlertTime(opts ...sql.OrderTermOption) OrderOption
- func ByLowerPriceBound(opts ...sql.OrderTermOption) OrderOption
- func ByMartinFactor(opts ...sql.OrderTermOption) OrderOption
- func ByMaxGridLimit(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByStopLossExit(opts ...sql.OrderTermOption) OrderOption
- func BySymbol(opts ...sql.OrderTermOption) OrderOption
- func ByTakeProfitExit(opts ...sql.OrderTermOption) OrderOption
- func ByTakeProfitRatio(opts ...sql.OrderTermOption) OrderOption
- func ByToken(opts ...sql.OrderTermOption) OrderOption
- func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
- func ByUpperBoundExit(opts ...sql.OrderTermOption) OrderOption
- func ByUpperPriceBound(opts ...sql.OrderTermOption) OrderOption
- func ByUserId(opts ...sql.OrderTermOption) OrderOption
- type Status
Constants ¶
const ( // Label holds the string label denoting the strategy type in the database. Label = "strategy" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // FieldUpdateTime holds the string denoting the update_time field in the database. FieldUpdateTime = "update_time" // FieldGUID holds the string denoting the guid field in the database. FieldGUID = "guid" // FieldUserId holds the string denoting the userid field in the database. FieldUserId = "user_id" // FieldToken holds the string denoting the token field in the database. FieldToken = "token" // FieldSymbol holds the string denoting the symbol field in the database. FieldSymbol = "symbol" // FieldMartinFactor holds the string denoting the martinfactor field in the database. FieldMartinFactor = "martin_factor" // FieldMaxGridLimit holds the string denoting the maxgridlimit field in the database. FieldMaxGridLimit = "max_grid_limit" // FieldTakeProfitRatio holds the string denoting the takeprofitratio field in the database. FieldTakeProfitRatio = "take_profit_ratio" // FieldUpperPriceBound holds the string denoting the upperpricebound field in the database. FieldUpperPriceBound = "upper_price_bound" // FieldLowerPriceBound holds the string denoting the lowerpricebound field in the database. FieldLowerPriceBound = "lower_price_bound" // FieldInitialOrderSize holds the string denoting the initialordersize field in the database. FieldInitialOrderSize = "initial_order_size" // FieldLastKlineVolume holds the string denoting the lastklinevolume field in the database. FieldLastKlineVolume = "last_kline_volume" // FieldFiveKlineVolume holds the string denoting the fiveklinevolume field in the database. FieldFiveKlineVolume = "five_kline_volume" // FieldFirstOrderId holds the string denoting the firstorderid field in the database. FieldFirstOrderId = "first_order_id" // FieldUpperBoundExit holds the string denoting the upperboundexit field in the database. FieldUpperBoundExit = "upper_bound_exit" // FieldStopLossExit holds the string denoting the stoplossexit field in the database. FieldStopLossExit = "stop_loss_exit" // FieldTakeProfitExit holds the string denoting the takeprofitexit field in the database. FieldTakeProfitExit = "take_profit_exit" // FieldGlobalTakeProfitRatio holds the string denoting the globaltakeprofitratio field in the database. FieldGlobalTakeProfitRatio = "global_take_profit_ratio" // FieldDynamicStopLoss holds the string denoting the dynamicstoploss field in the database. FieldDynamicStopLoss = "dynamic_stop_loss" // FieldDropOn holds the string denoting the dropon field in the database. FieldDropOn = "drop_on" // FieldCandlesToCheck holds the string denoting the candlestocheck field in the database. FieldCandlesToCheck = "candles_to_check" // FieldDropThreshold holds the string denoting the dropthreshold field in the database. FieldDropThreshold = "drop_threshold" // FieldEnableAutoBuy holds the string denoting the enableautobuy field in the database. FieldEnableAutoBuy = "enable_auto_buy" // FieldEnableAutoSell holds the string denoting the enableautosell field in the database. FieldEnableAutoSell = "enable_auto_sell" // FieldEnableAutoExit holds the string denoting the enableautoexit field in the database. FieldEnableAutoExit = "enable_auto_exit" // FieldEnablePushNotification holds the string denoting the enablepushnotification field in the database. FieldEnablePushNotification = "enable_push_notification" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldGridTrend holds the string denoting the gridtrend field in the database. FieldGridTrend = "grid_trend" // FieldLastLowerThresholdAlertTime holds the string denoting the lastlowerthresholdalerttime field in the database. FieldLastLowerThresholdAlertTime = "last_lower_threshold_alert_time" // FieldLastUpperThresholdAlertTime holds the string denoting the lastupperthresholdalerttime field in the database. FieldLastUpperThresholdAlertTime = "last_upper_threshold_alert_time" // Table holds the table name of the strategy in the database. Table = "strategies" )
Variables ¶
var ( // DefaultCreateTime holds the default value on creation for the "create_time" field. DefaultCreateTime func() time.Time // DefaultUpdateTime holds the default value on creation for the "update_time" field. DefaultUpdateTime func() time.Time // UpdateDefaultUpdateTime holds the default value on update for the "update_time" field. UpdateDefaultUpdateTime func() time.Time // GUIDValidator is a validator for the "guid" field. It is called by the builders before save. GUIDValidator func(string) error // TokenValidator is a validator for the "token" field. It is called by the builders before save. TokenValidator func(string) error // SymbolValidator is a validator for the "symbol" field. It is called by the builders before save. SymbolValidator func(string) error // MartinFactorValidator is a validator for the "martinFactor" field. It is called by the builders before save. MartinFactorValidator func(float64) error // MaxGridLimitValidator is a validator for the "maxGridLimit" field. It is called by the builders before save. MaxGridLimitValidator func(int) error // DefaultCandlesToCheck holds the default value on creation for the "candlesToCheck" field. DefaultCandlesToCheck int )
var Columns = []string{ FieldID, FieldCreateTime, FieldUpdateTime, FieldGUID, FieldUserId, FieldToken, FieldSymbol, FieldMartinFactor, FieldMaxGridLimit, FieldTakeProfitRatio, FieldUpperPriceBound, FieldLowerPriceBound, FieldInitialOrderSize, FieldLastKlineVolume, FieldFiveKlineVolume, FieldFirstOrderId, FieldUpperBoundExit, FieldStopLossExit, FieldTakeProfitExit, FieldGlobalTakeProfitRatio, FieldDynamicStopLoss, FieldDropOn, FieldCandlesToCheck, FieldDropThreshold, FieldEnableAutoBuy, FieldEnableAutoSell, FieldEnableAutoExit, FieldEnablePushNotification, FieldStatus, FieldGridTrend, FieldLastLowerThresholdAlertTime, FieldLastUpperThresholdAlertTime, }
Columns holds all SQL columns for strategy fields.
Functions ¶
func CandlesToCheck ¶
CandlesToCheck applies equality check predicate on the "candlesToCheck" field. It's identical to CandlesToCheckEQ.
func CandlesToCheckEQ ¶
CandlesToCheckEQ applies the EQ predicate on the "candlesToCheck" field.
func CandlesToCheckGT ¶
CandlesToCheckGT applies the GT predicate on the "candlesToCheck" field.
func CandlesToCheckGTE ¶
CandlesToCheckGTE applies the GTE predicate on the "candlesToCheck" field.
func CandlesToCheckIn ¶
CandlesToCheckIn applies the In predicate on the "candlesToCheck" field.
func CandlesToCheckIsNil ¶
CandlesToCheckIsNil applies the IsNil predicate on the "candlesToCheck" field.
func CandlesToCheckLT ¶
CandlesToCheckLT applies the LT predicate on the "candlesToCheck" field.
func CandlesToCheckLTE ¶
CandlesToCheckLTE applies the LTE predicate on the "candlesToCheck" field.
func CandlesToCheckNEQ ¶
CandlesToCheckNEQ applies the NEQ predicate on the "candlesToCheck" field.
func CandlesToCheckNotIn ¶
CandlesToCheckNotIn applies the NotIn predicate on the "candlesToCheck" field.
func CandlesToCheckNotNil ¶
CandlesToCheckNotNil applies the NotNil predicate on the "candlesToCheck" field.
func CreateTime ¶
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func DropOn ¶
DropOn applies equality check predicate on the "dropOn" field. It's identical to DropOnEQ.
func DropOnIsNil ¶
DropOnIsNil applies the IsNil predicate on the "dropOn" field.
func DropOnNotNil ¶
DropOnNotNil applies the NotNil predicate on the "dropOn" field.
func DropThreshold ¶
DropThreshold applies equality check predicate on the "dropThreshold" field. It's identical to DropThresholdEQ.
func DropThresholdContains ¶
DropThresholdContains applies the Contains predicate on the "dropThreshold" field.
func DropThresholdContainsFold ¶
DropThresholdContainsFold applies the ContainsFold predicate on the "dropThreshold" field.
func DropThresholdEQ ¶
DropThresholdEQ applies the EQ predicate on the "dropThreshold" field.
func DropThresholdEqualFold ¶
DropThresholdEqualFold applies the EqualFold predicate on the "dropThreshold" field.
func DropThresholdGT ¶
DropThresholdGT applies the GT predicate on the "dropThreshold" field.
func DropThresholdGTE ¶
DropThresholdGTE applies the GTE predicate on the "dropThreshold" field.
func DropThresholdHasPrefix ¶
DropThresholdHasPrefix applies the HasPrefix predicate on the "dropThreshold" field.
func DropThresholdHasSuffix ¶
DropThresholdHasSuffix applies the HasSuffix predicate on the "dropThreshold" field.
func DropThresholdIn ¶
DropThresholdIn applies the In predicate on the "dropThreshold" field.
func DropThresholdIsNil ¶
DropThresholdIsNil applies the IsNil predicate on the "dropThreshold" field.
func DropThresholdLT ¶
DropThresholdLT applies the LT predicate on the "dropThreshold" field.
func DropThresholdLTE ¶
DropThresholdLTE applies the LTE predicate on the "dropThreshold" field.
func DropThresholdNEQ ¶
DropThresholdNEQ applies the NEQ predicate on the "dropThreshold" field.
func DropThresholdNotIn ¶
DropThresholdNotIn applies the NotIn predicate on the "dropThreshold" field.
func DropThresholdNotNil ¶
DropThresholdNotNil applies the NotNil predicate on the "dropThreshold" field.
func DynamicStopLoss ¶
DynamicStopLoss applies equality check predicate on the "dynamicStopLoss" field. It's identical to DynamicStopLossEQ.
func DynamicStopLossEQ ¶
DynamicStopLossEQ applies the EQ predicate on the "dynamicStopLoss" field.
func DynamicStopLossIsNil ¶
DynamicStopLossIsNil applies the IsNil predicate on the "dynamicStopLoss" field.
func DynamicStopLossNEQ ¶
DynamicStopLossNEQ applies the NEQ predicate on the "dynamicStopLoss" field.
func DynamicStopLossNotNil ¶
DynamicStopLossNotNil applies the NotNil predicate on the "dynamicStopLoss" field.
func EnableAutoBuy ¶
EnableAutoBuy applies equality check predicate on the "enableAutoBuy" field. It's identical to EnableAutoBuyEQ.
func EnableAutoBuyEQ ¶
EnableAutoBuyEQ applies the EQ predicate on the "enableAutoBuy" field.
func EnableAutoBuyNEQ ¶
EnableAutoBuyNEQ applies the NEQ predicate on the "enableAutoBuy" field.
func EnableAutoExit ¶
EnableAutoExit applies equality check predicate on the "enableAutoExit" field. It's identical to EnableAutoExitEQ.
func EnableAutoExitEQ ¶
EnableAutoExitEQ applies the EQ predicate on the "enableAutoExit" field.
func EnableAutoExitNEQ ¶
EnableAutoExitNEQ applies the NEQ predicate on the "enableAutoExit" field.
func EnableAutoSell ¶
EnableAutoSell applies equality check predicate on the "enableAutoSell" field. It's identical to EnableAutoSellEQ.
func EnableAutoSellEQ ¶
EnableAutoSellEQ applies the EQ predicate on the "enableAutoSell" field.
func EnableAutoSellNEQ ¶
EnableAutoSellNEQ applies the NEQ predicate on the "enableAutoSell" field.
func EnablePushNotification ¶
EnablePushNotification applies equality check predicate on the "enablePushNotification" field. It's identical to EnablePushNotificationEQ.
func EnablePushNotificationEQ ¶
EnablePushNotificationEQ applies the EQ predicate on the "enablePushNotification" field.
func EnablePushNotificationNEQ ¶
EnablePushNotificationNEQ applies the NEQ predicate on the "enablePushNotification" field.
func FirstOrderId ¶
FirstOrderId applies equality check predicate on the "firstOrderId" field. It's identical to FirstOrderIdEQ.
func FirstOrderIdEQ ¶
FirstOrderIdEQ applies the EQ predicate on the "firstOrderId" field.
func FirstOrderIdGT ¶
FirstOrderIdGT applies the GT predicate on the "firstOrderId" field.
func FirstOrderIdGTE ¶
FirstOrderIdGTE applies the GTE predicate on the "firstOrderId" field.
func FirstOrderIdIn ¶
FirstOrderIdIn applies the In predicate on the "firstOrderId" field.
func FirstOrderIdIsNil ¶
FirstOrderIdIsNil applies the IsNil predicate on the "firstOrderId" field.
func FirstOrderIdLT ¶
FirstOrderIdLT applies the LT predicate on the "firstOrderId" field.
func FirstOrderIdLTE ¶
FirstOrderIdLTE applies the LTE predicate on the "firstOrderId" field.
func FirstOrderIdNEQ ¶
FirstOrderIdNEQ applies the NEQ predicate on the "firstOrderId" field.
func FirstOrderIdNotIn ¶
FirstOrderIdNotIn applies the NotIn predicate on the "firstOrderId" field.
func FirstOrderIdNotNil ¶
FirstOrderIdNotNil applies the NotNil predicate on the "firstOrderId" field.
func FiveKlineVolume ¶
FiveKlineVolume applies equality check predicate on the "fiveKlineVolume" field. It's identical to FiveKlineVolumeEQ.
func FiveKlineVolumeContains ¶
FiveKlineVolumeContains applies the Contains predicate on the "fiveKlineVolume" field.
func FiveKlineVolumeContainsFold ¶
FiveKlineVolumeContainsFold applies the ContainsFold predicate on the "fiveKlineVolume" field.
func FiveKlineVolumeEQ ¶
FiveKlineVolumeEQ applies the EQ predicate on the "fiveKlineVolume" field.
func FiveKlineVolumeEqualFold ¶
FiveKlineVolumeEqualFold applies the EqualFold predicate on the "fiveKlineVolume" field.
func FiveKlineVolumeGT ¶
FiveKlineVolumeGT applies the GT predicate on the "fiveKlineVolume" field.
func FiveKlineVolumeGTE ¶
FiveKlineVolumeGTE applies the GTE predicate on the "fiveKlineVolume" field.
func FiveKlineVolumeHasPrefix ¶
FiveKlineVolumeHasPrefix applies the HasPrefix predicate on the "fiveKlineVolume" field.
func FiveKlineVolumeHasSuffix ¶
FiveKlineVolumeHasSuffix applies the HasSuffix predicate on the "fiveKlineVolume" field.
func FiveKlineVolumeIn ¶
FiveKlineVolumeIn applies the In predicate on the "fiveKlineVolume" field.
func FiveKlineVolumeIsNil ¶
FiveKlineVolumeIsNil applies the IsNil predicate on the "fiveKlineVolume" field.
func FiveKlineVolumeLT ¶
FiveKlineVolumeLT applies the LT predicate on the "fiveKlineVolume" field.
func FiveKlineVolumeLTE ¶
FiveKlineVolumeLTE applies the LTE predicate on the "fiveKlineVolume" field.
func FiveKlineVolumeNEQ ¶
FiveKlineVolumeNEQ applies the NEQ predicate on the "fiveKlineVolume" field.
func FiveKlineVolumeNotIn ¶
FiveKlineVolumeNotIn applies the NotIn predicate on the "fiveKlineVolume" field.
func FiveKlineVolumeNotNil ¶
FiveKlineVolumeNotNil applies the NotNil predicate on the "fiveKlineVolume" field.
func GUIDContains ¶
GUIDContains applies the Contains predicate on the "guid" field.
func GUIDContainsFold ¶
GUIDContainsFold applies the ContainsFold predicate on the "guid" field.
func GUIDEqualFold ¶
GUIDEqualFold applies the EqualFold predicate on the "guid" field.
func GUIDHasPrefix ¶
GUIDHasPrefix applies the HasPrefix predicate on the "guid" field.
func GUIDHasSuffix ¶
GUIDHasSuffix applies the HasSuffix predicate on the "guid" field.
func GlobalTakeProfitRatio ¶
GlobalTakeProfitRatio applies equality check predicate on the "globalTakeProfitRatio" field. It's identical to GlobalTakeProfitRatioEQ.
func GlobalTakeProfitRatioContains ¶
GlobalTakeProfitRatioContains applies the Contains predicate on the "globalTakeProfitRatio" field.
func GlobalTakeProfitRatioContainsFold ¶
GlobalTakeProfitRatioContainsFold applies the ContainsFold predicate on the "globalTakeProfitRatio" field.
func GlobalTakeProfitRatioEQ ¶
GlobalTakeProfitRatioEQ applies the EQ predicate on the "globalTakeProfitRatio" field.
func GlobalTakeProfitRatioEqualFold ¶
GlobalTakeProfitRatioEqualFold applies the EqualFold predicate on the "globalTakeProfitRatio" field.
func GlobalTakeProfitRatioGT ¶
GlobalTakeProfitRatioGT applies the GT predicate on the "globalTakeProfitRatio" field.
func GlobalTakeProfitRatioGTE ¶
GlobalTakeProfitRatioGTE applies the GTE predicate on the "globalTakeProfitRatio" field.
func GlobalTakeProfitRatioHasPrefix ¶
GlobalTakeProfitRatioHasPrefix applies the HasPrefix predicate on the "globalTakeProfitRatio" field.
func GlobalTakeProfitRatioHasSuffix ¶
GlobalTakeProfitRatioHasSuffix applies the HasSuffix predicate on the "globalTakeProfitRatio" field.
func GlobalTakeProfitRatioIn ¶
GlobalTakeProfitRatioIn applies the In predicate on the "globalTakeProfitRatio" field.
func GlobalTakeProfitRatioIsNil ¶
GlobalTakeProfitRatioIsNil applies the IsNil predicate on the "globalTakeProfitRatio" field.
func GlobalTakeProfitRatioLT ¶
GlobalTakeProfitRatioLT applies the LT predicate on the "globalTakeProfitRatio" field.
func GlobalTakeProfitRatioLTE ¶
GlobalTakeProfitRatioLTE applies the LTE predicate on the "globalTakeProfitRatio" field.
func GlobalTakeProfitRatioNEQ ¶
GlobalTakeProfitRatioNEQ applies the NEQ predicate on the "globalTakeProfitRatio" field.
func GlobalTakeProfitRatioNotIn ¶
GlobalTakeProfitRatioNotIn applies the NotIn predicate on the "globalTakeProfitRatio" field.
func GlobalTakeProfitRatioNotNil ¶
GlobalTakeProfitRatioNotNil applies the NotNil predicate on the "globalTakeProfitRatio" field.
func GridTrend ¶
GridTrend applies equality check predicate on the "gridTrend" field. It's identical to GridTrendEQ.
func GridTrendContains ¶
GridTrendContains applies the Contains predicate on the "gridTrend" field.
func GridTrendContainsFold ¶
GridTrendContainsFold applies the ContainsFold predicate on the "gridTrend" field.
func GridTrendEQ ¶
GridTrendEQ applies the EQ predicate on the "gridTrend" field.
func GridTrendEqualFold ¶
GridTrendEqualFold applies the EqualFold predicate on the "gridTrend" field.
func GridTrendGT ¶
GridTrendGT applies the GT predicate on the "gridTrend" field.
func GridTrendGTE ¶
GridTrendGTE applies the GTE predicate on the "gridTrend" field.
func GridTrendHasPrefix ¶
GridTrendHasPrefix applies the HasPrefix predicate on the "gridTrend" field.
func GridTrendHasSuffix ¶
GridTrendHasSuffix applies the HasSuffix predicate on the "gridTrend" field.
func GridTrendIn ¶
GridTrendIn applies the In predicate on the "gridTrend" field.
func GridTrendIsNil ¶
GridTrendIsNil applies the IsNil predicate on the "gridTrend" field.
func GridTrendLT ¶
GridTrendLT applies the LT predicate on the "gridTrend" field.
func GridTrendLTE ¶
GridTrendLTE applies the LTE predicate on the "gridTrend" field.
func GridTrendNEQ ¶
GridTrendNEQ applies the NEQ predicate on the "gridTrend" field.
func GridTrendNotIn ¶
GridTrendNotIn applies the NotIn predicate on the "gridTrend" field.
func GridTrendNotNil ¶
GridTrendNotNil applies the NotNil predicate on the "gridTrend" field.
func InitialOrderSize ¶
InitialOrderSize applies equality check predicate on the "initialOrderSize" field. It's identical to InitialOrderSizeEQ.
func InitialOrderSizeContains ¶
InitialOrderSizeContains applies the Contains predicate on the "initialOrderSize" field.
func InitialOrderSizeContainsFold ¶
InitialOrderSizeContainsFold applies the ContainsFold predicate on the "initialOrderSize" field.
func InitialOrderSizeEQ ¶
InitialOrderSizeEQ applies the EQ predicate on the "initialOrderSize" field.
func InitialOrderSizeEqualFold ¶
InitialOrderSizeEqualFold applies the EqualFold predicate on the "initialOrderSize" field.
func InitialOrderSizeGT ¶
InitialOrderSizeGT applies the GT predicate on the "initialOrderSize" field.
func InitialOrderSizeGTE ¶
InitialOrderSizeGTE applies the GTE predicate on the "initialOrderSize" field.
func InitialOrderSizeHasPrefix ¶
InitialOrderSizeHasPrefix applies the HasPrefix predicate on the "initialOrderSize" field.
func InitialOrderSizeHasSuffix ¶
InitialOrderSizeHasSuffix applies the HasSuffix predicate on the "initialOrderSize" field.
func InitialOrderSizeIn ¶
InitialOrderSizeIn applies the In predicate on the "initialOrderSize" field.
func InitialOrderSizeLT ¶
InitialOrderSizeLT applies the LT predicate on the "initialOrderSize" field.
func InitialOrderSizeLTE ¶
InitialOrderSizeLTE applies the LTE predicate on the "initialOrderSize" field.
func InitialOrderSizeNEQ ¶
InitialOrderSizeNEQ applies the NEQ predicate on the "initialOrderSize" field.
func InitialOrderSizeNotIn ¶
InitialOrderSizeNotIn applies the NotIn predicate on the "initialOrderSize" field.
func LastKlineVolume ¶
LastKlineVolume applies equality check predicate on the "lastKlineVolume" field. It's identical to LastKlineVolumeEQ.
func LastKlineVolumeContains ¶
LastKlineVolumeContains applies the Contains predicate on the "lastKlineVolume" field.
func LastKlineVolumeContainsFold ¶
LastKlineVolumeContainsFold applies the ContainsFold predicate on the "lastKlineVolume" field.
func LastKlineVolumeEQ ¶
LastKlineVolumeEQ applies the EQ predicate on the "lastKlineVolume" field.
func LastKlineVolumeEqualFold ¶
LastKlineVolumeEqualFold applies the EqualFold predicate on the "lastKlineVolume" field.
func LastKlineVolumeGT ¶
LastKlineVolumeGT applies the GT predicate on the "lastKlineVolume" field.
func LastKlineVolumeGTE ¶
LastKlineVolumeGTE applies the GTE predicate on the "lastKlineVolume" field.
func LastKlineVolumeHasPrefix ¶
LastKlineVolumeHasPrefix applies the HasPrefix predicate on the "lastKlineVolume" field.
func LastKlineVolumeHasSuffix ¶
LastKlineVolumeHasSuffix applies the HasSuffix predicate on the "lastKlineVolume" field.
func LastKlineVolumeIn ¶
LastKlineVolumeIn applies the In predicate on the "lastKlineVolume" field.
func LastKlineVolumeIsNil ¶
LastKlineVolumeIsNil applies the IsNil predicate on the "lastKlineVolume" field.
func LastKlineVolumeLT ¶
LastKlineVolumeLT applies the LT predicate on the "lastKlineVolume" field.
func LastKlineVolumeLTE ¶
LastKlineVolumeLTE applies the LTE predicate on the "lastKlineVolume" field.
func LastKlineVolumeNEQ ¶
LastKlineVolumeNEQ applies the NEQ predicate on the "lastKlineVolume" field.
func LastKlineVolumeNotIn ¶
LastKlineVolumeNotIn applies the NotIn predicate on the "lastKlineVolume" field.
func LastKlineVolumeNotNil ¶
LastKlineVolumeNotNil applies the NotNil predicate on the "lastKlineVolume" field.
func LastLowerThresholdAlertTime ¶
LastLowerThresholdAlertTime applies equality check predicate on the "lastLowerThresholdAlertTime" field. It's identical to LastLowerThresholdAlertTimeEQ.
func LastLowerThresholdAlertTimeEQ ¶
LastLowerThresholdAlertTimeEQ applies the EQ predicate on the "lastLowerThresholdAlertTime" field.
func LastLowerThresholdAlertTimeGT ¶
LastLowerThresholdAlertTimeGT applies the GT predicate on the "lastLowerThresholdAlertTime" field.
func LastLowerThresholdAlertTimeGTE ¶
LastLowerThresholdAlertTimeGTE applies the GTE predicate on the "lastLowerThresholdAlertTime" field.
func LastLowerThresholdAlertTimeIn ¶
LastLowerThresholdAlertTimeIn applies the In predicate on the "lastLowerThresholdAlertTime" field.
func LastLowerThresholdAlertTimeIsNil ¶
LastLowerThresholdAlertTimeIsNil applies the IsNil predicate on the "lastLowerThresholdAlertTime" field.
func LastLowerThresholdAlertTimeLT ¶
LastLowerThresholdAlertTimeLT applies the LT predicate on the "lastLowerThresholdAlertTime" field.
func LastLowerThresholdAlertTimeLTE ¶
LastLowerThresholdAlertTimeLTE applies the LTE predicate on the "lastLowerThresholdAlertTime" field.
func LastLowerThresholdAlertTimeNEQ ¶
LastLowerThresholdAlertTimeNEQ applies the NEQ predicate on the "lastLowerThresholdAlertTime" field.
func LastLowerThresholdAlertTimeNotIn ¶
LastLowerThresholdAlertTimeNotIn applies the NotIn predicate on the "lastLowerThresholdAlertTime" field.
func LastLowerThresholdAlertTimeNotNil ¶
LastLowerThresholdAlertTimeNotNil applies the NotNil predicate on the "lastLowerThresholdAlertTime" field.
func LastUpperThresholdAlertTime ¶
LastUpperThresholdAlertTime applies equality check predicate on the "lastUpperThresholdAlertTime" field. It's identical to LastUpperThresholdAlertTimeEQ.
func LastUpperThresholdAlertTimeEQ ¶
LastUpperThresholdAlertTimeEQ applies the EQ predicate on the "lastUpperThresholdAlertTime" field.
func LastUpperThresholdAlertTimeGT ¶
LastUpperThresholdAlertTimeGT applies the GT predicate on the "lastUpperThresholdAlertTime" field.
func LastUpperThresholdAlertTimeGTE ¶
LastUpperThresholdAlertTimeGTE applies the GTE predicate on the "lastUpperThresholdAlertTime" field.
func LastUpperThresholdAlertTimeIn ¶
LastUpperThresholdAlertTimeIn applies the In predicate on the "lastUpperThresholdAlertTime" field.
func LastUpperThresholdAlertTimeIsNil ¶
LastUpperThresholdAlertTimeIsNil applies the IsNil predicate on the "lastUpperThresholdAlertTime" field.
func LastUpperThresholdAlertTimeLT ¶
LastUpperThresholdAlertTimeLT applies the LT predicate on the "lastUpperThresholdAlertTime" field.
func LastUpperThresholdAlertTimeLTE ¶
LastUpperThresholdAlertTimeLTE applies the LTE predicate on the "lastUpperThresholdAlertTime" field.
func LastUpperThresholdAlertTimeNEQ ¶
LastUpperThresholdAlertTimeNEQ applies the NEQ predicate on the "lastUpperThresholdAlertTime" field.
func LastUpperThresholdAlertTimeNotIn ¶
LastUpperThresholdAlertTimeNotIn applies the NotIn predicate on the "lastUpperThresholdAlertTime" field.
func LastUpperThresholdAlertTimeNotNil ¶
LastUpperThresholdAlertTimeNotNil applies the NotNil predicate on the "lastUpperThresholdAlertTime" field.
func LowerPriceBound ¶
LowerPriceBound applies equality check predicate on the "lowerPriceBound" field. It's identical to LowerPriceBoundEQ.
func LowerPriceBoundContains ¶
LowerPriceBoundContains applies the Contains predicate on the "lowerPriceBound" field.
func LowerPriceBoundContainsFold ¶
LowerPriceBoundContainsFold applies the ContainsFold predicate on the "lowerPriceBound" field.
func LowerPriceBoundEQ ¶
LowerPriceBoundEQ applies the EQ predicate on the "lowerPriceBound" field.
func LowerPriceBoundEqualFold ¶
LowerPriceBoundEqualFold applies the EqualFold predicate on the "lowerPriceBound" field.
func LowerPriceBoundGT ¶
LowerPriceBoundGT applies the GT predicate on the "lowerPriceBound" field.
func LowerPriceBoundGTE ¶
LowerPriceBoundGTE applies the GTE predicate on the "lowerPriceBound" field.
func LowerPriceBoundHasPrefix ¶
LowerPriceBoundHasPrefix applies the HasPrefix predicate on the "lowerPriceBound" field.
func LowerPriceBoundHasSuffix ¶
LowerPriceBoundHasSuffix applies the HasSuffix predicate on the "lowerPriceBound" field.
func LowerPriceBoundIn ¶
LowerPriceBoundIn applies the In predicate on the "lowerPriceBound" field.
func LowerPriceBoundLT ¶
LowerPriceBoundLT applies the LT predicate on the "lowerPriceBound" field.
func LowerPriceBoundLTE ¶
LowerPriceBoundLTE applies the LTE predicate on the "lowerPriceBound" field.
func LowerPriceBoundNEQ ¶
LowerPriceBoundNEQ applies the NEQ predicate on the "lowerPriceBound" field.
func LowerPriceBoundNotIn ¶
LowerPriceBoundNotIn applies the NotIn predicate on the "lowerPriceBound" field.
func MartinFactor ¶
MartinFactor applies equality check predicate on the "martinFactor" field. It's identical to MartinFactorEQ.
func MartinFactorEQ ¶
MartinFactorEQ applies the EQ predicate on the "martinFactor" field.
func MartinFactorGT ¶
MartinFactorGT applies the GT predicate on the "martinFactor" field.
func MartinFactorGTE ¶
MartinFactorGTE applies the GTE predicate on the "martinFactor" field.
func MartinFactorIn ¶
MartinFactorIn applies the In predicate on the "martinFactor" field.
func MartinFactorLT ¶
MartinFactorLT applies the LT predicate on the "martinFactor" field.
func MartinFactorLTE ¶
MartinFactorLTE applies the LTE predicate on the "martinFactor" field.
func MartinFactorNEQ ¶
MartinFactorNEQ applies the NEQ predicate on the "martinFactor" field.
func MartinFactorNotIn ¶
MartinFactorNotIn applies the NotIn predicate on the "martinFactor" field.
func MaxGridLimit ¶
MaxGridLimit applies equality check predicate on the "maxGridLimit" field. It's identical to MaxGridLimitEQ.
func MaxGridLimitEQ ¶
MaxGridLimitEQ applies the EQ predicate on the "maxGridLimit" field.
func MaxGridLimitGT ¶
MaxGridLimitGT applies the GT predicate on the "maxGridLimit" field.
func MaxGridLimitGTE ¶
MaxGridLimitGTE applies the GTE predicate on the "maxGridLimit" field.
func MaxGridLimitIn ¶
MaxGridLimitIn applies the In predicate on the "maxGridLimit" field.
func MaxGridLimitIsNil ¶
MaxGridLimitIsNil applies the IsNil predicate on the "maxGridLimit" field.
func MaxGridLimitLT ¶
MaxGridLimitLT applies the LT predicate on the "maxGridLimit" field.
func MaxGridLimitLTE ¶
MaxGridLimitLTE applies the LTE predicate on the "maxGridLimit" field.
func MaxGridLimitNEQ ¶
MaxGridLimitNEQ applies the NEQ predicate on the "maxGridLimit" field.
func MaxGridLimitNotIn ¶
MaxGridLimitNotIn applies the NotIn predicate on the "maxGridLimit" field.
func MaxGridLimitNotNil ¶
MaxGridLimitNotNil applies the NotNil predicate on the "maxGridLimit" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func StopLossExit ¶
StopLossExit applies equality check predicate on the "stopLossExit" field. It's identical to StopLossExitEQ.
func StopLossExitContains ¶
StopLossExitContains applies the Contains predicate on the "stopLossExit" field.
func StopLossExitContainsFold ¶
StopLossExitContainsFold applies the ContainsFold predicate on the "stopLossExit" field.
func StopLossExitEQ ¶
StopLossExitEQ applies the EQ predicate on the "stopLossExit" field.
func StopLossExitEqualFold ¶
StopLossExitEqualFold applies the EqualFold predicate on the "stopLossExit" field.
func StopLossExitGT ¶
StopLossExitGT applies the GT predicate on the "stopLossExit" field.
func StopLossExitGTE ¶
StopLossExitGTE applies the GTE predicate on the "stopLossExit" field.
func StopLossExitHasPrefix ¶
StopLossExitHasPrefix applies the HasPrefix predicate on the "stopLossExit" field.
func StopLossExitHasSuffix ¶
StopLossExitHasSuffix applies the HasSuffix predicate on the "stopLossExit" field.
func StopLossExitIn ¶
StopLossExitIn applies the In predicate on the "stopLossExit" field.
func StopLossExitIsNil ¶
StopLossExitIsNil applies the IsNil predicate on the "stopLossExit" field.
func StopLossExitLT ¶
StopLossExitLT applies the LT predicate on the "stopLossExit" field.
func StopLossExitLTE ¶
StopLossExitLTE applies the LTE predicate on the "stopLossExit" field.
func StopLossExitNEQ ¶
StopLossExitNEQ applies the NEQ predicate on the "stopLossExit" field.
func StopLossExitNotIn ¶
StopLossExitNotIn applies the NotIn predicate on the "stopLossExit" field.
func StopLossExitNotNil ¶
StopLossExitNotNil applies the NotNil predicate on the "stopLossExit" field.
func Symbol ¶
Symbol applies equality check predicate on the "symbol" field. It's identical to SymbolEQ.
func SymbolContains ¶
SymbolContains applies the Contains predicate on the "symbol" field.
func SymbolContainsFold ¶
SymbolContainsFold applies the ContainsFold predicate on the "symbol" field.
func SymbolEqualFold ¶
SymbolEqualFold applies the EqualFold predicate on the "symbol" field.
func SymbolHasPrefix ¶
SymbolHasPrefix applies the HasPrefix predicate on the "symbol" field.
func SymbolHasSuffix ¶
SymbolHasSuffix applies the HasSuffix predicate on the "symbol" field.
func SymbolNotIn ¶
SymbolNotIn applies the NotIn predicate on the "symbol" field.
func TakeProfitExit ¶
TakeProfitExit applies equality check predicate on the "takeProfitExit" field. It's identical to TakeProfitExitEQ.
func TakeProfitExitContains ¶
TakeProfitExitContains applies the Contains predicate on the "takeProfitExit" field.
func TakeProfitExitContainsFold ¶
TakeProfitExitContainsFold applies the ContainsFold predicate on the "takeProfitExit" field.
func TakeProfitExitEQ ¶
TakeProfitExitEQ applies the EQ predicate on the "takeProfitExit" field.
func TakeProfitExitEqualFold ¶
TakeProfitExitEqualFold applies the EqualFold predicate on the "takeProfitExit" field.
func TakeProfitExitGT ¶
TakeProfitExitGT applies the GT predicate on the "takeProfitExit" field.
func TakeProfitExitGTE ¶
TakeProfitExitGTE applies the GTE predicate on the "takeProfitExit" field.
func TakeProfitExitHasPrefix ¶
TakeProfitExitHasPrefix applies the HasPrefix predicate on the "takeProfitExit" field.
func TakeProfitExitHasSuffix ¶
TakeProfitExitHasSuffix applies the HasSuffix predicate on the "takeProfitExit" field.
func TakeProfitExitIn ¶
TakeProfitExitIn applies the In predicate on the "takeProfitExit" field.
func TakeProfitExitIsNil ¶
TakeProfitExitIsNil applies the IsNil predicate on the "takeProfitExit" field.
func TakeProfitExitLT ¶
TakeProfitExitLT applies the LT predicate on the "takeProfitExit" field.
func TakeProfitExitLTE ¶
TakeProfitExitLTE applies the LTE predicate on the "takeProfitExit" field.
func TakeProfitExitNEQ ¶
TakeProfitExitNEQ applies the NEQ predicate on the "takeProfitExit" field.
func TakeProfitExitNotIn ¶
TakeProfitExitNotIn applies the NotIn predicate on the "takeProfitExit" field.
func TakeProfitExitNotNil ¶
TakeProfitExitNotNil applies the NotNil predicate on the "takeProfitExit" field.
func TakeProfitRatio ¶
TakeProfitRatio applies equality check predicate on the "takeProfitRatio" field. It's identical to TakeProfitRatioEQ.
func TakeProfitRatioContains ¶
TakeProfitRatioContains applies the Contains predicate on the "takeProfitRatio" field.
func TakeProfitRatioContainsFold ¶
TakeProfitRatioContainsFold applies the ContainsFold predicate on the "takeProfitRatio" field.
func TakeProfitRatioEQ ¶
TakeProfitRatioEQ applies the EQ predicate on the "takeProfitRatio" field.
func TakeProfitRatioEqualFold ¶
TakeProfitRatioEqualFold applies the EqualFold predicate on the "takeProfitRatio" field.
func TakeProfitRatioGT ¶
TakeProfitRatioGT applies the GT predicate on the "takeProfitRatio" field.
func TakeProfitRatioGTE ¶
TakeProfitRatioGTE applies the GTE predicate on the "takeProfitRatio" field.
func TakeProfitRatioHasPrefix ¶
TakeProfitRatioHasPrefix applies the HasPrefix predicate on the "takeProfitRatio" field.
func TakeProfitRatioHasSuffix ¶
TakeProfitRatioHasSuffix applies the HasSuffix predicate on the "takeProfitRatio" field.
func TakeProfitRatioIn ¶
TakeProfitRatioIn applies the In predicate on the "takeProfitRatio" field.
func TakeProfitRatioLT ¶
TakeProfitRatioLT applies the LT predicate on the "takeProfitRatio" field.
func TakeProfitRatioLTE ¶
TakeProfitRatioLTE applies the LTE predicate on the "takeProfitRatio" field.
func TakeProfitRatioNEQ ¶
TakeProfitRatioNEQ applies the NEQ predicate on the "takeProfitRatio" field.
func TakeProfitRatioNotIn ¶
TakeProfitRatioNotIn applies the NotIn predicate on the "takeProfitRatio" field.
func Token ¶
Token applies equality check predicate on the "token" field. It's identical to TokenEQ.
func TokenContains ¶
TokenContains applies the Contains predicate on the "token" field.
func TokenContainsFold ¶
TokenContainsFold applies the ContainsFold predicate on the "token" field.
func TokenEqualFold ¶
TokenEqualFold applies the EqualFold predicate on the "token" field.
func TokenHasPrefix ¶
TokenHasPrefix applies the HasPrefix predicate on the "token" field.
func TokenHasSuffix ¶
TokenHasSuffix applies the HasSuffix predicate on the "token" field.
func TokenNotIn ¶
TokenNotIn applies the NotIn predicate on the "token" field.
func UpdateTime ¶
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
func UpperBoundExit ¶
UpperBoundExit applies equality check predicate on the "upperBoundExit" field. It's identical to UpperBoundExitEQ.
func UpperBoundExitContains ¶
UpperBoundExitContains applies the Contains predicate on the "upperBoundExit" field.
func UpperBoundExitContainsFold ¶
UpperBoundExitContainsFold applies the ContainsFold predicate on the "upperBoundExit" field.
func UpperBoundExitEQ ¶
UpperBoundExitEQ applies the EQ predicate on the "upperBoundExit" field.
func UpperBoundExitEqualFold ¶
UpperBoundExitEqualFold applies the EqualFold predicate on the "upperBoundExit" field.
func UpperBoundExitGT ¶
UpperBoundExitGT applies the GT predicate on the "upperBoundExit" field.
func UpperBoundExitGTE ¶
UpperBoundExitGTE applies the GTE predicate on the "upperBoundExit" field.
func UpperBoundExitHasPrefix ¶
UpperBoundExitHasPrefix applies the HasPrefix predicate on the "upperBoundExit" field.
func UpperBoundExitHasSuffix ¶
UpperBoundExitHasSuffix applies the HasSuffix predicate on the "upperBoundExit" field.
func UpperBoundExitIn ¶
UpperBoundExitIn applies the In predicate on the "upperBoundExit" field.
func UpperBoundExitIsNil ¶
UpperBoundExitIsNil applies the IsNil predicate on the "upperBoundExit" field.
func UpperBoundExitLT ¶
UpperBoundExitLT applies the LT predicate on the "upperBoundExit" field.
func UpperBoundExitLTE ¶
UpperBoundExitLTE applies the LTE predicate on the "upperBoundExit" field.
func UpperBoundExitNEQ ¶
UpperBoundExitNEQ applies the NEQ predicate on the "upperBoundExit" field.
func UpperBoundExitNotIn ¶
UpperBoundExitNotIn applies the NotIn predicate on the "upperBoundExit" field.
func UpperBoundExitNotNil ¶
UpperBoundExitNotNil applies the NotNil predicate on the "upperBoundExit" field.
func UpperPriceBound ¶
UpperPriceBound applies equality check predicate on the "upperPriceBound" field. It's identical to UpperPriceBoundEQ.
func UpperPriceBoundContains ¶
UpperPriceBoundContains applies the Contains predicate on the "upperPriceBound" field.
func UpperPriceBoundContainsFold ¶
UpperPriceBoundContainsFold applies the ContainsFold predicate on the "upperPriceBound" field.
func UpperPriceBoundEQ ¶
UpperPriceBoundEQ applies the EQ predicate on the "upperPriceBound" field.
func UpperPriceBoundEqualFold ¶
UpperPriceBoundEqualFold applies the EqualFold predicate on the "upperPriceBound" field.
func UpperPriceBoundGT ¶
UpperPriceBoundGT applies the GT predicate on the "upperPriceBound" field.
func UpperPriceBoundGTE ¶
UpperPriceBoundGTE applies the GTE predicate on the "upperPriceBound" field.
func UpperPriceBoundHasPrefix ¶
UpperPriceBoundHasPrefix applies the HasPrefix predicate on the "upperPriceBound" field.
func UpperPriceBoundHasSuffix ¶
UpperPriceBoundHasSuffix applies the HasSuffix predicate on the "upperPriceBound" field.
func UpperPriceBoundIn ¶
UpperPriceBoundIn applies the In predicate on the "upperPriceBound" field.
func UpperPriceBoundLT ¶
UpperPriceBoundLT applies the LT predicate on the "upperPriceBound" field.
func UpperPriceBoundLTE ¶
UpperPriceBoundLTE applies the LTE predicate on the "upperPriceBound" field.
func UpperPriceBoundNEQ ¶
UpperPriceBoundNEQ applies the NEQ predicate on the "upperPriceBound" field.
func UpperPriceBoundNotIn ¶
UpperPriceBoundNotIn applies the NotIn predicate on the "upperPriceBound" field.
func UserId ¶
UserId applies equality check predicate on the "userId" field. It's identical to UserIdEQ.
func UserIdNotIn ¶
UserIdNotIn applies the NotIn predicate on the "userId" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Strategy queries.
func ByCandlesToCheck ¶
func ByCandlesToCheck(opts ...sql.OrderTermOption) OrderOption
ByCandlesToCheck orders the results by the candlesToCheck field.
func ByCreateTime ¶
func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
ByCreateTime orders the results by the create_time field.
func ByDropOn ¶
func ByDropOn(opts ...sql.OrderTermOption) OrderOption
ByDropOn orders the results by the dropOn field.
func ByDropThreshold ¶
func ByDropThreshold(opts ...sql.OrderTermOption) OrderOption
ByDropThreshold orders the results by the dropThreshold field.
func ByDynamicStopLoss ¶
func ByDynamicStopLoss(opts ...sql.OrderTermOption) OrderOption
ByDynamicStopLoss orders the results by the dynamicStopLoss field.
func ByEnableAutoBuy ¶
func ByEnableAutoBuy(opts ...sql.OrderTermOption) OrderOption
ByEnableAutoBuy orders the results by the enableAutoBuy field.
func ByEnableAutoExit ¶
func ByEnableAutoExit(opts ...sql.OrderTermOption) OrderOption
ByEnableAutoExit orders the results by the enableAutoExit field.
func ByEnableAutoSell ¶
func ByEnableAutoSell(opts ...sql.OrderTermOption) OrderOption
ByEnableAutoSell orders the results by the enableAutoSell field.
func ByEnablePushNotification ¶
func ByEnablePushNotification(opts ...sql.OrderTermOption) OrderOption
ByEnablePushNotification orders the results by the enablePushNotification field.
func ByFirstOrderId ¶
func ByFirstOrderId(opts ...sql.OrderTermOption) OrderOption
ByFirstOrderId orders the results by the firstOrderId field.
func ByFiveKlineVolume ¶
func ByFiveKlineVolume(opts ...sql.OrderTermOption) OrderOption
ByFiveKlineVolume orders the results by the fiveKlineVolume field.
func ByGUID ¶
func ByGUID(opts ...sql.OrderTermOption) OrderOption
ByGUID orders the results by the guid field.
func ByGlobalTakeProfitRatio ¶
func ByGlobalTakeProfitRatio(opts ...sql.OrderTermOption) OrderOption
ByGlobalTakeProfitRatio orders the results by the globalTakeProfitRatio field.
func ByGridTrend ¶
func ByGridTrend(opts ...sql.OrderTermOption) OrderOption
ByGridTrend orders the results by the gridTrend field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByInitialOrderSize ¶
func ByInitialOrderSize(opts ...sql.OrderTermOption) OrderOption
ByInitialOrderSize orders the results by the initialOrderSize field.
func ByLastKlineVolume ¶
func ByLastKlineVolume(opts ...sql.OrderTermOption) OrderOption
ByLastKlineVolume orders the results by the lastKlineVolume field.
func ByLastLowerThresholdAlertTime ¶
func ByLastLowerThresholdAlertTime(opts ...sql.OrderTermOption) OrderOption
ByLastLowerThresholdAlertTime orders the results by the lastLowerThresholdAlertTime field.
func ByLastUpperThresholdAlertTime ¶
func ByLastUpperThresholdAlertTime(opts ...sql.OrderTermOption) OrderOption
ByLastUpperThresholdAlertTime orders the results by the lastUpperThresholdAlertTime field.
func ByLowerPriceBound ¶
func ByLowerPriceBound(opts ...sql.OrderTermOption) OrderOption
ByLowerPriceBound orders the results by the lowerPriceBound field.
func ByMartinFactor ¶
func ByMartinFactor(opts ...sql.OrderTermOption) OrderOption
ByMartinFactor orders the results by the martinFactor field.
func ByMaxGridLimit ¶
func ByMaxGridLimit(opts ...sql.OrderTermOption) OrderOption
ByMaxGridLimit orders the results by the maxGridLimit field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByStopLossExit ¶
func ByStopLossExit(opts ...sql.OrderTermOption) OrderOption
ByStopLossExit orders the results by the stopLossExit field.
func BySymbol ¶
func BySymbol(opts ...sql.OrderTermOption) OrderOption
BySymbol orders the results by the symbol field.
func ByTakeProfitExit ¶
func ByTakeProfitExit(opts ...sql.OrderTermOption) OrderOption
ByTakeProfitExit orders the results by the takeProfitExit field.
func ByTakeProfitRatio ¶
func ByTakeProfitRatio(opts ...sql.OrderTermOption) OrderOption
ByTakeProfitRatio orders the results by the takeProfitRatio field.
func ByToken ¶
func ByToken(opts ...sql.OrderTermOption) OrderOption
ByToken orders the results by the token field.
func ByUpdateTime ¶
func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
ByUpdateTime orders the results by the update_time field.
func ByUpperBoundExit ¶
func ByUpperBoundExit(opts ...sql.OrderTermOption) OrderOption
ByUpperBoundExit orders the results by the upperBoundExit field.
func ByUpperPriceBound ¶
func ByUpperPriceBound(opts ...sql.OrderTermOption) OrderOption
ByUpperPriceBound orders the results by the upperPriceBound field.
func ByUserId ¶
func ByUserId(opts ...sql.OrderTermOption) OrderOption
ByUserId orders the results by the userId field.