name | type | required | remark |
symbol | string | yes | Full Symbol Code Such As EURUSD,Reference |
withticks | int | no | With Lastest Transaction Detail(Default 0 No,1 Yes) |
withks | int | no | With Lastest K Data(Default 0 No,1 Yes) |
name | type | remark |
Code | int | succ when Code>=0 |
Msg | string | message |
Obj | data object | Real Data Model |
name | type | required | remark |
symbols | string | yes | Contracts Split By ',' Such as 'H600138,BTC,USDCNH',Reference |
name | type | remark |
Code | int | succ when Code>=0 |
Msg | string | message |
Obj | array | Array of Real Data Model |
name | type | required | remark |
where | string | yes | fuzzy keyword |
ps | int | yes | Page Size |
p | int | yes | Page Index |
sort | string | no | Fields Reference |
sorttype | int | no | 0 Asc,1 Desc(Default 0) |
name | type | remark |
Code | int | succ when Code>=0 |
Msg | string | message |
Obj | array | Array of Real Data Model |
name | type | required | remark |
symbol | string | yes | Full Symbol Cocde Such As BTC,Reference |
period | string | yes | Support 1M,3M,5M,10M,15M,30M,1H,2H,4H,D,(W,M Maybe Not) |
pidx | int | yes | Page Index |
psize | int | yes | Page Size,Up to 500 |
withlast | int | no | With the Dynamic K Data(Default 0 No, 1 Yes),For the First Page |
name | type | remark |
Code | int | succ when Code>=0 |
Msg | string | message |
Obj | string | Json Array KData [{"C":close,"Tick":timeticks,"O":open,"H":high,"L":low,"A":amount,"V":volume}...] |
name | type | required | remark |
symbol | string | yes | Full Symbol Cocde Such As BTC,Reference |
period | string | yes | Support 1M,3M,5M,10M,15M,30M,1H,2H,4H,D,(W,M Maybe Not) |
datest | string | yes | Start Time |
dateed | string | yes | End Time |
withlast | int | no | With The Dynamic KData(Default 0 No, 1 Yes), Valid when dateed>=Now |
name | type | remark |
Code | int | succ when Code>=0 |
Msg | string | message |
Obj | string | Json Array KData [{"C":close,"Tick":timeticks,"O":open,"H":high,"L":low,"A":amount,"V":volume}...] |
name | type | required | remark |
symbol | string | yes | Full Symbol Cocde Such As BTC,Reference |
period | string | yes | Support 1M,3M,5M,10M,15M,30M,1H,2H,4H,D,(W,M Maybe Not) |
fromtick | long | yes | from ticks |
name | type | remark |
Code | int | succ when Code>=0 |
Msg | string | message |
Obj | string | Json Array KData [{"C":close,"Tick":timeticks,"O":open,"H":high,"L":low,"A":amount,"V":volume}...] |
name | type | remark |
Code | string | Success when Code >= 0 |
Msg | string | Message |
Obj | any |
name | type | remark |
C | decimal | Day Close |
Tick | long | Time Tick |
D | string | Trading Date(yyyy-MM-dd, output for Day period) |
O | decimal | Day Open |
H | decimal | Day High |
L | decimal | Day Low |
A | decimal | Day Amount |
V | decimal | Day Vol |