Skip to content

Hotfix/python release issues - #21

Merged
mohammadnasher merged 4 commits into
masterfrom
hotfix/python-release-issues
Oct 15, 2025
Merged

mohammadnasher merged 4 commits into
masterfrom
hotfix/python-release-issues

Conversation

@mohammadnasher

Copy link
Copy Markdown

v4.9.11 - Exchange Performance Optimizations

This release focuses on performance improvements and code quality enhancements across multiple
exchanges, optimizing symbol handling and API response processing.

Fixed

Performance & Code Quality Improvements

  • Hamtapay Exchange - Optimized ticker parsing performance
    • Cached Object.keys() results to avoid redundant array generation in nested loops
    • Improved performance by eliminating repeated lookups
  • Kifpoolme Exchange - Code cleanup and optimization
    • Replaced indexOf() === -1 with more idiomatic in operator for array membership checks
    • Removed unused params argument in API call
  • Tetherland Exchange - Modernized number parsing
    • Migrated from deprecated custom asFloat function to native parseFloat
    • Removed unnecessary import
  • Twox Exchange - Fixed data structure initialization
    • Corrected ticker result initialization from array to object type

Files Changed

  • ts/src/hamtapay.ts
  • ts/src/kifpoolme.ts
  • ts/src/tetherland.ts
  • ts/src/twox.ts

Impact

This release improves code maintainability and runtime performance with no breaking changes or
API modifications.

The change simplifies the code by using the built-in parseFloat function instead of the custom asFloat utility. This improves maintainability by reducing dependency on custom functions where native alternatives exist.
- Change result from array to object in twox.ts for better data structure
- Cache Object.keys result in hamtapay.ts to avoid repeated computation
- Use 'in' operator instead of indexOf in kifpoolme.ts for baseId check
- Remove unnecessary params extension in kifpoolme.ts API call
Optimize symbol handling and API response processing across multiple exchanges:
- Hamtapay: cache base symbol lookups and refactor nested loops
- Kifpoolme: improve array membership checks and remove unused params
- Tetherland: replace deprecated asFloat with parseFloat
- Twox: fix ticker result initialization type
…nguages

- Update version number across all files to 4.9.11
@mohammadnasher mohammadnasher self-assigned this Oct 15, 2025
@mohammadnasher mohammadnasher added the bug Something isn't working label Oct 15, 2025
@mohammadnasher
mohammadnasher merged commit b764875 into master Oct 15, 2025
11 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants