38 lines
838 B
Python
38 lines
838 B
Python
|
|
"""Pydantic v2 schemas for all service message types."""
|
||
|
|
|
||
|
|
from shared.schemas.trading import (
|
||
|
|
AccountInfo,
|
||
|
|
MarketSnapshot,
|
||
|
|
OrderRequest,
|
||
|
|
OrderResult,
|
||
|
|
PositionInfo,
|
||
|
|
SentimentContext,
|
||
|
|
TradeExecution,
|
||
|
|
TradeSignal,
|
||
|
|
)
|
||
|
|
from shared.schemas.news import RawArticle, ScoredArticle
|
||
|
|
from shared.schemas.learning import TradeOutcomeSchema, WeightAdjustment
|
||
|
|
from shared.schemas.auth import LoginRequest, RegisterRequest, TokenResponse
|
||
|
|
|
||
|
|
__all__ = [
|
||
|
|
# Trading
|
||
|
|
"OrderRequest",
|
||
|
|
"OrderResult",
|
||
|
|
"PositionInfo",
|
||
|
|
"AccountInfo",
|
||
|
|
"TradeSignal",
|
||
|
|
"TradeExecution",
|
||
|
|
"MarketSnapshot",
|
||
|
|
"SentimentContext",
|
||
|
|
# News
|
||
|
|
"RawArticle",
|
||
|
|
"ScoredArticle",
|
||
|
|
# Learning
|
||
|
|
"TradeOutcomeSchema",
|
||
|
|
"WeightAdjustment",
|
||
|
|
# Auth
|
||
|
|
"RegisterRequest",
|
||
|
|
"LoginRequest",
|
||
|
|
"TokenResponse",
|
||
|
|
]
|