Function wex::trade_history [] [src]

pub fn trade_history(
    account: &Account,
    cfg: Option<HistoryQuery>
) -> Result<HashMap<String, TradeHistoryEntry>, String>

Returns trade history.

When using parameters since or end, the order parameter automatically assumes the value ASC. When using the since parameter the maximum time that can displayed is 1 week.