Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trading.py - <Response [400]> - how to for request #57

Open
ghbcode opened this issue Feb 9, 2017 · 3 comments
Open

trading.py - <Response [400]> - how to for request #57

ghbcode opened this issue Feb 9, 2017 · 3 comments

Comments

@ghbcode
Copy link

ghbcode commented Feb 9, 2017

I see that development ceased about two years ago as per the datetime in the code listing.

  1. Has the code moved elsewhere or has development in fact stopped?
  2. 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.

  1. 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!

@JamesKBowler
Copy link

JamesKBowler commented Feb 9, 2017

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

@tomhunter-gh
Copy link

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.

@Simangaliso
Copy link

Hi ghbcode
I am having the same issue, I wonder if you have solved it?, I would appreciate it if anyone can help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants