Skip to content

Commit 4108f4b

Browse files
Merge branch 'master' into jw-trace-on-err
2 parents 99716b8 + 7f4b4ff commit 4108f4b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

rest/models/snapshot.go

+5-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,11 @@ type ListOptionsChainParams struct {
7979
UnderlyingAsset string `validate:"required" path:"underlyingAsset"`
8080

8181
// The strike price of the option contract.
82-
StrikePrice *float64 `query:"strike_price"`
82+
StrikePrice *float64 `query:"strike_price"`
83+
StrikePriceLT *float64 `query:"strike_price.lt"`
84+
StrikePriceLTE *float64 `query:"strike_price.lte"`
85+
StrikePriceGT *float64 `query:"strike_price.gt"`
86+
StrikePriceGTE *float64 `query:"strike_price.gte"`
8387

8488
// The type of contract. Can be ContractCall, ContractPut, or in some rare cases, ContractOther.
8589
ContractType *ContractType `query:"contract_type"`

0 commit comments

Comments
 (0)