goldenChat base source add

This commit is contained in:
aidev
2026-05-23 15:11:48 +09:00
commit a4ea7762b5
2081 changed files with 1155760 additions and 0 deletions
@@ -0,0 +1,16 @@
package com.goldenchart.trading.pipeline;
/**
* WebSocket 수신 쓰레드 → 이벤트 큐로 전달하는 불변 체결 틱.
*/
public record TradeTickEvent(
String market,
double tradePrice,
double tradeVolume,
long tradeTimeMs,
long enqueuedAtMs
) {
public static TradeTickEvent of(String market, double price, double volume, long timeMs) {
return new TradeTickEvent(market, price, volume, timeMs, System.currentTimeMillis());
}
}