This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// первый апдейт, который исполнится | |
04:09:41.740 [0925.b220108] [-9-thread-5] INFO t.e.ExchangeRouter - update hyperliquid:XPL (ids = 175528193799/91921148637146295451758838207935, price = 1.2866) requested (reqId:4912 | |
5296) | |
04:09:42.095 [0925.b220108] [26:8822/...] INFO t.t.c.ExOrderStatusHandler - order 175528298995/91921148637146295451758838207935 updated (fast) | |
04:09:42.334 [0925.b220108] [uid.xyz/...] INFO t.t.c.ExOrderStatusHandler - update null/91921148637146295451758838207935 confirmed (reqId:49125296,ws) [0.595 sec] | |
// в этот момент ордер уже исполнен частично, но мы не знаем, посылаем изменение цены (и апдейт включает сайз и как мы знаем фактически пересоздает ордер) | |
04:10:18.117 [0925.b220108] [-9-thread-8] INFO t.e.ExchangeRouter - update hyperliquid:XPL (ids = 175528298995/91921148637146295451758838207935, price = 1.289) requested (reqId:49125 | |
303) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10:12:48.745 [0828.b144950] [-9-thread-5] INFO t.e.ExchangeRouter - limit hyperliquid:XPL (botOrderId = 39400119486322391130830817777777, price = 0.765, contracts = 8770.0, requestId = 2050332872, close) requested | |
10:12:49.172 [0828.b144950] [26:8822/...] INFO t.e.h.s.HyperLiquidNodeListener - limit 147646498251/39400119486322391130830817777777 confirmed [0.427 sec] | |
10:12:51.541 [0828.b144950] [-9-thread-6] INFO t.e.ExchangeRouter - update hyperliquid:XPL (botOrderId = 39400119486322391130830817777777, price = 0.766, contracts = 8770.0) requested | |
10:12:51.935 [0828.b144950] [26:8822/...] INFO t.e.h.s.HyperLiquidNodeListener - update 147646535073/39400119486322391130830817777777 confirmed [0.394 sec] | |
10:12:52.060 [0828.b144950] [-9-thread-2] INFO t.e.ExchangeRouter - update hyperliquid:XPL (botOrderId = 39400119486322391130830817777777, price = 0.765, contracts = 8770.0) requested | |
10:12:52.173 [0828.b144950] [-9-thread-5] INFO t.t.firstleg.ArbAdjuster - Update failed (6666) | |
10:12:52.175 [0828.b144950] [- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:20:01.263 [0806.b124928] [38:8822/...] INFO t.e.h.s.HyperLiquidNodeListener - limit 129987151188/b23c26ac122d7bb16bc4d92677777777 confirmed [0.352 sec] | |
00:20:01.658 [0806.b124928] [38:8822/...] INFO t.e.ExchangeRouter - cancel hyperliquid:ZORA (botOrderId = 229c2cbd122d7bb16bc4d8bc77777777) confirmed [0.564 sec] | |
00:20:01.658 [0806.b124928] [38:8822/...] INFO t.e.ExchangeRouter - cancel hyperliquid:ZORA (botOrderId = 229c2cad122d7bb16bc4d8be77777777) confirmed [0.562 sec] | |
00:20:01.668 [0806.b124928] [-9-thread-1] INFO t.e.ExchangeRouter - limit hyperliquid:ZORA (botOrderId = 229c2cbd122d7bb16bc4d92a77777777, price = 0.09663, contracts = 3101.0, requestId = 1808062761) req | |
uested | |
00:20:01.682 [0806.b124928] [-9-thread-1] INFO t.e.ExchangeRouter - limit hyperliquid:ZORA (botOrderId = 229c2cad122d7bb16bc4d92c77777777, price = 0.09727, contracts = 3101.0, requestId = 1808062763) req | |
uested | |
00:20:02.158 [0806.b124928] [22:8822/...] INFO t.t.c.ExExecutionHandler - Order executed (from api = false, lat = 0.197 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"retCode": 0, | |
"retMsg": "OK", | |
"result": { | |
"category": "linear", | |
"list": [ | |
{ | |
"id": 41, | |
"symbol": "XRPUSDT", | |
"riskLimitValue": "250000", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (strategy.pricePrediction == Prediction.ABS) { | |
val predictBidDeltasAbs = predictBidDeltas.map { it.abs() } | |
val bid20Ma = calcDeltaMa(predictBidDeltasAbs, pricePredictionCount, scale) | |
val predictAskDeltasAbs = predictAskDeltas!!.map { it.abs() } | |
val ask20Ma = calcDeltaMa(predictAskDeltasAbs, pricePredictionCount, scale) | |
val std20 = (bid20Ma + ask20Ma).divide(TWO, RoundingMode.HALF_EVEN) | |
val maxMove = move.max(strategy.moveKoef * std20) | |
val range = strategy.rangeKoef * maxMove |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13:11:51.804 [main] DEBUG org.springframework.core.type.classreading.AnnotationAttributesReadingVisitor - Failed to class-load type while reading annotation metadata. This is a non-fatal error, but certain annotation metadata may be unavailable. | |
java.lang.ClassNotFoundException: org.junit.Test | |
at java.net.URLClassLoader.findClass(URLClassLoader.java:381) | |
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) | |
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) | |
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) | |
at org.springframework.core.type.classreading.RecursiveAnnotationAttributesVisitor.visitEnd(RecursiveAnnotationAttributesVisitor.java:47) | |
at org.springframework.asm.ClassReader.readAnnotationValues(ClassReader.java:1802) | |
at org.springframework.asm.ClassReader.readMethod(ClassReader.java:976) | |
at org.springframework.asm.ClassReader.accept(ClassReader.java:695) |