Enable daily precise end time by default (#8254)
API Tests / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
API Tests / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
* Default daily precise end times - Enable by default daily precise end times. Updating stats - Minor fix for algorithm manager consolidator updates, adding new regression test asserting behavior and updating others - Minor fix for SubscriptionData creator avoid round down on warmup if not appropiate - Adjust consolidators to emit on daily strict end times if requested daily resolution and setting enabled - Updating regression algorithms * Skip daily data on extended market hours * Some cleanup and self review * Revert unrequired change
This commit is contained in:
@@ -52,7 +52,7 @@ class CustomShortableProvider(NullShortableProvider):
|
||||
def rebate_rate(self, symbol: Symbol, local_time: DateTime):
|
||||
return 0.0507
|
||||
def shortable_quantity(self, symbol: Symbol, local_time: DateTime):
|
||||
if local_time < datetime(2013,10,5):
|
||||
if local_time < datetime(2013,10,4,16,0,0):
|
||||
return 10
|
||||
else:
|
||||
return 1001
|
||||
|
||||
Reference in New Issue
Block a user