19 lines
235 B
Go
19 lines
235 B
Go
package internal
|
|
|
|
import (
|
|
"math/big"
|
|
"time"
|
|
)
|
|
|
|
type Record interface {
|
|
Symbol() string
|
|
Price() *big.Float
|
|
Quantity() *big.Float
|
|
Side() Side
|
|
Timestamp() time.Time
|
|
}
|
|
|
|
type RecordReader interface {
|
|
ReadRecord() (Record, error)
|
|
}
|