alt/services/worker/internal/storage/postgres/sqlc/models.go
toki c0db4b24c1 feat(live-trading): 계좌 동기화와 감사 추적을 추가한다
Live Trading Boundary의 남은 account-sync/audit-trail 작업을 완료해 운영자 headless workflow와 roadmap 완료 후보 상태를 함께 반영한다.
2026-06-08 11:18:41 +09:00

70 lines
1.4 KiB
Go

// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.27.0
package sqlc
import (
"github.com/jackc/pgx/v5/pgtype"
)
type BacktestResult struct {
RunID string
StartingCashCurrency string
StartingCashAmount pgtype.Numeric
EndingEquityCurrency string
EndingEquityAmount pgtype.Numeric
Trades []byte
Positions []byte
TotalReturn pgtype.Numeric
TradeCount int32
EquityCurve []byte
}
type BacktestRun struct {
ID string
StrategyID string
Market string
Timeframe string
FromTime pgtype.Timestamptz
ToTime pgtype.Timestamptz
Status string
CreatedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
}
type Bar struct {
InstrumentID string
Timeframe string
Timestamp pgtype.Timestamptz
Open pgtype.Numeric
High pgtype.Numeric
Low pgtype.Numeric
Close pgtype.Numeric
Volume pgtype.Numeric
}
type Instrument struct {
ID string
Market string
Venue string
Symbol string
Name string
Currency string
ProviderSymbols []byte
AssetType string
}
type LiveAuditEvent struct {
EventID string
AccountID string
Broker string
OrderID string
EventType string
Status string
Reason string
Actor string
CorrelationID string
Payload []byte
CreatedAt pgtype.Timestamptz
}