babel_binance 0.6.8
babel_binance: ^0.6.8 copied to clipboard
A comprehensive Dart wrapper for the Binance API, covering all major endpoints including Spot, Futures, Margin, and more.
0.6.8 #
- feat: Added
fromJson()factory constructors to all model classes for full serialization support - feat: Added
toJson()/fromJson()toRateLimitConfigfor configuration persistence - feat: Added
toJson()/fromJson()toWebSocketConfigfor configuration persistence - feat: Added
fromJson()toSimpleEarnProduct,SimpleEarnPosition,SimpleEarnReward - feat: Added
fromJson()toAutoInvestPlan,AutoInvestPlanDetail,AutoInvestSubscription,AutoInvestAsset - feat: Added
fromJson()toFiatOrder,FiatPayment,FiatCurrency - feat: Added
fromJson()toGiftCardToken,GiftCardRedemption,BuyCryptoBuyInfo - feat: Added
fromJson()toVipLoanableAsset,VipCollateralAsset,VipLoanOrder,VipLoanRepayment,VipLoanAccount
0.6.7 #
- feat: Added typed WebSocket event classes with full
fromJsonandtoJsonsupport - feat: Added
MiniTickerEvent,TickerEvent,KlineEvent,AggTradeEvent,TradeEvent,BookTickerEvent,DepthEventclasses - feat: Multi-symbol WebSocket streams via single connection using combined endpoint
- feat: Convenience methods on
Binanceclass:priceStream(),candleStream(),tradeStream(),bookTickerStream(),tickerStream() - feat:
TypedBinanceWebSocketclass for strongly-typed real-time data streams - feat:
StreamTypeenum for type-safe stream configuration - feat: Testnet WebSocket support with
useProductionPricesoption for real market data - improvement: All WebSocket event classes now support serialization with
toJson()method - example: Added
typed_websocket_example.dartdemonstrating multi-symbol real-time streams
0.6.6 #
- fix: Fixed type mismatch errors in rate limiter where async tryConsume() was used synchronously
- fix: Updated RateLimiter to use synchronous tryConsumeSync() for rate limit checks
- fix: Updated RateLimiter.reset() to use synchronous resetSync() for bucket resets
- improvement: Better thread-safety handling in rate limiting implementation
0.6.5 #
- fix: Resolved minor linting issues in the testnet integration
- docs: Updated README to include testnet trading as a feature
- improvement: Enhanced testnet example for better clarity and usability
- improvement: Improved error handling in testnet API calls
0.6.4 #
- feat: ๐งช Added comprehensive Binance Testnet integration for realistic testing without real money
- feat: Added
TestnetSpotclass with full spot trading functionality on testnet - feat: Added
TestnetFuturesUsdclass for futures trading on testnet - feat: Added
Binance.testnet()factory constructor for easy testnet setup - feat: Testnet supports real API calls to testnet.binance.vision with test funds
- feat: Full feature parity with live API including WebSocket connections
- example: Added comprehensive testnet integration example with best practices
- example: Updated quick start guide to include testnet trading alongside simulated trading
- improvement: Enhanced developer experience with three testing levels: simulated โ testnet โ live
- docs: Added detailed testnet setup instructions and safety guidelines
- enhancement: Improved trading progression path for safer strategy development
0.6.3 #
- feat: Implemented multiple API endpoint URLs with automatic failover support
- feat: Added primary and failover endpoints for Spot API (api.binance.com โ api1-4.binance.com)
- feat: Added primary and failover endpoints for Futures USD-M API (fapi.binance.com โ fapi1-3.binance.com)
- feat: Added primary and failover endpoints for Futures COIN-M API (dapi.binance.com โ dapi1-2.binance.com)
- feat: Automatic endpoint rotation on network errors or server issues
- feat: Smart reset to primary endpoint after successful failover recovery
- feat: Enhanced reliability and uptime for production applications
- feat: Added endpoint monitoring methods:
availableEndpoints,currentEndpoint,primaryEndpoint - example: Added comprehensive endpoint failover demonstration example
- improvement: Improved connection stability and error resilience
- docs: Updated documentation to reflect new endpoint failover capabilities
0.6.2 #
- deps: Updated crypto dependency from ^3.0.3 to ^3.0.6
- deps: Updated http dependency from ^1.2.1 to ^1.4.0
- deps: Updated web_socket_channel dependency from ^2.4.0 to ^3.0.3
- improvement: Enhanced compatibility with latest dependency versions
- docs: Updated documentation to reflect dependency version changes
0.6.1 #
- fix: Fixed compilation errors across multiple example files
- fix: Resolved digit separator issues in comprehensive_api_simulation_example.dart
- fix: Fixed type casting issues with null safety in dynamic map operations
- fix: Corrected return type mismatches in loan.dart and wallet.dart simulation methods
- fix: Replaced non-existent API method calls with available alternatives
- improvement: Rewrote comprehensive_api_simulation_example.dart to use only available APIs (spot, simulatedConvert, futuresUsd, margin)
- improvement: Enhanced example to demonstrate realistic trading scenarios with proper API usage
- test: All tests now pass successfully after compilation fixes
- docs: Updated examples to reflect actual API capabilities and structure
0.6.0 #
- docs: Complete README redesign with compelling introduction and enhanced user experience
- docs: Added professional badges and visual improvements to documentation
- docs: Enhanced quick start guide with simplified onboarding process
- feat: Version bump to reflect maturity and stability of the package
- improvement: Better positioning as the ultimate Dart Binance API wrapper
- docs: Emphasized comprehensive API coverage and developer-friendly features
0.5.3 #
- feat: Added comprehensive simulated trading functionality with realistic timing delays
- feat: Implemented simulated convert operations with market behavior simulation
- feat: Added timing analysis capabilities for measuring API response times
- feat: Realistic order processing simulation (50-500ms delays)
- feat: Realistic conversion processing simulation (500ms-3s delays)
- feat: Market price simulation with volatility and spread modeling
- feat: Order status progression simulation based on time and market conditions
- test: Added comprehensive test suite for simulation functionality
- docs: Updated README with detailed simulation documentation
- example: Enhanced example file with simulation demonstrations
0.5.2 #
- feat: Implement websockets and prepare for publishing.
- refactor: Restructured the
SpotAPI, separating market data endpoints into a dedicatedMarketclass. - refactor: Optimized the core
BinanceBaseclass for improved request handling. - test: Added a comprehensive test suite for Spot and WebSocket functionalities.
- test: Removed hardcoded API keys from tests, now using environment variables.
- docs: Updated
README.mdwith new API structure and websocket usage. - chore: Added
LICENSEfile and updatedpubspec.yamlfor publishing.
0.5.1 #
- Exampples and optimizations
0.5.0 #
- Initial release.
- Complete implementation of all 25 Binance API collections.
- Added Spot, Margin, Wallet, Websockets, Futures (USD & COIN), Sub-Account, Fiat, Mining, BLVT, Portfolio Margin, Staking, Savings, C2C, Pay, Convert, Rebate, NFT, Gift Card, Loan, Simple Earn, Auto-Invest, VIP-Loan, Futures Algo, and Copy Trading.