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

Add high-level method for get_limit_orders() RPC call #244

Closed
bitphage opened this issue May 22, 2019 · 2 comments
Closed

Add high-level method for get_limit_orders() RPC call #244

bitphage opened this issue May 22, 2019 · 2 comments

Comments

@bitphage
Copy link
Contributor

There is a RPC call to obtain raw orders on the specific market. The difference from Market.orderbook is that orderbook() methods does order consolidation and hides all the details. Instead, get_limit_orders() show whole details.

self.bitshares.rpc.get_limit_orders(asset_id_a, asset_id_b, depth)

Would be nice to have a high-level wrapper method for this maybe in Market class

m = Market('BTS/USD')
depth = 100
m.get_limit_orders(depth)
@xeroc
Copy link
Member

xeroc commented Jun 19, 2019

Please see of this does what you are looking for

@bitphage
Copy link
Contributor Author

Looks good, thanks!

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