Releases: JohnnyWic/bybit-java-api
v1.3.0
Commits (2)
Key Changes
- Project Configuration (pom.xml)
- groupId changed: io.github.wuhewuhe → io.github.johnnywic
- Version upgraded: 1.2.8-SNAPSHOT → 1.3.0
- Repository URLs changed: Migrated from VictorFrWu to JohnnyWid
- Publishing method changed: Migrated from Nexus Staging to Sonatype Central Portal
- Dependency upgrades:
- commons-codec: 1.15 → 1.17.1
- commons-lang3: 3.12.0 → 3.18.0
- commons-text: 1.10.0 → 1.12.0
- jackson-databind: 2.14.2 → 2.15.0
- logback-classic: 1.4.14 → 1.5.19
- Plugin upgrades:
- maven-source-plugin: 3.2.1 → 3.3.0
- maven-javadoc-plugin: 2.9.1 → 3.6.3
- maven-gpg-plugin: 1.5 → 3.1.0
- Added new developer: Johnny
- README Updates
- Updated Maven dependency groupId to io.github.johnnywic
- Updated version to 1.3.0
- New API Features
Added UTA Spot Margin Auto Repay Mode endpoints:
- setUTASpotMarginTradeAutoRepayMode - Set automatic repayment mode
- getUTASpotMarginTradeAutoRepayMode - Get automatic repayment mode
- Test Files Removed
Deleted 27 test files (~1554 lines removed) covering:
- Account tests
- Asset tests
- Loan tests
- Market deserializer tests
- Position tests
- Spot margin tests
- Trade tests
- User tests
- CI/CD Updates
Updated .github/workflows/maven-publish.yml
1.2.7
Release-Notes
Rest API
- Fix spot margin toogle
- Fix spot margin set leverage
- Add Broker to convert coin
- Add get sub uids unlimited endpoint
- Add get all sub uid api keys info endpoint
- Add convert request quote endpoint
- Add convert confirm quote endpoint
- Add convert get status endpoint
- Add convert get coin list quote endpoint
- Add convert get history quote endpoint
v1.2.4
Release-Notes
Websockets
- Add WebSocketMessage handler class to all public and private channels
Improvements
- public and private websocket channel set message handler
Change Log
- Spot Margin Trade endpoints are decrypted for classical users
v1.2.3
Release-Notes
HTTP Sync & Async Request
- Position new endpoints: Move Positions and Get Move Positions History
- Account new endpoint: Batch Set Collateral Coin
- TradeOrderRequest add a new parameter: marketUnit
Improvements
- Fix Switch Position Mode Issue
Change Log
- C:\Net\GithubProjects\open-api-sdk\bybit-java-api
- Set Tp/SL and Set Risk Limit endpoints are deprecated
- GetExecutionList move from PositionService to TradeService and rename to GetTradeHistory
v1.1.5
Release-Notes
HTTP Sync & Async Request
- Position new endpoints: Move Positions and Get Move Positions History
- Account new endpoint: Batch Set Collateral Coin
Improvements
- Fix Switch Position Mode Issue
Change Log
- Set Tp/SL and Set Risk Limit endpoints are deprecated
- GetExecutionList move from PositionService to TradeService and rename to GetTradeHistory
v1.1.3
1 improve stability of websocket connection
2 add bind or unbind endpoint to Institution endpoint
3 refactor market and announcement endpoints
v1.1.2
Release-Notes
HTTP Sync & Async Request
- Receive Window Parameter: Added by default (5 seconds).
- Debug Mode Parameter: Added by default (false) to print request and response headers.
- Base URL Setting: Allows setting to testnet or mainnet.
- Log Option Interceptor Parameter: Currently supports SLF4J and OkHttp3; planning to support customized messaging in the next version.
- Trade API: For create/amend/cancel single & batch orders, now supports dedicated class, map, and JSON.
- Asset API: Deposit and withdrawal operations will automatically generate a transfer ID.
- Account API : Add new function Set Spot Hedging
- Position API : Add new function Confirm New Risk Limi
WebSocket
- Ping Pong Interval Parameter: Added by default (20 seconds).
- Max Alive Time Parameter: Only supports private channel, ranging from 30s to 600s (also supports minutes).
- Log Option Interceptor for WebSocket: Currently supports SLF4J and OkHttp3; planning to support customized messaging in the next version.
Improvements
- Class Mapping for POST Requests: Each POST request will have a class mapped and converted to JSON for the request body.
- Enhanced Unit Tests: Added more tests for serialization and deserialization of data.
- Performance Tests for WebSocket: Added tests for maximum argument limits.
- POST Request Handling: Parameters not supported in query string will be reset to the body.
- Security Enhancements: Secure check for signed requests implemented.
Change Log
- CategoryType: Renamed from ProductType.
- Deprecated useTestnet: This function is now deprecated.
- Serialization Optimization: No reserialization of data before sending POST requests, using conversion instead.
v1.1.1
Release-Notes
HTTP Sync & Async Request
- Receive Window Parameter: Added by default (5 seconds).
- Debug Mode Parameter: Added by default (false) to print request and response headers.
- Base URL Setting: Allows setting to testnet or mainnet.
- Log Option Interceptor Parameter: Currently supports SLF4J and OkHttp3; planning to support customized messaging in the next version.
- Trade API: For create/amend/cancel single & batch orders, now supports dedicated class, map, and JSON.
- Asset API: Deposit and withdrawal operations will automatically generate a transfer ID.
WebSocket
- Ping Pong Interval Parameter: Added by default (20 seconds).
- Max Alive Time Parameter: Only supports private channel, ranging from 30s to 600s (also supports minutes).
- Log Option Interceptor for WebSocket: Currently supports SLF4J and OkHttp3; planning to support customized messaging in the next version.
Improvements
- Class Mapping for POST Requests: Each POST request will have a class mapped and converted to JSON for the request body.
- Enhanced Unit Tests: Added more tests for serialization and deserialization of data.
- Performance Tests for WebSocket: Added tests for maximum argument limits.
- POST Request Handling: Parameters not supported in query string will be reset to the body.
- Security Enhancements: Secure check for signed requests implemented.
Change Log
- CategoryType: Renamed from ProductType.
- Deprecated useTestnet: This function is now deprecated.
- Serialization Optimization: No reserialization of data before sending POST requests, using conversion instead.
1.0.0
1 Websocket allow pass multiple args to public and private websocket client
2 Websocket add a debug mode to show request and response header
v1.0.9
1 sync and async for http rest request
2 Place/Amend/Cancel request allow pass TradeOrderRequest instance or Map<String,Object> or Json
3 Batch Place/Amend/Cancel request allow pass BatchOrderRequest instance or Map<String, Object> or Json
4 Websocket allow pass multiple args to public and private websocket client
5 Websocket add a debug mode to show request and response header