Skip to content

Commit f657895

Browse files
author
方佳
committed
Merge branch 'main_260307_merge' into 'main'
feat: Event contracts support fractional shares See merge request webull/webull-openapi-java-sdk!14
2 parents 1691d6e + 664505b commit f657895

5 files changed

Lines changed: 65 additions & 4 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-openapi-java-sdk-parent</artifactId>
2323
<packaging>pom</packaging>
24-
<version>1.1.0</version>
24+
<version>1.1.1</version>
2525

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

webull-openapi-java-sdk-samples/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-openapi-java-sdk-parent</artifactId>
22-
<version>1.1.0</version>
22+
<version>1.1.1</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525

webull-openapi-java-sdk/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>com.webull.openapi</groupId>
99
<artifactId>webull-openapi-java-sdk-parent</artifactId>
10-
<version>1.1.0</version>
10+
<version>1.1.1</version>
1111
</parent>
1212

1313
<artifactId>webull-openapi-java-sdk</artifactId>

webull-openapi-java-sdk/src/main/java/com/webull/openapi/core/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 = "1.1.0";
27+
private static final String DEFAULT_APPLICATION_VERSION = "1.1.1";
2828

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

webull-openapi-java-sdk/src/main/java/com/webull/openapi/data/quotes/domain/EventMarket.java

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package com.webull.openapi.data.quotes.domain;
22

3+
import java.util.List;
4+
35
public class EventMarket {
46

57
private String seriesId;
@@ -16,6 +18,47 @@ public class EventMarket {
1618
private String expectedExpDate;
1719
private String latestExpDate;
1820
private String payoutDate;
21+
private Boolean fractionable;
22+
private List<PriceRange> priceRanges;
23+
24+
public static class PriceRange {
25+
private String start;
26+
private String end;
27+
private String step;
28+
29+
public String getStart() {
30+
return start;
31+
}
32+
33+
public void setStart(String start) {
34+
this.start = start;
35+
}
36+
37+
public String getEnd() {
38+
return end;
39+
}
40+
41+
public void setEnd(String end) {
42+
this.end = end;
43+
}
44+
45+
public String getStep() {
46+
return step;
47+
}
48+
49+
public void setStep(String step) {
50+
this.step = step;
51+
}
52+
53+
@Override
54+
public String toString() {
55+
return "PriceRange{" +
56+
"start='" + start + '\'' +
57+
", end='" + end + '\'' +
58+
", step='" + step + '\'' +
59+
'}';
60+
}
61+
}
1962

2063
public String getSeriesId() {
2164
return seriesId;
@@ -129,6 +172,22 @@ public void setPayoutDate(String payoutDate) {
129172
this.payoutDate = payoutDate;
130173
}
131174

175+
public Boolean getFractionable() {
176+
return fractionable;
177+
}
178+
179+
public void setFractionable(Boolean fractionable) {
180+
this.fractionable = fractionable;
181+
}
182+
183+
public List<PriceRange> getPriceRanges() {
184+
return priceRanges;
185+
}
186+
187+
public void setPriceRanges(List<PriceRange> priceRanges) {
188+
this.priceRanges = priceRanges;
189+
}
190+
132191
@Override
133192
public String toString() {
134193
return "EventMarket{" +
@@ -146,6 +205,8 @@ public String toString() {
146205
", expectedExpDate='" + expectedExpDate + '\'' +
147206
", latestExpDate='" + latestExpDate + '\'' +
148207
", payoutDate='" + payoutDate + '\'' +
208+
", fractionable='" + fractionable + '\'' +
209+
", priceRanges='" + priceRanges + '\'' +
149210
'}';
150211
}
151212
}

0 commit comments

Comments
 (0)