{"repo":"makarworld/pymexc","free":true,"listed":false,"github":"https://github.com/makarworld/pymexc","clone":"git clone https://github.com/makarworld/pymexc.git","description":"[Futures bypass] Unofficial python library for interacting with the MEXC crypto exchange","language":"Python","stars":65,"topics":["api","python","cryptocurrency","cryptoexchange","mexc","sdk"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"pymexc pymexc is an unofficial Python library for interacting with the MEXC crypto exchange. It provides a simple and intuitive API for making requests to the MEXC API endpoints. Base of code was taken from pybit library. New: Futures Trading via Web API (bypass) Futures trading via web API is now available in this repository. - How to get u id - https://telegra.ph/pymexc-bypass--Get-U-ID-02-19 Create order example Total margin formula: Installation You can install pymexc using pip: Getting Started To start working with pymexc, you must import spot or futures from the library. Each of them contains 2 classes: HTTP and WebSocket. To work with simple requests, you need to initialize the HTTP class. To work with web sockets you need to initialize the WebSocket class Example Common Usage Examples Getting Current Price and Market Data Placing and Managing Orders Market Order Example Getting Account Balance Getting Trading History Real-time Price Monitoring with WebSocket Monitoring Order Book Depth Getting Kline/Candlestick Data for Analysis Batch Order Placement Error Handling Checking Deposit and Withdrawal History Getting Multiple Symbols Data Futures: Getting Position Information Async/Await Example WebSocket: Monitoring Account Updates Documentation You can find the official documentation for the MEXC API here. API Reference Spot API (HTTP) Market Data Endpoints ping() Test connectivity to the Rest API. time() Check Server Time. default symbols() Get API default symbols. exch","default_branch":null,"files":null,"tree":[],"storefront":"/r/makarworld","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/makarworld/pymexc/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}