Wrote /root/JavaX-Caches/tmp_113376210/main.java - 3157 bytes (written=3157, should be 3157) javac=0, ecj=1, useJarBot=0 Checking ECJ at port 4898 at 127.0.0.1 /root/jdk-17/bin/javac -source 11 -target 11 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar:/root/javafx/javafx.base.jar:/root/javafx/javafx.graphics.jar:/root/javafx/javafx.swing.jar -d /root/JavaX-Caches/tmp_886287620 /root/JavaX-Caches/tmp_113376210/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_113376210/main.java:1: error: class, interface, or enum expected concept CleanMoveStrategy extends G22TradingStrategy { ^ /root/JavaX-Caches/tmp_113376210/main.java:6: error: class, interface, or enum expected settable double minProfit = 0.5; ^ /root/JavaX-Caches/tmp_113376210/main.java:9: error: class, interface, or enum expected settable double callbackFactor = 1.5; ^ /root/JavaX-Caches/tmp_113376210/main.java:12: error: class, interface, or enum expected settable double maxPullback = 1; ^ /root/JavaX-Caches/tmp_113376210/main.java:15: error: class, interface, or enum expected settable double newMoveInterval = 30; ^ /root/JavaX-Caches/tmp_113376210/main.java:17: error: class, interface, or enum expected Set<LivePullbackToProfitAnalysis> ongoingMoves = syncLinkedHashSet(); ^ /root/JavaX-Caches/tmp_113376210/main.java:19: error: class, interface, or enum expected settable long lastMoveStarted; ^ /root/JavaX-Caches/tmp_113376210/main.java:21: error: class, interface, or enum expected S fieldsToReset() { ^ /root/JavaX-Caches/tmp_113376210/main.java:23: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_113376210/main.java:26: error: ';' expected settable CallbackJuicer juicer; ^ /root/JavaX-Caches/tmp_113376210/main.java:26: error: <identifier> expected settable CallbackJuicer juicer; ^ /root/JavaX-Caches/tmp_113376210/main.java:29: error: class, interface, or enum expected srecord ProfitBeforeLeverageJuiceable(Position p) is Juiceable { ^ /root/JavaX-Caches/tmp_113376210/main.java:30: error: class, interface, or enum expected public double juiceValue() { ret p.profitBeforeLeverage(); } ^ /root/JavaX-Caches/tmp_113376210/main.java:30: error: class, interface, or enum expected public double juiceValue() { ret p.profitBeforeLeverage(); } ^ /root/JavaX-Caches/tmp_113376210/main.java:35: error: class, interface, or enum expected currentPrice = price; ^ /root/JavaX-Caches/tmp_113376210/main.java:36: error: class, interface, or enum expected afterwards { ^ /root/JavaX-Caches/tmp_113376210/main.java:38: error: class, interface, or enum expected change(); ^ /root/JavaX-Caches/tmp_113376210/main.java:39: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_113376210/main.java:45: error: class, interface, or enum expected for (p : openPositions()) { ^ /root/JavaX-Caches/tmp_113376210/main.java:48: error: class, interface, or enum expected var strongest = highestBy(signals, s -> s.strength()); ^ /root/JavaX-Caches/tmp_113376210/main.java:49: error: class, interface, or enum expected if (strongest != null && strongest.isTrigger()) ^ /root/JavaX-Caches/tmp_113376210/main.java:51: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_113376210/main.java:56: error: class, interface, or enum expected if (time >= lastMoveStarted+fromSeconds(newMoveInterval)) { ^ /root/JavaX-Caches/tmp_113376210/main.java:58: error: class, interface, or enum expected for (isShort : ll(false, true)) ^ /root/JavaX-Caches/tmp_113376210/main.java:60: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_113376210/main.java:65: error: class, interface, or enum expected if (move.done()) ^ /root/JavaX-Caches/tmp_113376210/main.java:67: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_113376210/main.java:72: error: class, interface, or enum expected PullbackToProfit openReason = null; ^ /root/JavaX-Caches/tmp_113376210/main.java:74: error: class, interface, or enum expected for (move : ongoingMoves) ^ /root/JavaX-Caches/tmp_113376210/main.java:77: error: class, interface, or enum expected if (openReason.isShort) ^ /root/JavaX-Caches/tmp_113376210/main.java:79: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_113376210/main.java:81: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_113376210/main.java:85: error: class, interface, or enum expected else if (shouldShort || shouldLong) { ^ /root/JavaX-Caches/tmp_113376210/main.java:87: error: class, interface, or enum expected new Position p; ^ /root/JavaX-Caches/tmp_113376210/main.java:88: error: class, interface, or enum expected p.marginToUse = marginPerPosition; ^ /root/JavaX-Caches/tmp_113376210/main.java:89: error: class, interface, or enum expected var callbackRate = openReason.pullback*callbackFactor; ^ /root/JavaX-Caches/tmp_113376210/main.java:90: error: class, interface, or enum expected p.juicer = new CallbackJuicer(callbackRate); ^ /root/JavaX-Caches/tmp_113376210/main.java:91: error: class, interface, or enum expected p.juicer.juiceable(new ProfitBeforeLeverageJuiceable(p)); ^ /root/JavaX-Caches/tmp_113376210/main.java:92: error: class, interface, or enum expected openPosition(p, direction, openReason); ^ /root/JavaX-Caches/tmp_113376210/main.java:93: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_113376210/main.java:97: error: class, interface, or enum expected L<? extends Position> openPositions() { ret (L) super.openPositions(); } ^ /root/JavaX-Caches/tmp_113376210/main.java:104: error: class, interface, or enum expected } ^ 42 errors