Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CronTriggerNetwork 网络重置每天8点55分 CronTriggerNetwork = "55 8 * * *" // CronTriggerInit 定制任务初始化cron定位9点 CronTriggerInit = "0 9 * * *" // CronDefaultInterval 默认的执行频次 CronDefaultInterval = "@every 10s" // CronTickInterval tick级别数据的更新频次 CronTickInterval = "@every 1s" )
Variables ¶
View Source
var ( ErrAlreadyExists = errors.New("the job already exists") // 任务已经存在 ErrForbidden = errors.New("the job was forbidden") // 任务被禁止 )
Functions ¶
func CheckoutCanSellStockList ¶ added in v1.2.3
CheckoutCanSellStockList 捡出T+HoldingPeriod日的股票列表
Types ¶
Click to show internal directories.
Click to hide internal directories.