Files
any2anexoj/internal/record.go
Natercio Moniz a6d56d7441
All checks were successful
Generate check / check-generate (push) Has been skipped
Generate check / check-generate (pull_request) Has been skipped
Tests / tests (pull_request) Has been skipped
use shopspring/decimal library everywhere
2025-11-16 23:03:47 +00:00

18 lines
253 B
Go

package internal
import (
"time"
"github.com/shopspring/decimal"
)
type Record interface {
Symbol() string
Side() Side
Price() decimal.Decimal
Quantity() decimal.Decimal
Timestamp() time.Time
Fees() decimal.Decimal
Taxes() decimal.Decimal
}