Skip to content

Commit

Permalink
Merge pull request #2 from nikhil2108/hotfix/position
Browse files Browse the repository at this point in the history
Change datatype of cfAveragePrice to NumberString
  • Loading branch information
rishabh9 authored Dec 13, 2018
2 parents 8411aa9 + 714acf8 commit f460faa
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit f460faa

Please sign in to comment.