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

can get_order_book get more than 50 bids/asks? #781

Closed
86chenjie opened this issue Mar 25, 2018 · 4 comments
Closed

can get_order_book get more than 50 bids/asks? #781

86chenjie opened this issue Mar 25, 2018 · 4 comments

Comments

@86chenjie
Copy link

Currently get_order_book only return max 50 bids/asks.
Is there anyway to get full bids/asks if i change & compile the source code, then run my personal node?
If it can be done, can anyone shed the light? thanks!

@86chenjie
Copy link
Author

after dig the code, get_order_book use get_limit_orders.
i'll try get_limit_orders.

@86chenjie
Copy link
Author

works.

@oxarbitrage
Copy link
Member

i am wondering if we should FC_ASSERT the limit in get_limit_orders and similar too as we do in most calls.

@abitmore
Copy link
Member

@oxarbitrage we should. But only do that after grouped_orders plugin is widely in use.

By the way, probably better to make it and other assertions configurable in config.ini or so, like what would be done for enable-subscribe-to-all (#725). Later we can even have an API for API service providers to change those settings on the fly.

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

3 participants