Skip to content

Commit

Permalink
Merge pull request #4830 from sydowma/issue-4817
Browse files Browse the repository at this point in the history
compatible BinanceKline closed
  • Loading branch information
timmolter authored Apr 20, 2024
2 parents 74c9e34 + 6b01926 commit 93dc9b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public BinanceKline(Instrument instrument, KlineInterval interval, Object[] obj)
this.numberOfTrades = Long.parseLong(obj[8].toString());
this.takerBuyBaseAssetVolume = new BigDecimal(obj[9].toString());
this.takerBuyQuoteAssetVolume = new BigDecimal(obj[10].toString());
this.closed = (Boolean) obj[11];
this.closed = Boolean.parseBoolean(obj[11].toString());
}

public BigDecimal getAveragePrice() {
Expand Down

0 comments on commit 93dc9b9

Please sign in to comment.