Repository navigation
Integrate new Iranian and Global Exchanges (v4.9.5 - 2025-10-10) - #20
Merged
Merged
Conversation
added 8 commits
October 10, 2025 21:27
- Add abstract class with public API endpoint - Implement fetchMarkets, fetchTickers and fetchTicker methods - Add type definitions and parsing logic for market data
Improve code maintainability by using the extend method instead of spread operator for ticker object construction
Move market object construction from fetchMarkets into parseMarket method to improve code reuse and maintainability
Implement initial Bitbarg exchange support including market data fetching, ticker endpoints, and API integration. Add abstract class, public API endpoints, and type definitions for market data parsing. Support real-time trading pair information with IRT quote.
- Implement abstract class with dual API endpoints architecture - Add support for spot market data fetching (markets, tickers, order book, OHLCV) - Include type definitions and parsing logic for spot markets - Add API method routing for quote and public endpoints - Update CHANGELOG.md with integration details
…oints - Implement abstract class and public API endpoints - Add support for fetching markets, tickers and OHLCV data - Handle both USDT and IRT quote currencies - Include type definitions and parsing logic
- Change public API endpoint from api.teterlands.com to service.tetherland.com - Replace safeDict with safeList for market data parsing - Use asFloat for more robust number parsing in ticker prices
Add details about critical API endpoint and data parsing fixes for Tetherland Exchange in the CHANGELOG
- Change public API endpoint from abantether.com to api.abantether.com - Update endpoint path from management/all-coins to manager/coins/data - Adjust response parsing to handle new data structure with 'data' field - Update market and ticker parsing to match new API response format
handle bid/ask prices differently based on quote currency add percentage change calculation update market capabilities (spot/otc flags)
Add details about recent improvements to Twox Exchange ticker data parsing including price field mapping, bid/ask logic, and change tracking
Update parseMarket and parseTicker methods to handle new USDT/IRR market structure Change market type from spot to otc and use fixed quote currency (IRR) Implement new price parsing logic for bid/ask prices from prices.IRR object
Add details about USDT/IRR market and ticker parsing updates including OTC market type, fixed quote currency, and new price fields
- Add new v4.9.7 section with fixes for Twox and Afratether exchanges - Reorganize previous entries to maintain chronological order - Document Kifpool exchange integration and Tetherland fixes under correct versions
Add abstract class and public API endpoints for Mazdax OTC exchange Implement market data fetching (fetchMarkets, fetchTicker, fetchTickers) Add OHLCV candlestick data support with multiple timeframes Implement order book depth fetching (fetchOrderBook)
Implement abstract class and public API endpoints for Pingi OTC exchange Add support for market data, tickers, and OHLCV endpoints Include type definitions and parsing logic for OTC markets
Add type parameter to market requests to differentiate between spot and OTC markets. Refactor market parsing into separate methods for spot and OTC markets.
…e handling remove duplicate otcMarkets API call in fetchMarkets add default 'spot' type to fetchTickers and fetchTicker params update market type handling in various methods to use params.type add OTC market validation in fetchTicker
The default 'type': 'spot' parameter was removed from fetchMarkets, fetchTickers, and fetchTicker methods to make them more flexible and not enforce a default market type. This allows the methods to work with any market type specified by the caller.
…e abantether API endpoint fix: correct tetherland API URL and market data parsing chore: bump version to 4.9.10 across all files refactor: move otc flag in exchange definitions for consistency
amirhosseinfaghan
approved these changes
Oct 14, 2025
mohammadnasher
requested review from
gorfist
and removed request for
mohammadanaraki
October 14, 2025 09:35
gorfist
approved these changes
Oct 14, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds support for 7 new cryptocurrency exchanges and includes important bug fixes for existing exchanges. The changes span
from v4.9.5 to v4.9.10.
🆕 New Exchange Integrations
🐛 Bug Fixes
Twox Exchange (v4.9.7)
Afratether Exchange (v4.9.7)
Abantether Exchange (v4.9.10)
Tetherland Exchange (v4.9.6)
📊 Summary
All integrations include proper TypeScript definitions, multi-language support (JavaScript, Python, PHP, C#, Go), and comprehensive API
documentation.