
i have tried this by changing the D to M.. but it did not work
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])
Original Posted by - 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])
Original Posted by - shah: previously i tried changing to "M" for equity but it did not work. Now the Jupyter Notebook is down. I cant use it. It shows the screen as below.