Commit 72eaa33c authored by Quentin Defenouillere's avatar Quentin Defenouillere Committed by Vincent A

[boobank] Implement iter_market_orders in Boobank

parent e5d93113
......@@ -791,6 +791,7 @@ class Boobank(CaptchaMixin, ReplApplication):
caps = {
'iter_investment': CapBankWealth,
'iter_pocket': CapBankWealth,
'iter_market_orders': CapBankWealth,
}
self.start_format()
......@@ -813,6 +814,14 @@ class Boobank(CaptchaMixin, ReplApplication):
"""
self.show_wealth('iter_pocket', id)
def do_market_order(self, id):
"""
market_order ID
Display market orders of an account.
"""
self.show_wealth('iter_market_orders', id)
def do_budgea(self, line):
"""
budgea USERNAME PASSWORD
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment