diff --git a/src/main/java/com/github/rishabh9/riko/upstox/users/models/Position.java b/src/main/java/com/github/rishabh9/riko/upstox/users/models/Position.java index 7a15348..e6e4824 100644 --- a/src/main/java/com/github/rishabh9/riko/upstox/users/models/Position.java +++ b/src/main/java/com/github/rishabh9/riko/upstox/users/models/Position.java @@ -87,7 +87,7 @@ public class Position { private NumberString unrealizedProfit; @SerializedName("cf_avg_price") - private BigDecimal cfAveragePrice; + private NumberString cfAveragePrice; public String getExchange() { return exchange; @@ -241,11 +241,11 @@ public void setUnrealizedProfit(NumberString unrealizedProfit) { this.unrealizedProfit = unrealizedProfit; } - public BigDecimal getCfAveragePrice() { + public NumberString getCfAveragePrice() { return cfAveragePrice; } - public void setCfAveragePrice(BigDecimal cfAveragePrice) { + public void setCfAveragePrice(NumberString cfAveragePrice) { this.cfAveragePrice = cfAveragePrice; }