init; project structure & bybit provider
This commit is contained in:
commit
ae096d4820
14 changed files with 482 additions and 0 deletions
10
internal/entities/price.go
Normal file
10
internal/entities/price.go
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
package entities
|
||||
|
||||
import "github.com/shopspring/decimal"
|
||||
|
||||
type Price struct {
|
||||
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.
|
||||
Pair Pair // trading pair
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue