-
Notifications
You must be signed in to change notification settings - Fork 202
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
placeOrder returning 415 response #72
Comments
Correction, the snipped above is sending the raw string to the placeOrders API, but it's expecting a json value. Still, converting the string with |
Tim changed the order API, it broke mine as well and I haven't gotten around to updating it. I suggest going back to a previous version of the code. I reverted to bbf113c. (Use |
Ah that would explain it, thanks! I reverted to I've got the same environment variables set up. Are you aware of any other setup that's needed for this commit? EDIT: Never mind, my env variable was set to |
|
I am having this same error. I'm using the pip installed version, so I'm not sure how to specify a git version. Is there a workaround? |
Just follow https://github.com/timkpaine/tdameritrade/blob/master/general.ipynb. However, I don't see manually configure content type as best practice. |
I'm not able to post a pace order request - getting a 415 response code ("unsupported media type"). I'm using the commented out test as reference. Is this not currently working?
EDIT: I tried adding extra header info for things like
Content-Type
andAccept
with no luck. And yet hitting this API from https://developer.tdameritrade.com/ does work.The text was updated successfully, but these errors were encountered: