shares

package
v0.0.0-...-fbb1375 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PreTradeDay

func PreTradeDay(t time.Time) (time.Time, error)

PreTradeDay 前一个交易日。

func ShareTradeCalendar

func ShareTradeCalendar(year int) (map[string]bool, error)

ShareTradeCalendar 工作日历。false为休息。true为工作日。返回一年的所有的日期的节假日。

func ShareTradeCalendarToJson

func ShareTradeCalendarToJson(year int, fp string)

ShareTradeCalendarToJson 指定年份的股票交易日里生成json文件。

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL