shah

REST API frequency

Programming


For the competition we should be having access to minute data right?
But when i am trying to access minute data using REST API it gives the following error "{'res': "Unauthorized to access higher frequent data other than ['H', 'H2', 'H3', 'H4', 'H6', 'H12', 'D']."}" 
 
admin
For the Saudi competition, we don't provide data access via REST API due to data licensing. 
You may utilize the Jupyter notebook for data analysis. Here some examples for reference:   
 
Maël
Original Posted by - admin: For the Saudi competition, we don't provide data access via REST API due to data licensing. 
You may utilize the Jupyter notebook for data analysis. Here some examples for reference:   
Do we only allow to download daily data via REST API? 
 
shah
Original Posted by - admin: For the Saudi competition, we don't provide data access via REST API due to data licensing. 
You may utilize the Jupyter notebook for data analysis. Here some examples for reference:   
I cant get minute data. It only provides day data. How to get minute data?
 
admin
Original Posted by - shah: I cant get minute data. It only provides day data. How to get minute data?
You can try in Jupyter notebook. 

from AlgoAPI.AlgoAPIUtil import getHistoricalBar

contract = {"instrument":"EURUSD"}
count = 50
interval = "M"
timestamp = "2019-11-30"

arr = getHistoricalBar(contract, count, interval, timestamp)
for k in arr:
    print(arr[k])