pridan draft batch runu

This commit is contained in:
David Brazda
2023-09-03 22:01:28 +02:00
parent e067a43dda
commit 7fabc5887c
14 changed files with 264 additions and 37 deletions

View File

@ -27,6 +27,7 @@ from alpaca.data.enums import Exchange
class Intervals(BaseModel):
start: str
end: str
note: Optional[str] = None
# Define the data model for the TestLists
class TestList(BaseModel):
@ -71,6 +72,7 @@ class RunRequest(BaseModel):
ilog_save: bool = False
bt_from: datetime = None
bt_to: datetime = None
test_batch_id: Optional[str] = None
cash: int = 100000