Skip to content

Commit

Permalink
Fixed volume API issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JKorf committed Feb 20, 2024
1 parent 2e9ecf3 commit cc59066
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions Mexc.Net/Objects/Models/Spot/MexcStreamMiniTick.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,21 @@ public class MexcStreamMiniTick : MexcStreamEvent
[JsonProperty("l")]
public decimal LowPrice { get; set; }
/// <summary>
/// Timestamp
/// </summary>
[JsonProperty("t")]
public DateTime Timestamp { get; set; }

// NOTE: These volumes seem to be reversed
/// <summary>
/// 24h volume
/// </summary>
[JsonProperty("v")]
[JsonProperty("q")]
public decimal Volume { get; set; }
/// <summary>
/// 24h quote volume
/// </summary>
[JsonProperty("q")]
[JsonProperty("v")]
public decimal QuoteVolume { get; set; }
/// <summary>
/// Timestamp
/// </summary>
[JsonProperty("t")]
public DateTime Timestamp { get; set; }
}
}

0 comments on commit cc59066

Please sign in to comment.