realtime

package
v0.7.8 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package realtime 实时数据相关的功能集合

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MovingAverage

func MovingAverage(CLOSE, HIGH, LOW stat.Series, PN int) (ma, half, maMax, maMin stat.Series)

MovingAverage 计算均线范围

func TradeSessionHasEnd

func TradeSessionHasEnd(date string) bool

TradeSessionHasEnd 是否收盘

Types

This section is empty.

Jump to

Keyboard shortcuts

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