Пример #1
0
        public async Task <Dividend[]> GetDividendsAsync(string symbol, Range range = null)
        {
            string requestUrl   = $"/stock/{symbol}/dividends/{range ?? Range.Default}";
            string responseJson = await CreateAndSendRequest(requestUrl);

            return(Dividend.FromJson(responseJson));
        }
Пример #2
0
 public static string ToJson(this Dividend self) => JsonConvert.SerializeObject(self, Converters.Converter.Settings);
Пример #3
0
 public static string ToJson(this Dividend self) => SerializeObject(self);