Closed Janaka-Steph closed 2 years ago
Let me know if Granularity
should be renamed TimeFrame
(proper trading term) or Candle
.
The idea behind not using Candle
is that the report could be used for something else than drawing a chart.
Let me know if
Granularity
should be renamedTimeFrame
(proper trading term)
Prefer TimeFrame indeed
Add volume granularity in order to have a detailed report with all data points, from which we can draw a volume chart.
GetMarketReport is called with an additional
timeframe
parameter of typeTimeFrame
.TimeFrame
is a set of time frames commonly used in charting.MarketReport
returns a newdetail_volume
array ofMarketVolume
.MarketVolume
get newstart_date
andend_date
specifying the covered time period.end_date
could eventually be omitted since we can calculate this information fromtimeframe
.Please review @tiero @sekulicd @altafan