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 the current price #102

Open
teru1991 opened this issue Jan 1, 2022 · 3 comments
Open

How to get the current price #102

teru1991 opened this issue Jan 1, 2022 · 3 comments

Comments

@teru1991
Copy link

teru1991 commented Jan 1, 2022

I want to try my hand at trading on Serum Dex.
I understood the order book and how to order.
However, I don't know which is the current price.
Which of the pyserums corresponds to the current price?
Thank you to all the erudite people.

@leofisG
Copy link
Contributor

leofisG commented Jan 1, 2022

You can try this example: https://github.com/serum-community/pyserum#get-orderbook

@teru1991
Copy link
Author

teru1991 commented Jan 1, 2022

Thank you.
When I run the example, I get the current order book information.
However, I want to get the taker transaction info.
Do you have any idea?

@leofisG
Copy link
Contributor

leofisG commented Mar 22, 2022

What do you mean by taker transaction info? You meant previous trades?

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