Skip to content

Commit 3489df7

Browse files
author
方佳
committed
Merge branch 'main_merge_20250829' into 'main'
update: update position query result See merge request webull/openapi-java-sdk!27
2 parents 37511b1 + ef4041e commit 3489df7

10 files changed

Lines changed: 10 additions & 10 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<groupId>com.webull.openapi</groupId>
2222
<artifactId>webull-java-sdk</artifactId>
2323
<packaging>pom</packaging>
24-
<version>0.2.15</version>
24+
<version>0.2.16</version>
2525

2626
<name>webull-java-sdk</name>
2727
<url>https://github.com/webull-inc/openapi-java-sdk/</url>

webull-java-sdk-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>com.webull.openapi</groupId>
2121
<artifactId>webull-java-sdk</artifactId>
22-
<version>0.2.15</version>
22+
<version>0.2.16</version>
2323
</parent>
2424

2525
<modelVersion>4.0.0</modelVersion>

webull-java-sdk-core/src/main/java/com/webull/openapi/config/ProjectReaderHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ private ProjectReaderHelper() {
2424

2525
private static final String APPLICATION_VERSION = "application.version";
2626

27-
private static final String DEFAULT_APPLICATION_VERSION = "0.2.15";
27+
private static final String DEFAULT_APPLICATION_VERSION = "0.2.16";
2828

2929
private static final String APPLICATION_NAME = "application.name";
3030

webull-java-sdk-example/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>com.webull.openapi</groupId>
2121
<artifactId>webull-java-sdk</artifactId>
22-
<version>0.2.15</version>
22+
<version>0.2.16</version>
2323
</parent>
2424

2525
<modelVersion>4.0.0</modelVersion>

webull-java-sdk-grpc/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>com.webull.openapi</groupId>
2121
<artifactId>webull-java-sdk</artifactId>
22-
<version>0.2.15</version>
22+
<version>0.2.16</version>
2323
</parent>
2424

2525
<modelVersion>4.0.0</modelVersion>

webull-java-sdk-quotes/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>com.webull.openapi</groupId>
2121
<artifactId>webull-java-sdk</artifactId>
22-
<version>0.2.15</version>
22+
<version>0.2.16</version>
2323
</parent>
2424

2525
<modelVersion>4.0.0</modelVersion>

webull-java-sdk-trade-events/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>com.webull.openapi</groupId>
2121
<artifactId>webull-java-sdk</artifactId>
22-
<version>0.2.15</version>
22+
<version>0.2.16</version>
2323
</parent>
2424

2525
<modelVersion>4.0.0</modelVersion>

webull-java-sdk-trade/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>com.webull.openapi</groupId>
2121
<artifactId>webull-java-sdk</artifactId>
22-
<version>0.2.15</version>
22+
<version>0.2.16</version>
2323
</parent>
2424

2525
<modelVersion>4.0.0</modelVersion>

webull-java-sdk-trade/src/main/java/com/webull/openapi/trade/api/http/TradeHttpApiService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ public OAuthCommonPositionContractVO getCommonPositionDetail(String accountId, S
376376
HttpRequest request = new HttpRequest("/account/position/details", Versions.V1, HttpMethod.GET);
377377
Map<String, Object> params = new HashMap<>();
378378
params.put(ACCOUNT_ID_PARAM, accountId);
379-
params.put("ticker_id", tickerId);
379+
params.put("instrument_id", tickerId);
380380
if(StringUtils.isEmpty(startId)) startId = "0";
381381
if(size == null || size == 0) size = 20;
382382
params.put("last_instrument_id", startId);

webull-java-sdk-trade/src/main/java/com/webull/openapi/trade/api/http/TradeHttpApiV2Service.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ public OAuthCommonPositionContractVO getCommonPositionDetail(String accountId, S
410410
HttpRequest request = new HttpRequest("/openapi/account/position/details", Versions.V1, HttpMethod.GET);
411411
Map<String, Object> params = new HashMap<>();
412412
params.put(ACCOUNT_ID_PARAM, accountId);
413-
params.put("ticker_id", tickerId);
413+
params.put("instrument_id", tickerId);
414414
if(StringUtils.isEmpty(startId)) startId = "0";
415415
if(size == null || size == 0) size = 20;
416416
params.put("last_instrument_id", startId);

0 commit comments

Comments
 (0)