Skip to content

Commit

Permalink
Merge pull request #170 from gyunt/fixex/synthetic_exchange
Browse files Browse the repository at this point in the history
Fix instruments initialization in SyntheticExchange.
  • Loading branch information
timkpaine committed Feb 26, 2022
2 parents 27ad596 + c5360b7 commit 0f27f4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aat/exchange/synthetic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def __init__(

def _seed(self, symbols: List[str] = None) -> None:
self._instruments = {
symbol: Instrument(symbol)
symbol: Instrument(symbol, exchange=self.exchange())
for symbol in symbols or _getName(self._inst_count)
}
self._orderbooks = {
Expand Down

0 comments on commit 0f27f4f

Please sign in to comment.