[][src]Function alpha_vantage::forex::forex

pub fn forex(
    function: ForexFunction,
    from_symbol: &str,
    to_symbol: &str,
    interval: Interval,
    output_size: OutputSize,
    api_data: (&str, Option<u64>)
) -> Forex

Function used to create a Forex struct.

Instead of using this function directly calling through APIKey method is recommended