feat(Core): update DTOs and shared models
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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
|
||||
);
|
||||
Reference in New Issue
Block a user