-
Notifications
You must be signed in to change notification settings - Fork 7
API Array calls
Henrik edited this page Aug 17, 2022
·
4 revisions
To reduce number of API calls you can pass a list (Array) of instruments to following functions.
instList (instrument list) is comma separated and can have max 50 instruments.
Please use this calls to reduce the number of daily Api calls.
[URL]/v1/instruments/stockprices?authKey=[KEY]&instList=7,97
[URL]/v1/instruments/stockprices?authKey=[KEY]&instList=7,97&to=2022-03-07&from=2022-03-01
[URL]/v1/instruments/reports?authKey=[KEY]&instList=2,3,6
[URL]/v1/Instruments/kpis/7/r12/mean/history?authKey=[KEY]&instList=2,3,6,7
- BADINPUT - There is some problem with instList, comma separated list.
- NOTEXIST - Instrument does not exist
- NOTACTIVE - Instrument is not Active anymore.