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

How to get at what price was executed my market order? #87

Open
Th0rgal opened this issue Jun 2, 2021 · 0 comments
Open

How to get at what price was executed my market order? #87

Th0rgal opened this issue Jun 2, 2021 · 0 comments

Comments

@Th0rgal
Copy link

Th0rgal commented Jun 2, 2021

Hello,

When I perform a market order using: client.create_market_order I get a json which contains my orderId. How can I find at what price it was performed or what amount of tokens I bought?

I tried :
print(client.get_fills(order_id))

But I only got:
{'currentPage': 1, 'pageSize': 50, 'totalNum': 0, 'totalPage': 0, 'items': []}

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

1 participant