Skip to content

Commit

Permalink
#command handler
Browse files Browse the repository at this point in the history
  • Loading branch information
yutiansut committed Oct 14, 2018
1 parent 8f638ef commit 20211e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion QUANTAXIS/QAWeb/QA_Web.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
from QUANTAXIS.QAWeb.arphandles import AccountHandler, RiskHandler, MemberHandler
from QUANTAXIS.QAWeb.strategyhandlers import StrategyHandler, BacktestHandler
from QUANTAXIS.QAWeb.tradehandles import AccModelHandler
from QUANTAXIS.QAWeb.commandhandler import CommandHandler


class INDEX(QABaseHandler):
Expand Down Expand Up @@ -60,7 +61,8 @@ def main():
(r"/monitor", MonitorSocketHandler),
(r"/accounts", AccountHandler),
(r"/accounts/all", MemberHandler),
(r"/risk", RiskHandler)
(r"/risk", RiskHandler),
(r"/command/run", CommandHandler)
],
debug=True
)
Expand Down

0 comments on commit 20211e2

Please sign in to comment.