feat(Core): update DTOs and shared models
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace FinlyticCore.Dtos.TechnicalAnalysis;
|
||||
|
||||
public record CandleDto(
|
||||
[property: JsonPropertyName("timestamp")] DateTime Timestamp,
|
||||
[property: JsonPropertyName("open")] decimal Open,
|
||||
[property: JsonPropertyName("high")] decimal High,
|
||||
[property: JsonPropertyName("low")] decimal Low,
|
||||
[property: JsonPropertyName("close")] decimal Close,
|
||||
[property: JsonPropertyName("volume")] long Volume,
|
||||
[property: JsonPropertyName("bid")] decimal? Bid = null,
|
||||
[property: JsonPropertyName("ask")] decimal? Ask = null
|
||||
);
|
||||
Reference in New Issue
Block a user