Methods
(static) clearData()
- Source:
clear data
(static) flushMin(nowdata, fields)
- Source:
flush min data
Parameters:
Name | Type | Description |
---|---|---|
nowdata |
Array | |
fields |
Array |
(static) flushNowData(key, nowdata)
- Source:
flush now data
Parameters:
Name | Type | Description |
---|---|---|
key |
String | |
nowdata |
Array |
(static) flushTick(nowdata, fields)
- Source:
flush tick
Parameters:
Name | Type | Description |
---|---|---|
nowdata |
Array | |
fields |
Array |
(static) getData(key, rightMode) → {Array}
- Source:
get data
Parameters:
Name | Type | Description |
---|---|---|
key |
String | |
rightMode |
String |
Returns:
- Type
- Array
(static) initData(tradeDate, tradetime)
- Source:
init data
Parameters:
Name | Type | Description |
---|---|---|
tradeDate |
Number | |
tradetime |
Number |
(static) makeLineData(source, outkey, formula) → {Array}
- Source:
make lien data
Parameters:
Name | Type | Description |
---|---|---|
source |
Object | |
outkey |
String | |
formula |
String |
Returns:
- Type
- Array
(static) makeMinute(outkey, source, nowmin, rightMode) → {Array}
- Source:
make minute data
Parameters:
Name | Type | Description |
---|---|---|
outkey |
String | |
source |
Object | |
nowmin |
Array | |
rightMode |
String |
Returns:
- Type
- Array
(static) mergeDay(source, now, rightMode) → {Array}
- Source:
merge day
Parameters:
Name | Type | Description |
---|---|---|
source |
Object | |
now |
Array | |
rightMode |
String |
Returns:
- Type
- Array
(static) mergeDay5(source, min) → {Array}
- Source:
merge 5 day data
Parameters:
Name | Type | Description |
---|---|---|
source |
Object | |
min |
Array |
Returns:
- Type
- Array
(static) mergeMon(source, now, rightmode) → {Array}
- Source:
merge month data
Parameters:
Name | Type | Description |
---|---|---|
source |
Object | |
now |
Array | |
rightmode |
String |
Returns:
- Type
- Array
(static) mergeNowMinToMin(source, min, offset) → {Array}
- Source:
merge now's min data to min data
Parameters:
Name | Type | Description |
---|---|---|
source |
Object | |
min |
Array | |
offset |
Number |
Returns:
- Type
- Array
(static) mergeWeek(source, now, rightmode) → {Array}
- Source:
merge week data
Parameters:
Name | Type | Description |
---|---|---|
source |
Object | |
now |
Array | |
rightmode |
String |
Returns:
- Type
- Array
(static) setData(key, fields, value)
- Source:
set data
Parameters:
Name | Type | Description |
---|---|---|
key |
String | |
fields |
Object | |
value |
Array |
(static) updateMinute(source) → {Array}
- Source:
update minute
Parameters:
Name | Type | Description |
---|---|---|
source |
Object |
Returns:
- Type
- Array