Skip to content

Commit

Permalink
fix: binding for option type response
Browse files Browse the repository at this point in the history
  • Loading branch information
uranio-235 committed Oct 3, 2024
1 parent 1808100 commit 1c305fa
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 1c305fa

Please sign in to comment.