Skip to content

Commit

Permalink
Fixed stream kline start/end time mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
JKorf committed Jul 5, 2024
1 parent f4a3d7a commit 7911e38
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions Mexc.Net/Mexc.Net.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions Mexc.Net/Objects/Models/Spot/MexcStreamKline.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,14 @@ public record MexcStreamKline
/// <summary>
/// Start time
/// </summary>
[JsonProperty("T")]
[JsonProperty("t")]
public DateTime StartTime { get; set; }
/// <summary>
/// End time
/// </summary>
[JsonProperty("T")]
public DateTime EndTime { get; set; }
/// <summary>
/// Volume in quote asset
/// </summary>
[JsonProperty("a")]
Expand Down Expand Up @@ -49,10 +54,5 @@ public record MexcStreamKline
/// </summary>
[JsonProperty("v")]
public decimal Volume { get; set; }
/// <summary>
/// Trade time
/// </summary>
[JsonProperty("t")]
public DateTime Timestamp { get; set; }
}
}

0 comments on commit 7911e38

Please sign in to comment.