mirror of
https://github.com/wassname/catalyst.git
synced 2026-09-30 11:23:20 +08:00
ENH: If no exchange_full provided, use exchange
This commit is contained in:
1 parent
ccde5cbf56
commit
8e3cc484db
1 file changed
+2
-1
@@ -88,7 +88,8 @@ cdef class Asset:
|
||||
self.symbol = symbol
|
||||
self.asset_name = asset_name
|
||||
self.exchange = exchange
|
||||
self.exchange_full = exchange_full
|
||||
self.exchange_full = (exchange_full if exchange_full is not None
|
||||
else exchange)
|
||||
self.start_date = start_date
|
||||
self.end_date = end_date
|
||||
self.first_traded = first_traded
|
||||
|
||||
Reference in new issue
Block a user