Author

Topic: How to create an order with Cryptostocks api (Read 764 times)

member
Activity: 91
Merit: 10
April 04, 2014, 05:12:22 PM
#2
Can anybody help me with this? I still haven't got an answer from support nor did I find the error code in the API documentation.

I wonder what this 441 error means and why I can execute all other api calls without a errors.
member
Activity: 91
Merit: 10
First of all, I'm new on this forum and before I cut straight to the point I feel much obliged to say hello to you. So, hi! Cheesy

I have a small problem with the Cryptostocks api and would like some help with it: I can't seem to create buy/sell orders for securities. Everything else works just fine: cancelling manually entered orders, getting balances, market data, etc.

This is the url i'm calling to create the order:
https://cryptostocks.com/api/create_order.json?account=foo%40bar.com&id=24705×tamp=1396296324&ticker=JDBIF&quantity=100&unitprice=0.000001&validtill=14-04-01&ordertype=0&token=sometoken

All I get in return is this:
{"error_number":441,"error_text":""}

Has anyone else had this error? What does it mean? How do I fix this? I tried mailing cryptostocks, but didn't receive an answer back (that said, I'll send a mail again).

Thanks for your support!
Jump to: