mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-05 20:11:13 +08:00
31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
feat: Add Aster DEX exchange support + fix precision issues
|
|
|
|
## Features
|
|
- Add full Aster DEX integration with Binance-compatible API
|
|
- Support Web3 authentication with API wallet system
|
|
- Add comprehensive Aster integration guide (ASTER_INTEGRATION.md)
|
|
- Add example Aster configuration (config.aster.example.json)
|
|
|
|
## Bug Fixes
|
|
- Fix precision error (code -1111) for all order types
|
|
- Fix "Quantity less than zero" error (code -4003) when closing positions
|
|
- Implement proper float-to-string conversion with exchange precision
|
|
- Add automatic precision fetching from /exchangeInfo endpoint
|
|
- Add quantity=0 handling in CloseLong/CloseShort (auto-detect position size)
|
|
- Remove trailing zeros from formatted values
|
|
|
|
## Documentation
|
|
- Update README.md with Aster quick start guide
|
|
- Add detailed setup instructions for creating API wallet
|
|
- Include troubleshooting FAQ and security best practices
|
|
- Update core features to mention three supported exchanges
|
|
|
|
## Technical Details
|
|
- Added formatFloatWithPrecision() helper function
|
|
- Updated all order functions to use proper precision formatting
|
|
- Added precision logging for debugging
|
|
- Fully backward compatible with existing configurations
|
|
|
|
Closes #[issue number if applicable]
|
|
|