Skip to content

Commit

Permalink
Updated more versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaron committed Jun 18, 2024
1 parent 2aa6973 commit eb3bc49
Show file tree
Hide file tree
Showing 12 changed files with 70 additions and 16 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<kotlin.version>1.9.24</kotlin.version>
<kotlin.compiler.languageVersion>1.9</kotlin.compiler.languageVersion>
<kotlin.compiler.apiVersion>1.9</kotlin.compiler.apiVersion>
<slf4j.version>2.0.9</slf4j.version>
<slf4j.version>2.0.13</slf4j.version>
<ibkr.version>10.19</ibkr.version>
<surefire.failIfNoSpecifiedTests>false</surefire.failIfNoSpecifiedTests>
<skipIntegrationTests>true</skipIntegrationTests>
Expand Down
7 changes: 6 additions & 1 deletion roboquant-alphavantage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<repository>
<id>maven_central</id>
<name>Maven Central</name>
<url>https://repo.maven.apache.org/maven2/</url>
</repository>
</repositories>


Expand Down Expand Up @@ -67,7 +72,7 @@
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.16.0</version>
<version>1.17.0</version>
</dependency>
</dependencies>

Expand Down
9 changes: 8 additions & 1 deletion roboquant-avro/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,15 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.16.1</version>
<version>2.17.0</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>maven_central</id>
<name>Maven Central</name>
<url>https://repo.maven.apache.org/maven2/</url>
</repository>
</repositories>

</project>
9 changes: 8 additions & 1 deletion roboquant-binance/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,15 @@
<dependency>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>retrofit</artifactId>
<version>2.9.0</version>
<version>2.11.0</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>maven_central</id>
<name>Maven Central</name>
<url>https://repo.maven.apache.org/maven2/</url>
</repository>
</repositories>

</project>
9 changes: 8 additions & 1 deletion roboquant-jupyter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</description>

<properties>
<jupyter.version>0.12.0-217</jupyter.version>
<jupyter.version>0.12.0-235</jupyter.version>
</properties>

<build>
Expand Down Expand Up @@ -71,5 +71,12 @@
<scope>provided</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>maven_central</id>
<name>Maven Central</name>
<url>https://repo.maven.apache.org/maven2/</url>
</repository>
</repositories>

</project>
9 changes: 8 additions & 1 deletion roboquant-questdb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<dependency>
<groupId>org.questdb</groupId>
<artifactId>questdb</artifactId>
<version>7.3.9</version>
<version>8.0.1</version>
</dependency>

<dependency>
Expand All @@ -61,5 +61,12 @@
</dependency>

</dependencies>
<repositories>
<repository>
<id>maven_central</id>
<name>Maven Central</name>
<url>https://repo.maven.apache.org/maven2/</url>
</repository>
</repositories>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private class PriceBarHandler : PriceActionHandler<PriceBar> {
}

override fun getPriceAction(asset: Asset, record: Record): PriceBar {
val agg = record.getSym(7)?.toString()
val agg = record.getSymA(7)?.toString()
val timeSpan = if (agg == null) null else timeSpans.getOrPut(agg) { TimeSpan.parse(agg) }
return PriceBar(
asset,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class QuestDBFeed(private val tableName: String, dbPath: Path = Config.home / "q
val result = mutableListOf<Asset>()
engine.query("SELECT DISTINCT asset FROM $tableName;") {
while (hasNext()) {
val str = record.getSym(0).toString()
val str = record.getSymA(0).toString()
result.add(str.deserialize())
}
}
Expand Down Expand Up @@ -117,7 +117,7 @@ class QuestDBFeed(private val tableName: String, dbPath: Path = Config.home / "q
actions = mutableListOf()
}

val str = record.getSym(0).toString()
val str = record.getSymA(0).toString()
val asset = lookup.getOrPut(str) { str.deserialize() }
val price = handler.getPriceAction(asset, record)
actions.add(price)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ internal fun CairoEngine.distictSymbol(tableName: String, column: String): Set<S
fact.getCursor(ctx).use { cursor ->
while (cursor.hasNext()) {
val r = cursor.record
val s = r.getSym(0)
val s = r.getSymA(0)
result.add(s.toString())
}
}
Expand All @@ -84,7 +84,7 @@ internal fun CairoEngine.tables(): Set<String> {
val result = mutableSetOf<String>()
query("select table_name from tables()") {
while (hasNext()) {
val tableName = record.getStr(0).toString()
val tableName = record.getStrA(0).toString()
result.add(tableName)
}
}
Expand All @@ -104,7 +104,7 @@ internal fun CairoEngine.tableColumns(tableName: String): Set<String> {
val result = mutableSetOf<String>()
query("select \"column\" from table_columns('$tableName')") {
while (hasNext()) {
result.add(record.getStr(0).toString())
result.add(record.getStrA(0).toString())
}
}
return result
Expand Down
9 changes: 8 additions & 1 deletion roboquant-ssr/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</description>

<properties>
<graalvm.version>23.1.2</graalvm.version>
<graalvm.version>24.0.1</graalvm.version>
</properties>

<build>
Expand Down Expand Up @@ -73,5 +73,12 @@
<version>1.17</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>maven_central</id>
<name>Maven Central</name>
<url>https://repo.maven.apache.org/maven2/</url>
</repository>
</repositories>

</project>
9 changes: 8 additions & 1 deletion roboquant-ta/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,20 @@
<dependency>
<groupId>org.ta4j</groupId>
<artifactId>ta4j-core</artifactId>
<version>0.15</version>
<version>0.16</version>
</dependency>
<dependency>
<groupId>com.tictactec</groupId>
<artifactId>ta-lib</artifactId>
<version>0.4.0</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>maven_central</id>
<name>Maven Central</name>
<url>https://repo.maven.apache.org/maven2/</url>
</repository>
</repositories>

</project>
11 changes: 9 additions & 2 deletions roboquant/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,25 @@
<dependency>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines-core</artifactId>
<version>1.8.0</version>
<version>1.8.1</version>
</dependency>
<dependency>
<groupId>de.siegmar</groupId>
<artifactId>fastcsv</artifactId>
<version>3.0.0</version>
<version>3.2.0</version>
</dependency>
<dependency>
<groupId>org.hipparchus</groupId>
<artifactId>hipparchus-stat</artifactId>
<version>3.0</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>maven_central</id>
<name>Maven Central</name>
<url>https://repo.maven.apache.org/maven2/</url>
</repository>
</repositories>

</project>

0 comments on commit eb3bc49

Please sign in to comment.