Save symbol price in database
This commit is contained in:
@@ -75,6 +75,12 @@ class TransactionSchema(Schema):
|
||||
price = Float()
|
||||
|
||||
|
||||
class SymbolPriceSchema(Schema):
|
||||
symbol = String()
|
||||
time = String(validate=validate.Regexp(r"\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z"))
|
||||
price = Float()
|
||||
|
||||
|
||||
class TelegramIdSchema(Schema):
|
||||
telegram_user_id = String()
|
||||
|
||||
|
Reference in New Issue
Block a user