Decryption Key For Paid Members / Upgraded Accounts :
Bicrypto - Crypto Trading Platform, Exchanges, KYC, Charting Library, Wallets, Binary Trading, News v5.6.3 + Addons
Update Notes - Core 5.6.3
Fixed
Ecosystem Order Matching
• Partial Fill Fees: Fixed sellers being charged full order fee instead of proportional fee on partial fills - now correctly charges only for the filled amount
• Locked Funds Release: Fixed buyer's funds staying locked forever on partial fills - proportional cost and fee now properly released from locked balance
• Negative Balance: Fixed trade balance going negative due to wallet data type conversion issues - now explicitly converts Decimal types to numbers for accurate arithmetic
• Price Execution: Fixed unfair price matching where buyers always got their price - now properly uses maker's price (whoever placed order first)
• Unauthorized Credit: Fixed orders executing even when wallet updates failed due to insufficient funds - matching now properly aborts when validation fails
• Error Handling: Fixed order matching continuing after wallet update errors - failed matches are now skipped and orders remain available for retry
• Order Cancellation: Fixed partial fill cancellation refunding incorrect amounts - users receiving more than they should when cancelling partially filled orders - now correctly refunds only the remaining unfilled portion
Email Notifications
• Email Verification: Fixed email verification and deposit confirmation emails not being sent - added missing URL shortcode to template validation
Trading Interface
• Balance Display: Fixed trading page showing only available balance instead of total balance - now displays total balance, locked amount, and available balance separately for better clarity
• Chart Updates: Fixed OHLCV (candlestick) data not broadcasting to WebSocket subscribers when orders are matched - corrected subscription filter property order to match frontend subscription format
Improved
Fee Model
• Maker/Taker Fees: Improved fee assignment to use industry-standard maker/taker model
• Market orders now use taker fee (removes liquidity)
• Limit orders that cross spread use taker fee (removes liquidity)
• Limit orders that rest on book use maker fee (adds liquidity)
• Previous behavior incorrectly assigned fees based on buy/sell side only
Order Matching
• Proportional Fees: Enhanced fee calculations to properly handle partial fills
• 10% order fill now charges 10% of the fee (was charging 100% before)
• Locked funds released proportionally including fee portion
• All calculations maintain 18 decimal precision for accuracy
Wallet Operations
• Balance Integrity: Improved wallet update logic to prevent balance discrepancies
• Fresh wallet data fetched before each update to prevent stale data bugs
• Separate handling for order creation/cancellation vs order matching
• Both balance and locked funds (inOrder) validated before updates
Balance Display
• Wallet Information: Enhanced wallet endpoint to return comprehensive balance details
• Total balance (balance + inOrder)
• Amount locked in orders (inOrder)
• Available/spendable balance
• Trading Interface: Improved balance display with clear breakdown of all balance components
• Shows total owned balance prominently
• Displays locked funds with lock icon when applicable
• Highlights available balance in green for easy identification
Added
Trading Features
• Maker/Taker Detection: Added automatic detection of maker/taker status at order creation
• System checks if limit order will immediately match (taker) or rest on book (maker)
• Applies appropriate fee rate based on liquidity provision
• Encourages market depth with lower maker fees
Decryption Key For Paid Members / Upgraded Accounts :
Bicrypto - Crypto Trading Platform, Exchanges, KYC, Charting Library, Wallets, Binary Trading, News v5.6.2 + Addons
= Update Note
**Tags:** ECOSYSTEM TRADING, WEBSOCKET, ORDER MANAGEMENT, UI IMPROVEMENTS, REAL-TIME UPDATES
## Fixed
### Ecosystem Order Management
- **Order Cancellation Timestamp**: Fixed "Invalid date" error when canceling ecosystem orders - now correctly passes order's createdAt timestamp instead of Date.now()
- **Balance Updates**: Fixed spendable balance not updating in real-time after order cancellation - now broadcasts wallet update events
- **100% Orders**: Fixed 100% order placement failing due to fee not being subtracted from available balance
- **Sell Orders**: Fixed 100% SELL orders failing with "insufficient balance" error - now correctly calculates spendable balance (balance - inOrder)
- **Negative Balance**: Fixed asset balance going negative due to double-locking when creating orders - now properly uses spendable balance calculations
- **Amount Field Bug**: Fixed "untitled" text appearing in amount field after order submission - changed to empty string
### WebSocket Improvements
- **Orders WebSocket**: Created dedicated orders WebSocket service (`orders-ws.ts`) separate from market data WebSocket to prevent message routing conflicts
- **Connection IDs**: Fixed WebSocket messages being sent to wrong connections by using unique connection IDs (`orders-eco`, `orders-spot`, `orders-futures`)
- **Persistent Connection**: Moved orders WebSocket initialization to trading-layout level so connection stays alive even when orders panel is collapsed
- **Message Routing**: Fixed notifications and announcements being sent to all WebSocket connections - now only sent to `/api/user` connection using `sendToClientOnRoute()`
- **Partial Fills**: Fixed partial fills not appearing in real-time - now broadcasts order updates after each match in matchmaking
### Market Panel
- **isEco Flag**: Fixed eco market flag being lost when ticker data updates - now preserves all original market properties using spread operator pattern
- **Property Preservation**: Changed market update pattern from manual reconstruction to spread operator (`{...market, ...tickerUpdates}`) to prevent losing properties
## Improved
### Trading Interface
- **Fee Calculations**: Enhanced all order forms (limit, market, stop) to properly calculate fees for 100% orders
- BUY orders: `amount = availableBalance / (price * (1 + takerFee))`
- SELL orders: Use full balance (fee deducted from proceeds)
- **Fee Display**: Added trading fee display in order form UI showing fee percentage and estimated fee amount
- **Amount Precision**: Improved amount calculations using `Math.floor()` for proper rounding instead of hardcoded buffers
### Orders Panel - Fill Progress
- **Filled/Amount Display**: Enhanced Open Orders table to show "Filled / Amount" instead of just "Amount"
- **Visual Progress Bar**: Added color-coded progress bar (green for BUY, red for SELL) showing fill percentage
- **Real-time Updates**: Partial fills now update instantly via WebSocket without page reload
- **Compact Layout**: Optimized column width with `min-w-[120px]` for better space utilization
- **Percentage Indicator**: Shows fill percentage (e.g., "2%") next to progress bar for instant clarity
### Fee Handling
- **Taker/Maker Fees**: Properly passes market-specific taker and maker fees from market metadata to order forms
- **Dynamic Fee Rates**: Fees are now pulled from market configuration instead of being hardcoded
- **Fee Transparency**: Users can see exact fee amount before placing orders
## Added
### WebSocket Architecture
- **Orders WebSocket Service**: New dedicated service (`/services/orders-ws.ts`) for handling order updates
- Supports multiple market types (spot, eco, futures)
- Connection status tracking per market type
- Automatic reconnection handling
- Message caching for late subscribers
- **Message Broker Improvements**: Enhanced `sendToClientOnRoute()` method for route-specific WebSocket messaging
### Real-time Order Updates
- **Partial Fill Broadcasting**: Orders now broadcast updates after each match in the matching engine
- **Live Progress**: Users see their orders getting filled in real-time with visual progress indicators
- **Multi-user Updates**: Both buyer and seller receive instant updates when orders partially fill
## Technical Improvements
### Code Quality
- **Removed Debug Logs**: Cleaned up verbose console logging from production code:
- Ecosystem orders API logs
- Scylla query execution logs
- Orders WebSocket connection logs
- Trading layout initialization logs
- **Better Error Handling**: Kept only essential error logging for debugging real issues
### WebSocket Performance
- **Connection Management**: Single persistent connection per market type at layout level
- **Efficient Callbacks**: Panels register/unregister callbacks without affecting connection
- **No Duplicate Messages**: Fixed duplicate order broadcasts in matching engine
### Balance Calculations
- **Spendable Balance**: Wallet endpoint now returns `balance - inOrder` for accurate available balance
- **Order Validation**: Pre-flight checks use spendable balance to prevent insufficient balance errors
Decryption Key For Paid Members / Upgraded Accounts :
Bicrypto - Crypto Trading Platform, Exchanges, KYC, Charting Library, Wallets, Binary Trading, News v5.6 + Addons
Changelogs.
CHeCK translation added
docs\MENU-TRANSLATION-IMPLEMENTATION.md
Decryption Key For Paid Members / Upgraded Accounts :
Bicrypto - Crypto Trading Platform, Exchanges, KYC, Charting Library, Wallets, Binary Trading, News V5.5.9.1 + Addons
Update Notes
Important Note
• Before updating: Delete /frontend/middleware.ts if present to avoid build conflicts
Fixed
Trading Page - Ecosystem Markets
• Order Cancellation: Fixed "Failed to cancel order" error for Eco markets
• Batch Cancellation: Fixed "Failed to cancel all orders" error for Eco markets
• Order History: Fixed cancelled orders now appearing immediately in History tab without page reload
• Open Orders Display: Fixed new orders requiring page reload to appear in Open Orders tab - orders now appear instantly
• Order Book Prices: Fixed prices showing as 0.000000 for values below 0.01 (e.g., 0.001 now displays correctly)
• Total Calculations: Fixed Total column showing 0.00 for small price calculations
Payment Methods
• QR Code Support: Fixed QR Code option not appearing in Type dropdown when creating new deposit methods
Investment Management
• Duration Selection: Fixed duration saving error in AI Investment and Forex plans
• Menu Visibility: Fixed Investment Management section not appearing in Finance menu
Forex Trading
• Account Type Display: Fixed Forex account MT version always showing MT4 instead of selected MT5
Build System
•IMPORTANT: Before running pnpm updator, manually delete /frontend/middleware.ts file if it exists
• Next.js 16 Compatibility: Cleared middleware/proxy conflict causing build errors
Improved
Order Book Enhancements
• Amount Display: Improved amount column formatting to strip trailing zeros (e.g., 1.00000000 displays as "1")
• Price Grouping: Improved order book grouping with fine-grained aggregation levels supporting micro-cap tokens
• Aggregation Options: Expanded aggregation dropdown from 4 to 8 options for better flexibility
• Decimal Precision: Enhanced aggregation algorithm for floating-point precision
Trading Interface
• Smart Price Formatting: Prices now display with appropriate decimal places based on value magnitude
• Real-time Updates: Orders now appear instantly via WebSocket without requiring page refresh
• Better Precision: Support for micro-priced assets and meme coins with tiny prices
Added
Investment Features
• Duration Selection: Added multiselect duration field to AI Investment plans
• Forex Durations: Added multiselect duration field to Forex plans
• Multiple Durations: Investment and Forex plans can now select multiple durations when creating or editing
Payment Methods
• QR Code Fields: Added QR Code option to deposit method custom fields in Type dropdown
Bicrypto - Crypto Trading Platform, Exchanges, KYC, Charting Library, Wallets, Binary Trading, News v5.5.8 + Addons
No changelogs found!
Decryption Key For Paid Members / Upgraded Accounts:
Bicrypto v5.5.7 - Crypto Trading Platform, Exchanges, KYC, Charting Library, Wallets, Binary Trading, News
Decryption Key For Paid Members / Upgraded Accounts:
v5.5.7
Update Notes
Critical Fixes
Withdrawal Balance Calculation
Max Withdrawal Calculation
- • Fixed NATIVE EVM token withdrawal fee calculation - Gas fees are now correctly paid FROM the withdrawal amount instead of being added on top
- • Affected chains: ETH, BSC, POLYGON, FTM, OPTIMISM, ARBITRUM, BASE, CELO, RSK, AVAX
- • Previously: totalToDeduct = withdrawAmount + platformFee + gasFee (incorrect)
- • Now: totalToDeduct = withdrawAmount + platformFee (gas paid from withdrawal itself)
String Concatenation Bugs
- • Added gas fee estimation for NATIVE EVM tokens in max withdrawal endpoint
- • Max withdrawal now subtracts estimated gas fee to prevent "Insufficient funds" errors
- • Formula: maxAmount = availableBalance - platformFee - estimatedGas
Floating-Point Precision Errors
- • Fixed critical string concatenation issues in balance calculations (7 locations)
- • Database stores balances as strings, causing concatenation instead of addition
- • Example bug: "0.00689273" + "0.0001" resulted in "0.006892730.0001" instead of 0.00699273
- • Added parseFloat() before all arithmetic operations on wallet balances
Gas Fee Reconciliation
- • Added EVM chains to balance precision function
- • Fixed precision errors like 0.000890629999999999 displaying instead of 0.00089063
- • Added chains: BSC, ETH, POLYGON, ARBITRUM, OPTIMISM, BASE, AVAX, FTM, CELO, RSK (all with 8 decimal precision)
Private Ledger Integration
- • Implemented gas fee reconciliation for NATIVE EVM withdrawals
- • Compares estimated vs actual gas used after transaction confirms
- • Refunds difference if overestimated, deducts if underestimated
- • Keeps database balance synchronized with on-chain balance
Monero (XMR) Deposit Processing
- • Fixed withdrawal balance checks to consider private ledger
- • For PERMIT tokens, now checks: availableBalance = wallet_data.balance - offchainDifference
- • Prevents users from withdrawing admin fees collected in cross-token exchanges
- • Applied in both max withdrawal and withdrawal validation
Technical Improvements
- • Fixed XMR deposit deadlock issue
- • Created processMoneroTransactionDirect method to handle deposits when wallet is already open
- • Prevents "0/120 attempt" stalling on deposits
Balance Checking Logic
Gas Estimation
- • Changed from checking wallet.balance (total across all chains) to wallet_data.balance (chain-specific available balance)
- • Ensures users can only withdraw what's actually available on the specific blockchain
Private Ledger Logic
- • Implemented proper gas estimation for NATIVE EVM tokens before withdrawal
- • Uses 21000 gas limit for standard transfers
- • Fetches current gas price from blockchain
- • Falls back to conservative estimates if estimation fails
- • offchainDifference > 0: Admin fees collected (reduces available balance)
- • offchainDifference < 0: User credited from exchange (increases available balance)
- • Only applies to PERMIT contract type tokens
Bicrypto v5.5.4 - Crypto Trading Platform, Exchanges, KYC, Charting Library, Wallets, Binary Trading, News
Decryption Key For Paid Members / Upgraded Accounts:
Changelog Not Found!
Bicrypto v5.5.3 - Crypto Trading Platform, Exchanges, KYC, Charting Library, Wallets, Binary Trading, News
Decryption Key For Paid Members / Upgraded Accounts:
v5.5.3
## Fixed
### Cron Jobs
- **Fixed** Cron jobs not showing status updates in admin panel
- **Fixed** Fiat currency fetch timeout errors (increased from 5s to 30s)
- **Fixed** Missing API key validation for currency fetch
- **Fixed** Cron status broadcasts now properly sent via WebSocket
- **Fixed** OpenExchangeRates and ExchangeRate API timeout issues
## Improved
### Cron System
- **Improved** Added status broadcasts for running/completed/failed states
- **Improved** Increased timeout for external API calls (5s → 30s)
- **Improved** Better error messages and validation
- **Improved** Cron job monitoring continues running (as designed for production)
### Error Handling
- **Improved** Better null/undefined checks throughout codebase
Bicrypto v5.5.2 - Crypto Trading Platform, Exchanges, KYC, Charting Library, Wallets, Binary Trading, News
Decryption Key For Paid Members / Upgraded Accounts:
Changelog Not Found!
Bicrypto v5.5.1 - Crypto Trading Platform, Exchanges, KYC, Charting Library, Wallets, Binary Trading, News
Decryption Key For Paid Members / Upgraded Accounts:
Changelog Not Found!