2026-02-24 22:28:29 +03:00
|
|
|
package entities
|
|
|
|
|
|
|
|
|
|
import "github.com/shopspring/decimal"
|
|
|
|
|
|
|
|
|
|
type Price struct {
|
2026-02-25 22:33:52 +03:00
|
|
|
Ask decimal.Decimal // limit seller / market buyer. ask > bid.
|
|
|
|
|
Bid decimal.Decimal // limit buyer / market seller. bid < ask.
|
|
|
|
|
Spread decimal.Decimal // delta between ask and bid.
|
|
|
|
|
Instrument Instrument // trading pair
|
2026-02-24 22:28:29 +03:00
|
|
|
}
|