Open nklarer-core opened 5 years ago
I have not, but I will look into it in a few
Thanks.
Yesterday, I tried the call on the mock server. It worked correctly and returned an ID.
Then, I tried to use the wrapper in your Coinigy repo. That returned the same response in the original post.
My account was upgraded manually. Could this be a permissions issue?
Nathan,
It could be a bug with returning the order id through the API after placing an order on the specific exchange you're using. I have determined which exchange that is and I will investigate. However, I noticed that the account you're using doesn't have Trading activated for the account on this page: https://www.coinigy.com/user/api. Can you please activate this for your account and give it another try?
I have written a function that passes a set of values to a dictionary and posts to the addOrder endpoint. However, I always receive the following response from the endpoint:
b'{"data":{"internal_order_id":"0"},"notifications":[]}'
Function
` def makeOrder(self, auth_id, exch_id, mkt_id, order_type_id, price_type_id, limit_price, order_quantity):
Here is a sample dictionary:
{'mkt_id': 3341, 'limit_price': 3603.78, 'order_quantity': 0.001, 'auth_id': 396720, 'price_type_id': 3, 'order_type_id': 2, 'exch_id': 70}
Has anyone encountered this?