Skip to content

Commit

Permalink
更新依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinhuangwl committed Dec 28, 2023
1 parent 2a0b4f7 commit 508e9bc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,26 +55,4 @@ void testSHFEDuringMarketTime() {
assertThat(results).isNotEmpty();
}

@Test
void testSHFEClosingMarketTime() throws InterruptedException {
LocalDate date = LocalDate.now();
LocalTime time = LocalTime.now().withMinute(0).withSecond(0).withNano(0);
for(int i=0; i<120; i++) {
time = time.plusNanos(500*1000000);
long timestamp = CommonUtils.localDateTimeToMills(LocalDateTime.of(date, time));
System.out.println("time:" + time);
barGen.update(Tick.builder()
.contract(c)
.tradingDay(date)
.actionDay(date)
.actionTime(time)
.actionTimestamp(timestamp)
.channelType(ChannelType.CTP)
.type(TickType.MARKET_TICK)
.build());
}
Thread.sleep(60000);
assertThat(results).isNotEmpty();
}

}
27 changes: 10 additions & 17 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,18 @@
<slf4j-version>2.0.9</slf4j-version>
<commons-lang3-version>3.7</commons-lang3-version>
<commons-codec-version>1.16.0</commons-codec-version>
<commons-io-version>2.6</commons-io-version>
<commons-io-version>2.15.1</commons-io-version>
<commons-math-version>3.6.1</commons-math-version>
<fastjson-version>2.0.4</fastjson-version>
<guava-version>30.1-jre</guava-version>
<guava-version>33.0.0-jre</guava-version>
<protobuf-version>3.19.1</protobuf-version>
<protobuf-java-format-version>1.4</protobuf-java-format-version>
<disruptor-version>3.4.2</disruptor-version>
<jwt-version>3.5.0</jwt-version>
<servlet-version>3.1.0</servlet-version>
<disruptor-version>3.4.4</disruptor-version>
<netty-socketio-version>1.7.19</netty-socketio-version>
<socketio-client-version>1.0.0</socketio-client-version>
<hutool-version>5.7.22</hutool-version>
<jackson-version>2.15.3</jackson-version>
<byte-buddy-version>1.14.10</byte-buddy-version>
<jackson-version>2.16.1</jackson-version>
<byte-buddy-version>1.14.11</byte-buddy-version>
<netty-version>4.1.104.Final</netty-version>
<h2-version>2.2.224</h2-version>
</properties>
Expand Down Expand Up @@ -212,11 +210,6 @@
<artifactId>jackson-databind</artifactId>
<version>${jackson-version}</version>
</dependency>
<dependency>
<groupId>com.auth0</groupId>
<artifactId>java-jwt</artifactId>
<version>${jwt-version}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
Expand Down Expand Up @@ -403,15 +396,15 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.7</version>
<version>2.16.2</version>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>2.4.1</version>
<version>3.2.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -539,7 +532,7 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.6.4</version>
<version>3.2.0</version>
<executions>
<execution>
<id>repackage</id>
Expand Down Expand Up @@ -585,7 +578,7 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.7</version>
<version>0.8.11</version>
<executions>
<execution>
<id>default-prepare-agent</id>
Expand Down Expand Up @@ -654,7 +647,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
<version>3.1.1</version>
</plugin>
</plugins>
</pluginManagement>
Expand Down

0 comments on commit 508e9bc

Please sign in to comment.