Module common

Module common 

Source
Expand description

Common types and utilities shared across the BitMEX adapter.

This module provides reusable components that are used by both the HTTP and WebSocket clients, including:

  • Constants for BitMEX URLs and venue identifier.
  • Credential management for API authentication.
  • Enumerations for order types, sides, and statuses.
  • Parsing utilities for currency codes and other data transformations.

Modulesยง

consts
BitMEX adapter constants including base URLs and the venue identifier.
credential
API credential utilities for signing BitMEX requests.
enums
BitMEX-specific enumerations shared by HTTP and WebSocket components.
parse
Shared parsing helpers that transform BitMEX payloads into Nautilus types.
urls
URL helpers for BitMEX services.