|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## [1.5.0] - 2025-10-28 |
| 4 | + |
| 5 | +### Added |
| 6 | + |
| 7 | +#### Orders Service - Advanced Order Type Support |
| 8 | +- **CreateOrderRequest**: Added support for advanced order types |
| 9 | + - `settlCurrency` - Settlement currency for futures contracts |
| 10 | + - `postOnly` - Post-only flag for maker-only LIMIT orders |
| 11 | + - `pegOffsetType` - Peg offset type for PEG orders |
| 12 | + - `offset` - Offset value for PEG orders (0 = peg to best bid/offer) |
| 13 | + - `wigLevel` - WIG (Would if Good) level for pegged orders |
| 14 | +- **GetOrderPreviewRequest**: Added same advanced order fields as CreateOrderRequest plus: |
| 15 | + - `displayQuoteSize` - Maximum order size visible on venue books (quote currency) for iceberg orders |
| 16 | + - `displayBaseSize` - Maximum order size visible on venue books (base currency) for iceberg orders |
| 17 | +- **GetOrderPreviewResponse**: Added `isRaiseExact` field for raise exact order flag |
| 18 | +- **EditOrderRequest**: Added iceberg and stop order support |
| 19 | + - `displayQuoteSize` - Display size for iceberg orders |
| 20 | + - `displayBaseSize` - Display size for iceberg orders |
| 21 | + - `stopPrice` - Stop price at which order activates |
| 22 | + |
| 23 | +#### Futures Service |
| 24 | +- **GetFcmRiskLimitsResponse**: Added comprehensive FCM margin and PnL fields |
| 25 | + - `cfmTotalMargin` - Total margin required for both positions and open orders |
| 26 | + - `cfmDeltaOte` - Open Trade Equity accrued during current trading session |
| 27 | + - `cfmUnsettledRealizedPnl` - Unsettled realized PNL for positions closed intraday |
| 28 | + - `cfmUnsettledAccruedFundingPnl` - Unsettled accrued funding PNL from last settlement |
| 29 | + |
| 30 | +#### Transactions Service |
| 31 | +- **CreateConversionResponse**: Added `transactionId` field - UUID of the conversion transaction |
| 32 | + |
| 33 | +#### Wallets Service |
| 34 | +- **CreateWalletResponse**: Added `networkFamily` field for wallet network family |
| 35 | +- **GetWalletDepositInstructionsResponse**: Added proper JSON property annotations |
| 36 | + - `@JsonProperty("crypto_instructions")` for crypto deposit instructions |
| 37 | + - `@JsonProperty("fiat_instructions")` for fiat deposit instructions |
| 38 | + |
| 39 | +### Changed |
| 40 | + |
| 41 | +#### Breaking Changes |
| 42 | +- **GetCrossMarginOverviewResponse** (Financing Service): Renamed field and methods for OpenAPI alignment |
| 43 | + - Field: `crossMarginOverview` → `overview` |
| 44 | + - JSON property: `"cross_margin_overview"` → `"overview"` |
| 45 | + - Getter: `getCrossMarginOverview()` → `getOverview()` |
| 46 | + - Setter: `setCrossMarginOverview()` → `setOverview()` |
| 47 | + |
| 48 | +### Fixed |
| 49 | +- Aligned all Request/Response classes with OpenAPI specification v0.1 |
| 50 | +- Fixed missing optional fields across 11 classes in 5 services |
| 51 | +- Added 26 fields total to match OpenAPI spec completely |
| 52 | +- Fixed JSON property mappings for proper snake_case to camelCase conversion |
| 53 | +- Fixed acronym casing in model classes (XM* → Xm*, FCM* → Fcm*) to match Java naming conventions |
| 54 | +- Fixed field naming consistency across Request/Response classes |
| 55 | +- Corrected method signatures and naming: |
| 56 | + - `getAllocationsByClientNettingId` → `listAllocationsByNettingId` |
| 57 | + - Updated corresponding request/response classes: `GetAllocationsByClientNettingIdRequest` → `ListAllocationsByNettingIdRequest` |
| 58 | +- Fixed activity type enum: `PrimeActivityType` → `CustodyActivityType` |
| 59 | +- Removed `nettingId` field from `CreateAllocationRequest` to align with API specification |
| 60 | + |
3 | 61 | ## [1.4.0] - 2025-10-15 |
4 | 62 |
|
5 | 63 | ### Added |
|
0 commit comments