Skip to content

Conversation

@JJ-Cro
Copy link
Contributor

@JJ-Cro JJ-Cro commented Jan 22, 2026

Summary
This PR adds comprehensive support for Gate.io's OTC (Over-The-Counter), CrossEx (Cross-Exchange), and Alpha trading APIs, bringing 48 new endpoints to the SDK.
What's New
🔄 OTC Trading API (9 endpoints)
Support for fiat and stablecoin trading operations:
Fiat and stablecoin quote generation
Fiat order creation and management
Stablecoin order creation and management
Bank account information retrieval
Order history and details
Transaction tracking
🌐 CrossEx Trading API (31 endpoints)
Complete cross-exchange trading functionality across multiple exchanges (Binance, OKX, Gate):
Public endpoints: Trading pair info, risk limits, transfer currencies
Account management: Asset queries, position modes, leverage settings
Trading: Order creation, modification, cancellation, and queries
Positions: Contract and margin position management
Flash swap: Quote and execution
History: Orders, positions, trades, account changes
Market data: Interest rates, fee rates, ADL rankings, coin discount rates
🎯 Alpha Trading API (8 endpoints)
Trading for meme tokens and new listings:
Account asset management
Transaction history
Quote generation and order placement
Order list and detail queries
Currency and ticker information (public)

- Updated llms.txt to include additional excluded file patterns.
- Bumped package version from 1.3.5 to 1.4.0.
- Enhanced README.md to reflect support for new trading APIs including Cross-Exchange and Alpha trading.
- Added new examples for Cross-Exchange and OTC trading in the documentation.
- Introduced new request and response types for Alpha and Cross-Exchange functionalities in the codebase.
Copy link
Owner

@tiagosiebler tiagosiebler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solid PR, great work! Just wanted to check two very minor things. See comments.

Copy link
Owner

@tiagosiebler tiagosiebler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, great work!

@tiagosiebler tiagosiebler merged commit b55fb1f into tiagosiebler:master Jan 26, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants