Skip to content

Commit

Permalink
fix: binding for option type response (#756)
Browse files Browse the repository at this point in the history
  • Loading branch information
uranio-235 authored Oct 17, 2024
1 parent 23f025b commit 8137296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Alpaca.Markets/Messages/JsonOptionContract.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ internal sealed class JsonOptionContract : IOptionContract
public Decimal Size { get; set; }

[JsonProperty(PropertyName = "type", Required = Required.Always)]
public OptionType OptionType { get; }
public OptionType OptionType { get; set; }

[JsonProperty(PropertyName = "strike_price", Required = Required.Always)]
public Decimal StrikePrice { get; set; }
Expand Down

0 comments on commit 8137296

Please sign in to comment.