Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update KrakenFuturesStreamingTickerResponse.java #4730

Merged
merged 1 commit into from
Dec 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public class KrakenFuturesStreamingTickerResponse {
private final BigDecimal openInterest;
private final Date nextFundingRateTime;
private final BigDecimal volumeQuote;
private final BigDecimal markPrice;

public KrakenFuturesStreamingTickerResponse(
@JsonProperty("time") Date time,
Expand All @@ -44,7 +45,8 @@ public KrakenFuturesStreamingTickerResponse(
@JsonProperty("funding_rate_prediction") BigDecimal funding_rate_prediction,
@JsonProperty("openInterest") BigDecimal openInterest,
@JsonProperty("next_funding_rate_time") Date nextFundingRateTime,
@JsonProperty("volumeQuote") BigDecimal volumeQuote) {
@JsonProperty("volumeQuote") BigDecimal volumeQuote,
@JsonProperty("markPrice") BigDecimal markPrice){
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

formatting needs fixing

this.time = time;
this.feed = feed;
this.product_id = product_id;
Expand All @@ -61,5 +63,6 @@ public KrakenFuturesStreamingTickerResponse(
this.openInterest = openInterest;
this.nextFundingRateTime = nextFundingRateTime;
this.volumeQuote = volumeQuote;
this.markPrice = markPrice;
}
}