15 lines
251 B
Go
15 lines
251 B
Go
package model
|
|
|
|
import "time"
|
|
|
|
type Trade struct {
|
|
Time time.Time
|
|
Symbol string
|
|
Side string
|
|
Price float64
|
|
Qty int
|
|
Cash float64
|
|
StopPrice float64 // ATR-based stop
|
|
TakeProfit float64 // ATR-based take profit
|
|
}
|