-
Notifications
You must be signed in to change notification settings - Fork 236
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
Submitting a buy order not working #92
Comments
With just response = kraken.query_private('AddOrder', {'pair': 'XXBTZEUR', 'type': 'buy', 'ordertype': 'market', 'volume': : '0.002'}) Results in a response: {'error': [],
'result': {'descr': {'order': 'buy 0.00200000 XBTEUR @ market'},
'txid': ['TRANSA-CTION-IDHERE']}} And an appropriate balance change, along with entries on the "Trades" tab, and two entries in the ledger (on the "Overview" tab). Try making EDIT: Also, this shows the In either case, this looks like a Since an external package is involved, and it works as expected on this end, tagging as invalid. |
@carsonpo I don't know if you have found the solution of your probleme. If you do, you could have post here. Otherwise, you order failed because, as written in the API, you have to put the flag
|
So I'm curious, can Is this just purely for validating the |
It just validates that the payload is valid, it doesn’t give any market data.
… On 8 Feb 2022, at 19:40, goodboy ***@***.***> wrote:
So I'm curious, can validate=True be used as a form of paper trading or does kraken not fake fills on their end?
Is this just purely for validating the AddOrder request i guess?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
|
Versions
What are you trying to achieve?
Submit a buy/sell order. I am using the extension to this API pykrakenapi
Here is that API's way of submitting an order:
and when I run this in my program:
it prints:
{'descr': {'order': 'buy 0.00200000 XBTUSD @ market'}}
What do you expect to happen?
I would expect it to submit an order to my account
What happens instead?
My account never reflects that an order was submitted at all
I feel like there is something really simple that I should be doing, but I've been working on trying to fix this for several hours now and I have no idea what I'm supposed to do.
Thanks for all the help!
The text was updated successfully, but these errors were encountered: