fix bug
This commit is contained in:
@@ -40,6 +40,10 @@ func GetTradeDateBy(max int, asc bool) []string {
|
||||
return days
|
||||
}
|
||||
|
||||
func ReturnLastTradeDay() string {
|
||||
return GetTradeDateBy(1, false)[0]
|
||||
}
|
||||
|
||||
func ReturnLastDay() (string, string) {
|
||||
now := time.Now()
|
||||
end := now.Format("20060102")
|
||||
|
||||
Reference in New Issue
Block a user