Function cryptocompare::get_history_minute
[−]
[src]
pub fn get_history_minute(
fsym: &str,
tsym: &str,
options: &Options,
limit: &u64
) -> Result<Value, Box<Error>>
Get open, high, low, close, volumefrom and volumeto from the each minute historical data.
This data is only stored for 7 days, if you need more,use the hourly or daily path. It uses BTC conversion if data is not available because the coin is not trading in the specified currency.
Example
let option: Options = Options { exchanges: "Bitfinex", try_conversion: false }; let limit: u64 = 3; let history_minute = cryptocompare::get_history_minute("BTC", "USD", &option, &limit);