ENH: If no exchange_full provided, use exchange

This commit is contained in:
John Ricklefs
2016-08-19 16:42:28 -04:00
parent ccde5cbf56
commit 8e3cc484db
+2 -1
View File
@@ -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