ADD: added first version
This commit is contained in:
14
internal/model/trade.go
Normal file
14
internal/model/trade.go
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user