-
Notifications
You must be signed in to change notification settings - Fork 2
api data tick
ntwerd edited this page Apr 12, 2023
·
3 revisions
Returns json data about ticker [date, price, volume].
http://122.8.148.106/robot/api/v1/data/tick/<brokerCode>/<accountNo>
GET
Header : X-API-KEY
symbol=[string]startTime=[yyyy-MM-dd HH:mm:ss]endTime=[yyyy-MM-dd HH:mm:ss]
?symbol=PTT&startTime=2018-08-15 00:00:00&endTime=2018-08-17 00:00:00
-
Code: 200
Content: Time Last Volume
2018-08-15 09:55:12.369,51.5,1358400
2018-08-15 09:55:36.354,51.5,200000
2018-08-15 09:55:36.354,51.5,94500
2018-08-15 09:55:36.354,51.5,5500
...
-
Code: 200
Content:
{
"status": "F",
"message": "Invalid API key",
"data": {
"className": "InvalidApiKeyException"
}
}