add create get exchange endpoint
All checks were successful
Backend CI / unit-test (push) Successful in 34s

This commit is contained in:
2025-09-22 23:07:28 +02:00
parent 1750401278
commit b68249f9f1
3 changed files with 76 additions and 10 deletions

View File

@@ -10,6 +10,15 @@ if TYPE_CHECKING:
from trading_journal.models import TradeStrategy, TradeType, UnderlyingCurrency
class ExchangesBase(SQLModel):
name: str
notes: str | None = None
class ExchangesCreate(ExchangesBase):
user_id: int
class TradeBase(SQLModel):
user_id: int
friendly_name: str | None