-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathICurrentQuote.cs
74 lines (53 loc) · 2.07 KB
/
ICurrentQuote.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
using System;
using System.Text.Json.Serialization;
namespace MatthiWare.FinancialModelingPrep.Abstractions.Model
{
public interface ICurrentQuote
{
[JsonPropertyName("symbol")]
public string Symbol { get; set; }
[JsonPropertyName("name")]
public string Name { get; set; }
[JsonPropertyName("exchange")]
public string Exchange { get; set; }
[JsonPropertyName("open")]
public double? Open { get; set; }
[JsonPropertyName("price")]
public double? Price { get; set; }
[JsonPropertyName("previousclose")]
public double? PreviousClose { get; set; }
[JsonPropertyName("daylow")]
public double? DayLow { get; set; }
[JsonPropertyName("dayhigh")]
public double? DayHigh { get; set; }
[JsonPropertyName("yearlow")]
public double? YearlyLow { get; set; }
[JsonPropertyName("yearhigh")]
public double? YearlyHigh { get; set; }
[JsonPropertyName("priceavg50")]
public double? PriceAvg50 { get; set; }
[JsonPropertyName("priceavg200")]
public double? PriceAvg200 { get; set; }
[JsonPropertyName("change")]
public double? Change { get; set; }
[JsonPropertyName("changespercentage")]
public double? ChangesPercentage { get; set; }
[JsonPropertyName("timestamp")]
public long? Timestamp { get; set; }
[JsonPropertyName("volume")]
public double? Volume { get; set; }
[JsonPropertyName("avgVolume")]
public double? AvgVolume { get; set; }
// Not used by Forex or Futures.
[JsonPropertyName("eps")]
public double? Eps { get; set; }
[JsonPropertyName("pe")]
public double? Pe { get; set; }
[JsonPropertyName("earningsAnnouncement")]
public string? EarningsAnnouncement { get; set; }
[JsonPropertyName("sharesOutstanding")]
public double? SharesOutstanding { get; set; }
[JsonPropertyName("marketCap")]
public double? MarketCap { get; set; }
}
}