Skip to content

Commit

Permalink
Add pricing data path
Browse files Browse the repository at this point in the history
  • Loading branch information
dasun-al committed Dec 24, 2024
1 parent a2396c6 commit 9a01525
Show file tree
Hide file tree
Showing 4 changed files with 229 additions and 67 deletions.
11 changes: 11 additions & 0 deletions marketdata/stream/entities.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,3 +200,14 @@ func (e errorMessage) Error() string {

return e.msg
}

type PerpPricingData struct {
Symbol string
Timestamp time.Time
Exchange string
IndexPrice float64
MarkPrice float64
FundingRate float64
OpenInterest float64
NextFundingTime time.Time
}
Loading

0 comments on commit 9a01525

Please sign in to comment.