Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

498
LINES

< > BotCompany Repo | #1036257 // Corridor - backup used in the real-money experiment

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (25749L/159K).

java.lang.RuntimeException: Unknown token 2: <: 
Warning: session_start(): open(/var/lib/php/sessions/sess_nnhtf4nv22lmop6u7mpn91oksu, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
{"1000658":"print function (=System.out.println + logging in memory)","1000659":"fail functions (improved)","1000801":"now function","1001518":"l function (synonym of length), length of arrays, strings, lists, size of maps","1001664":"max function","1001741":"or function","1002348":"nempty - not empty","1003524":"filter","1005546":"reversed - short for reversedList \/ reversedString","1005824":"sign - return -1, 0 or 1 depending on sign of value (takes double or long, returns int)","1006407":"firstThat - find first element in list that matches a predicate","1006902":"llNonNulls - literal list, include only non-null elements","1009156":"joinWithComma - join with \", \" separator","1009371":"dynamicObjectIsLoading","1009832":"change - indicate change in mainConcepts","1010070":"upper - synonym of toUpper","1010594":"isNaN","1012632":"n2 - n2(3, \"item\") => \"3 items\". Also n2(1234) = \"1,234\"","1013362":"close","1019120":"class DoubleRange - range of doubles (start\/end)","1020422":"formatLocalDateWithSeconds - synonym of localDateWithSeconds","1022895":"forEach","1024021":"with - synonym of withComputing","1024580":"doubleRange - construct DoubleRange","1025079":"doubleMax","1025243":"log - natural logarithm or logarithm with base","1026270":"shallowCloneToUnlistedConcept","1030115":"doubleMin","1030554":"mapToDoubleArray","1030677":"formatHoursMinutesColonSeconds - format a duration. hour is optional","1031080":"toPersistableThrowable - synonym of persistableThrowable","1032239":"step","1032944":"commaCombine","1032976":"spaceCombine","1033262":"formatDouble2 - format made with up to 2 digits","1033268":"formatDouble3 - format made with up to 1 digit","1035506":"asPercentIncrease ","1035733":"colonCombine (spaced colon)","1035828":"listCombine - synonym of flattenToList","1036196":"Corridor","1036198":"trading_directionToPositionType","1036205":"PriceCells - defines fixed price levels (finitely or infinitely many)","1036209":"G22TradingStrategy","1036210":"HoldSide","1036214":"GeometricPriceCells - infinitely many price cells at a constant ratio between adjacent prices","1036216":"formatPercentage","1036218":"formatPrice - formats with 6 significant digits","1036219":"IFuturesMarket - interface to a single market (e.g. ETHUSDT)","1036227":"PriceDigitizer2","1036228":"diffRatio","1036229":"roundTo - unintuitive argument order","1036230":"plusMinusFix","1036232":"resetFields","1036240":"formatMarginPrice - for USDT etc"} at main.fail(m1008705.java:1589) at main$jsonDecode_Y.fail_base(m1008705.java:14008) at main$jsonDecode_Y.fail(m1008705.java:14006) at main$jsonDecode_Y.parseExpr(m1008705.java:14058) at main$jsonDecode_Y.parse(m1008705.java:14012) at main.jsonDecode(m1008705.java:13990) at main.jsonDecodeMap(m1008705.java:12844) at main.getSnippetTitles(m1008705.java:10820) at main$JavaXHyperlinker.codeToHTML(m1008705.java:6209) at main.html2(m1008705.java:85) at main.html(m1008705.java:67) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at main.invokeMethod(m1008705.java:1601) at main.callOpt_withVarargs(m1008705.java:4387) at main.callOpt(m1008705.java:3326) at main.callHtmlMethod2(m1008705.java:11404) at main$MyHTTPD$1.get(m1008705.java:7337) at main$MyHTTPD$1.get(m1008705.java:1) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at main.invokeMethod(m1008705.java:1601) at main.safeCallF(m1008705.java:642) at main.callF(m1008705.java:611) at main$MyHTTPD.serve(m1008705.java:7373) at main$NanoHTTPD.serve_2(m1008705.java:9572) at main$NanoHTTPD.serve(m1008705.java:9553) at main$NanoHTTPD$HTTPSession.execute(m1008705.java:8453) at main$NanoHTTPD$ClientHandler.run(m1008705.java:7829) at java.base/java.lang.Thread.run(Thread.java:833)

Author comment

Began life as a copy of #1036196

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

-
Snippet ID: #1036257
Snippet name: Corridor - backup used in the real-money experiment
Eternal ID of this version: #1036257/2
Text MD5: a8ece345d4f92a456d8983d17960f1ee
Transpilation MD5: 66ca43f9d3185ce1fd51b7e67bc4f158
Author: stefan
Category: javax / gazelle 22
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-11-05 20:13:22
Source code size: 15569 bytes / 498 lines
Pitched / IR pitched: No / No
Views / Downloads: 570 / 683
Version history: 1 change(s)
Referenced in: