17 lines
453 B
C#
17 lines
453 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace FinlyticCore.Dtos.TechnicalAnalysis;
|
|
|
|
public record LivePriceDto(
|
|
[property: JsonPropertyName("isin")]
|
|
string Isin,
|
|
[property: JsonPropertyName("currentPrice")]
|
|
decimal CurrentPrice,
|
|
[property: JsonPropertyName("dailyChangePercent")]
|
|
decimal DailyChangePercent,
|
|
[property: JsonPropertyName("bid")]
|
|
decimal? Bid,
|
|
[property: JsonPropertyName("ask")]
|
|
decimal? Ask
|
|
);
|