use super::BackpackClient;

crate::exchanges::impl_exchange_method_wrappers! {
    BackpackClient;
    public [
        get_assets,
        get_collateral,
        get_borrow_lend_markets,
        get_borrow_lend_market_history,
        get_borrow_lend_apy,
        get_markets,
        get_market,
        get_order_book_depth,
        get_market_sessions,
        get_securities,
        get_mark_prices,
        get_open_interest,
        get_funding_rates,
        get_klines,
        get_ticker,
        get_tickers,
        get_status,
        ping,
        get_time,
        get_wallets,
        get_recent_trades,
        get_historical_trades
    ];
    private [
        get_account,
        get_max_borrow_quantity,
        get_max_order_quantity,
        get_max_withdrawal_quantity,
        get_borrow_lend_positions,
        get_borrow_history,
        get_interest_history,
        get_borrow_position_history,
        get_balances,
        convert_dust,
        get_private_collateral,
        get_deposits,
        get_deposit_address,
        get_withdrawals,
        get_dust_conversion_history,
        get_settlement_history,
        get_open_order,
        place_order,
        place_market_order,
        place_limit_order,
        cancel_order,
        place_batch_orders,
        get_open_orders,
        cancel_open_orders,
        get_fill_history,
        get_order_history,
        get_open_positions,
        get_funding_payments,
        get_position_history
    ];
}
