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)); }
public static string ToJson(this Dividend self) => JsonConvert.SerializeObject(self, Converters.Converter.Settings);
public static string ToJson(this Dividend self) => SerializeObject(self);