Skip to content

CEX Trading Fees

Bases: API

Client to fetch CEX trading fee data from DataMaxi+ API.

Parameters:

  • api_key (str, default: None ) –

    The DataMaxi+ API key

  • **kwargs (Any, default: {} ) –

    Keyword arguments used by datamaxi.api.API.

get

get(exchange: str = None, symbol: str = None) -> List[Dict]

Fetch trading fee data

GET /api/v1/trading-fees

https://docs.datamaxiplus.com/rest/cex/trading-fees/data

Parameters:

  • exchange (str, default: None ) –

    Exchange name

  • symbol (str, default: None ) –

    Symbol name

Returns:

  • List[Dict]

    Trading fee data

exchanges

exchanges() -> List[str]

Fetch supported exchanges accepted by datamaxi.CexTradingFees.get API.

GET /api/v1/trading-fees/exchanges

https://docs.datamaxiplus.com/rest/cex/trading-fees/exchanges

Returns:

  • List[str]

    List of supported exchange

symbols

symbols(exchange: str) -> List[str]

Fetch supported symbols accepted by datamaxi.CexTradingFees.get API.

GET /api/v1/trading-fees/symbols

https://docs.datamaxiplus.com/rest/cex/trading-fees/symbols

Parameters:

  • exchange (str) –

    Exchange name

Returns:

  • List[str]

    List of supported assets