(20241231) Too many thing happening...
This commit is contained in:
@@ -173,10 +173,16 @@ class CoreAuthTokenModel(BaseModel):
|
||||
default = "pending"
|
||||
)
|
||||
|
||||
syncFreq: Literal[60, 300, 900, 1500] = Field(
|
||||
syncFreq: Literal[None, 60, 300, 900, 1500] = Field(
|
||||
description = "the no. of seconds after which to poll for updates from the client (if applicable)",
|
||||
frozen = False,
|
||||
default = 300
|
||||
default = None
|
||||
)
|
||||
|
||||
lastSyncTs: AwareDatetime | None = Field(
|
||||
description = "the time at which this client's updates were last polled",
|
||||
frozen = False,
|
||||
default = None
|
||||
)
|
||||
|
||||
# ┏┓ ┏•
|
||||
|
||||
@@ -375,7 +375,9 @@ class TradingTick(BaseModel):
|
||||
"qty": self.qty,
|
||||
"chg": self.chg,
|
||||
"pChg": self.pChg,
|
||||
"totVol": self.totVol
|
||||
"totVol": self.totVol,
|
||||
"tradeTs": self.tradeTs.timestamp(),
|
||||
"tradeTz": self.tradeTz
|
||||
}
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user