Skip to content

Commit f647ac3

Browse files
authored
feat(snapshots): add fmv_last_updated (#545)
1 parent 4c5a38c commit f647ac3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rest/models/snapshot.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ type OptionContractSnapshot struct {
303303
OpenInterest float64 `json:"open_interest,omitempty"`
304304
UnderlyingAsset UnderlyingAsset `json:"underlying_asset,omitempty"`
305305
FairMarketValue float64 `json:"fmv,omitempty"`
306+
FMVLastUpdated Nanos `json:"fmv_last_updated,omitempty"`
306307
}
307308

308309
// IndexSnapshot is a collection of data for an index ticker including the current session information and the most recent value.
@@ -477,6 +478,7 @@ type SnapshotResponseModel struct {
477478
LastUpdated int64 `json:"last_updated,omitempty"`
478479
Timeframe string `json:"timeframe,omitempty"`
479480
FairMarketValue float64 `json:"fmv,omitempty"`
481+
FMVLastUpdated Nanos `json:"fmv_last_updated,omitempty"`
480482
Error string `json:"error"`
481483
Message string `json:"message"`
482484
}

0 commit comments

Comments
 (0)