Skip to content

Commit

Permalink
revert to name
Browse files Browse the repository at this point in the history
  • Loading branch information
timkpaine committed Jun 2, 2019
1 parent 7b5e898 commit 25c5c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aat/ui/handlers/exchanges.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def initialize(self, trading_engine, **psp_kwargs):

@run_on_executor
def get_data(self, **psp_kwargs):
msgs = [{'exchange': x['exchange'].value,
msgs = [{'name': x['exchange'].value,
'instruments': ','.join(y.to_dict(True, True)['underlying'] for y in x['instruments'])}
for x in self.te.query().query_exchanges()]
super(ExchangesHandler, self).loadData(data=msgs, **psp_kwargs)
Expand Down

0 comments on commit 25c5c2d

Please sign in to comment.