mirror of
https://github.com/wassname/catalyst.git
synced 2026-09-09 11:19:23 +08:00
MAINT: Pass float to np.full explicitly.
This commit is contained in:
@@ -3476,7 +3476,7 @@ class TestOrderCancelation(WithDataPortal,
|
|||||||
'high': minutes_arr + 2,
|
'high': minutes_arr + 2,
|
||||||
'low': minutes_arr - 1,
|
'low': minutes_arr - 1,
|
||||||
'close': minutes_arr,
|
'close': minutes_arr,
|
||||||
'volume': np.full(minutes_count, 1),
|
'volume': np.full(minutes_count, 1.0),
|
||||||
},
|
},
|
||||||
index=asset_minutes,
|
index=asset_minutes,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user