cryptodatapy.extract.params.libraries.ccxt_param_converter ========================================================== .. py:module:: cryptodatapy.extract.params.libraries.ccxt_param_converter Attributes ---------- .. autoapisummary:: cryptodatapy.extract.params.libraries.ccxt_param_converter.logger Classes ------- .. autoapisummary:: cryptodatapy.extract.params.libraries.ccxt_param_converter.CCXTParamConverter Module Contents --------------- .. py:data:: logger .. py:class:: CCXTParamConverter(data_req: cryptodatapy.core.data_request.DataRequest) Bases: :py:obj:`cryptodatapy.extract.params.base_param_converter.BaseParamConverter` Converts a standard DataRequest object into the specific set of parameters required by a CCXT-supported exchange (e.g., Binance, KuCoin). .. py:method:: _convert_exchange(mkt_type: str, exch: str) -> str Converts the standard exchange name to the CCXT-specific ID based on the market type (spot vs. futures). .. py:method:: _convert_dates() -> Tuple[int, int] Converts start and end dates to Unix timestamps in milliseconds (CCXT standard). Leverages the base class utility (super()._convert_dates) to handle normalization, defaults, and formatting based on the specified parameters. :returns: (source_start_date_ms, source_end_date_ms) :rtype: Tuple[int, int] .. py:method:: _get_required_methods() -> List[str] Identifies which CCXT methods are needed based on requested fields. .. py:method:: convert() -> Dict[str, Any] Orchestrates all conversions and compiles the final dictionary of CCXT parameters. :returns: A dictionary containing vendor-specific parameters. :rtype: Dict[str, Any]