Categorygithub.com/zhs007/tradingdb2
modulepackage
0.5.2
Repository: https://github.com/zhs007/tradingdb2.git
Documentation: pkg.go.dev

# README

tradingdb2

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package tradingdb2utils is a generated GoMock package.
No description provided by the author

# Functions

BatchCandles - batch candles.
ExpAllData - export all data.
ExpSymbols - export symbols.
ExpSymbols2 - export symbols.
FixFundManager - fix.
FixFundManagers - fix.
FixFundResult - fix.
InsCandles - insert a candle into candles, sort by ts.
IsSameStrategy - is same Strategy.
LoadConfig - load config.
MergeCandles - merge Candles, candles is a sorted candles.
MergeFund - merge fund.
NewDB - new DB.
NewDB2 - new DB2.
NewSimTradingDB - new SimTradingDB.
NewTreeMapNode - new TreeMapNode.
SortCandles - sort Candles.

# Constants

BatchCandleNums -.

# Variables

ErrDuplicateChildNode - duplicate child node.
ErrInvalidMarket - invalid market.
ErrInvalidSymbol - invalid symbol.
ErrInvalidTag - invalid tag.
ErrInvalidToken - invalid token.
ErrInvalidUpdCandlesParams - invalid UpdCandles Params.

# Structs

Config -.
DB - database.
DB2 - database v2.
SimTradingDB - database.
TreeMapNode - treemap node.
TrNode2Cfg -.

# Type aliases

FuncOnBatchCandles - used in BatchCandles.