Skip to content

Commit

Permalink
fix: binding for option type response (#756)
Browse files Browse the repository at this point in the history
(cherry picked from commit 8137296)
  • Loading branch information
uranio-235 authored and OlegRa committed Oct 17, 2024
1 parent 824caca commit 2f9df06
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 2f9df06

Please sign in to comment.