qsforex
qsforex copied to clipboard
trading.py - <Response [400]> - how to for request
I see that development ceased about two years ago as per the datetime in the code listing.
- Has the code moved elsewhere or has development in fact stopped?
- Is qstrader a replacement for qsforex? (I realize that qstrader is explicitly mentioned to be for equities but I figured that I would check)
I ran trading/trading.py but the output to the screen did not occur (qsforex) gs-macbook-air:qsforex ghbcode$ python trading/trading.py 2017-02-09 10:24:10,978 - qsforex.trading.trading - INFO - Starting trading thread 2017-02-09 10:24:10,978 - qsforex.trading.trading - INFO - Starting price streaming thread
I found a discussion about this but it didn't help. I changed the heartbeat from 0.0 to 0.5 and no luck. So I traced the program and found that 'resp' from trading.py returns <Response [400]>
In the two years that development ceased the request syntax may have changed.
- If I wanted to pick up where would I find out the correct syntax for the request and in fact the syntax for Oanda's forex api currently?
Please excuse me if this is covered elsewhere. I looked around and via google without much luck.
Thanks!
Thought I would just comment to say Hello and let you know some people are watching the project. Unfortunately, I do not think this project is still active (someone correct me if I am wrong) I believe QSTrader is the new baby. I read on Quant Start that the FOREX element will be integrated at some point, not sure when. I do not use Oandas so cannot help you with your problem. Sorry! I use FXCM and will soon be uploading code, once I have finished with https://github.com/neka-nat/python-forexconnect
I like this project and I hope it comes back alive.
All the best
James
Hi @ghbcode, the OANDA REST API is fully documented here: http://developer.oanda.com/rest-live/introduction/
I was also hoping to use QSTrader with OANDA and have just submitted a pull request to enable consuming a candle data feed from the OANDA REST API.
Hi ghbcode I am having the same issue, I wonder if you have solved it?, I would appreciate it if anyone can help.