-
Notifications
You must be signed in to change notification settings - Fork 286
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
v2.0 trade_buy and trade_sell problems #131
Comments
Hi. I have had a problem with the trade_sell function and used your fix to solve the problem. The function returns the following data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When submitting a trade_buy request to the v2.0 endpoint, we get this:
There was a problem processing your request. If this problem persists, please email [email protected] with this error id - a4e8ec80-1a22-4e9e-bece-dcaea19124c9
I've made some small fixes to the methods trade_buy and trade_sell and they now work off the bat. Unfortunately I don't know how/if I can directly make this suggestion with GIT, so here it is
`def trade_buy(self, market=None, order_type=None, quantity=None, rate=None, time_in_effect=TIMEINEFFECT_GOOD_TIL_CANCELLED,
condition_type=CONDITIONTYPE_NONE, target=0):
"""
Enter a buy order into the book
Endpoint
1.1 NO EQUIVALENT -- see buy_market or buy_limit
2.0 /key/market/tradebuy
`
` def trade_sell(self, market=None, order_type=None, quantity=None, rate=None, time_in_effect=TIMEINEFFECT_GOOD_TIL_CANCELLED,
condition_type=CONDITIONTYPE_NONE, target=0):
"""
Enter a sell order into the book
Endpoint
1.1 NO EQUIVALENT -- see sell_market or sell_limit
2.0 /key/market/tradesell
`
The text was updated successfully, but these errors were encountered: