shah

how to get minute level data into Jupyter notebook

Programming


i have tried this by changing the D to M.. but it did not work
 
admin
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])