Skip to content

Commit

Permalink
add ID field
Browse files Browse the repository at this point in the history
  • Loading branch information
ejbrever committed Dec 25, 2020
1 parent 650fd63 commit 4f7f3e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions one/purchase/purchase.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ var (

// Purchase stores information related to a purchase.
type Purchase struct {
ID int64 // ID is a unique ID of Purchase and is stored in the database.
BuyOrder *alpaca.Order
SellOrder *alpaca.Order
SellFilledYearDay int // The day of the year that the sale is made.
Expand Down

0 comments on commit 4f7f3e9

Please sign in to comment.