22 lines
308 B
Go
22 lines
308 B
Go
|
package trademodel
|
||
|
|
||
|
import "time"
|
||
|
|
||
|
var (
|
||
|
OrderStatusFilled = "FILLED"
|
||
|
OrderStatusCanceled = "CANCELED"
|
||
|
)
|
||
|
|
||
|
type Order struct {
|
||
|
OrderID string
|
||
|
Symbol string
|
||
|
Currency string
|
||
|
Amount float64
|
||
|
Price float64
|
||
|
Status string
|
||
|
Side string
|
||
|
Time time.Time
|
||
|
Remark string
|
||
|
Filled float64
|
||
|
}
|