Skip to content

Commit

Permalink
Merge pull request knowm#4830 from sydowma/issue-4817
Browse files Browse the repository at this point in the history
compatible BinanceKline closed
  • Loading branch information
timmolter authored and duplessisc committed May 28, 2024
2 parents f0f83d0 + 51aa654 commit ac2e0c1
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 ac2e0c1

Please sign in to comment.