Closed andyg5000 closed 7 years ago
So you need to update it to use the stream, not the api endpoint
domainDict = { 'live' : 'stream-fxtrade.oanda.com',
'demo' : 'stream-fxpractice.oanda.com' }
and
url = "https://" + domain + "/v3/accounts/" + account_id + "/pricing/stream"
why python streaming.py
runs once as it should run continuously? should we add an infinite loop inside there?
I just forked this project today, after setting things up I noted that python streaming.py
runs once. I then found this merged PR. Was this PR supposed to fix it?
Here's an initial stab at #28
Two things I don't think are functioning property are :
python streaming.py
runs once, writes to quotes, and then exitsphp artisan bowhead:oanda_stream
parses quotes, but does not pop the data off that fileOther than that, it appears to be fetching the data from the v20 API and inserting it into mysql.