mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-29 21:24:16 +08:00
BUG: security is no longer an int.
This commit is contained in:
@@ -52,7 +52,6 @@ def assert_trade_protocol(event):
|
||||
assert_datasource_protocol(event)
|
||||
|
||||
assert event.type == DATASOURCE_TYPE.TRADE
|
||||
assert isinstance(event.sid, int)
|
||||
assert isinstance(event.price, numbers.Real)
|
||||
assert isinstance(event.volume, numbers.Integral)
|
||||
assert isinstance(event.dt, datetime)
|
||||
|
||||
Reference in New Issue
Block a user