Skip to content
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

post_market_order error #50

Open
AbsoluteZer opened this issue Feb 11, 2023 · 1 comment
Open

post_market_order error #50

AbsoluteZer opened this issue Feb 11, 2023 · 1 comment

Comments

@AbsoluteZer
Copy link

Hello Everyone.

I have a problem regarding post_market_order which causes this error

image

Below is the code without api id and secret key

# Try 
from luno_python.client import Client

if __name__ == '__main__':

    # Get Balances
    c = Client(api_key_id='',api_key_secret='')
    res = c.get_balances()
    print(res)
    
    # Market Order BUY
    buy=c.post_market_order('ADAMYR','BUY',counter_volume=10.0)
    print(buy)

I hope you guys can help me solve this problem. Thank you in advance

@echarrod
Copy link
Contributor

echarrod commented Aug 8, 2024

Hi @AbsoluteZer, apologies no-one from Luno got back to you sooner.

Would you be able to retry this again, and provide a timestamp for the request? And then we can look in the logs for what has gone wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants