From 586016ba6f18668cc9f7948ee601541a6aebd716 Mon Sep 17 00:00:00 2001 From: "copybot[bot]" Date: Sun, 12 Jul 2026 14:21:43 +0000 Subject: [PATCH] copybot: live paper feed [skip ci] --- copybot_fills.jsonl | 2 ++ copybot_state.json | 54 ++++++++++++++++-------------------------- live/copybot_live.json | 38 +++++++++++++++-------------- rtds_shadow.jsonl | 2 ++ 4 files changed, 44 insertions(+), 52 deletions(-) diff --git a/copybot_fills.jsonl b/copybot_fills.jsonl index 66842308..7a4f8091 100644 --- a/copybot_fills.jsonl +++ b/copybot_fills.jsonl @@ -363,3 +363,5 @@ {"ts": 1783864402.4, "wallet": "0xd7d36345c4aab150e59577e360696b01d01d698b", "token": "99894914207898514284631305777217402140704104471002518113888183892335214453642", "name": "gkmgkldfmg", "outcome": "OG", "title": "Dota 2: OG vs Virtus.pro - Game 2 Winner", "detect_lag_s": 3.4, "their_price": 0.52, "my_price": 0.5, "slippage_pct": -0.0385, "shares": 188.05, "cost": 94.02, "fee": 1.4104, "mode": "paper", "book": {"bb": 0.5, "ba": 0.52, "spread": 0.02, "bid5c": 11503.46, "ask5c": 7873.02}} {"ts": 1783865323.5, "wallet": "0xd7d36345c4aab150e59577e360696b01d01d698b", "token": "81729627908647113838238535400683468580916119670288864624921465071586268502282", "name": "gkmgkldfmg", "outcome": "Team Yandex", "title": "Dota 2: 1win vs Team Yandex - Game 2 Winner", "detect_lag_s": 0.5, "their_price": 0.75, "my_price": 0.74, "slippage_pct": -0.0133, "shares": 126.98, "cost": 93.97, "fee": 0.733, "mode": "paper", "book": {"bb": 0.74, "ba": 0.75, "spread": 0.01, "bid5c": 319.55, "ask5c": 23022.85}} {"ts": 1783865687.0, "side": "SELL", "token": "81729627908647113838238535400683468580916119670288864624921465071586268502282", "shares": 21.7401, "price": 0.9, "fee": 0.0587, "mode": "paper"} +{"ts": 1783866040.1, "side": "SELL", "token": "99894914207898514284631305777217402140704104471002518113888183892335214453642", "shares": 188.0496, "price": 0.41, "fee": 1.3647, "mode": "paper"} +{"ts": 1783866067.6, "side": "SELL", "token": "81729627908647113838238535400683468580916119670288864624921465071586268502282", "shares": 105.244, "price": 1.0, "fee": 0.0, "mode": "paper"} diff --git a/copybot_state.json b/copybot_state.json index a87407ef..284c2240 100644 --- a/copybot_state.json +++ b/copybot_state.json @@ -344,6 +344,7 @@ "0xc839158a18b7397b557b7324a2813c03a3e9158fa6eeac45b7e5ef49b8466655", "0xf1c26e78d7caba5504ef6d5334cf6234e33b3255b9be465eaf471c951b6e06e2", "0x6cb323b020f8882c59b4facd0ca950b42bd670ab762ff03b70bbc8567a8a9cd2", + "0x3012d78e33a8216895c3259bf34bf7618be3cd848915df0bd0acd17af0e1e72c", "0x929c69b409c1c2dfc2b0c6f3d84b8360af9d83e9270d5d1d2ac8d7749eb96a66", "0xf2826b8771b05121fcd19479906d1a27b98785a50e12a64d8a15b0a6cd76deea", "0xf91a42ea13d1bb4ddbc95c48f4c3c44453418c86aa4988ec262fa1a767ec65fd", @@ -1286,6 +1287,7 @@ "0x26b28a09b0f1b4267747c5544ab9ce5ea27321b3a8c922bbf13a06e89591fa82", "0x669f7cc41ee26fc89414aad19cb68b3547a1ec6f0a26bc822e5b23887dac66b8", "0x9d48b902525f48462028ba787338f28b716ff09a372a1d1a6b21b1436cc0197f", + "0x065157bf7e55affea6c0f9627434599b31a12984bf15770f3ae333769df87c7d", "0x4ab8b7e603d4b7c39eab17491feeba59c746d53b286e4d9b3a9d788393aa0070", "0x1f71e4b8fbac524494f1645f88324e5cad8523f077a729c311f93a041ec6e2db", "0x1ad65f722e5a72b20250df698444351ae455febdee89503bf7d2304f5253c5ff", @@ -4213,8 +4215,8 @@ "307529025202586833979526819648497003008876078326197368134840608701258822521": 0.0, "13522984739341787711630299374858298769520204179511086795487722642094533431850": 0.0, "84502716136213781728963328899707683260350624645362486645725504535263198032073": 608.261618, - "81729627908647113838238535400683468580916119670288864624921465071586268502282": 3139.0064, - "99894914207898514284631305777217402140704104471002518113888183892335214453642": 961.5384 + "81729627908647113838238535400683468580916119670288864624921465071586268502282": 0.006400000000212458, + "99894914207898514284631305777217402140704104471002518113888183892335214453642": 0.0 }, "0x921433c93558b9a4ba807ec824d02aad7ea2ddbf": { "113186575675900877797300695454355745875377602467971187276073118459901699932154": 767.49, @@ -5823,24 +5825,6 @@ "event": "kor-jej-dae1-2026-07-12", "wallet": "0x41558102a796ba971c7567cad41c307e59f8fa41", "cond": "0xba7e1244bc3dabb6c38a128dcf7522104172e8b3a354aa711643c11064e56bf1" - }, - "99894914207898514284631305777217402140704104471002518113888183892335214453642": { - "shares": 188.0496187076721, - "cost": 94.02480935383605, - "title": "Dota 2: OG vs Virtus.pro - Game 2 Winner", - "outcome": "OG", - "event": "dota2-og-vp-2026-07-12", - "wallet": "0xd7d36345c4aab150e59577e360696b01d01d698b", - "cond": "0x7596ba50d124202d21f9b3695ad1e5611fd2f5db2cc7696d40cf2c198e806f73" - }, - "81729627908647113838238535400683468580916119670288864624921465071586268502282": { - "shares": 105.24423195327223, - "cost": 77.88073164542146, - "title": "Dota 2: 1win vs Team Yandex - Game 2 Winner", - "outcome": "Team Yandex", - "event": "dota2-1win-ty-2026-07-12", - "wallet": "0xd7d36345c4aab150e59577e360696b01d01d698b", - "cond": "0xa4807375ad750023e039c1a666413760e915ab367d2bfc57034bc5d631775d07" } }, "spend": { @@ -5925,13 +5909,13 @@ "99894914207898514284631305777217402140704104471002518113888183892335214453642": "0x7596ba50d124202d21f9b3695ad1e5611fd2f5db2cc7696d40cf2c198e806f73", "81729627908647113838238535400683468580916119670288864624921465071586268502282": "0xa4807375ad750023e039c1a666413760e915ab367d2bfc57034bc5d631775d07" }, - "cash": 1860.6411296191277, + "cash": 2041.6208145811477, "lag": { "n": 98, "sum_s": 3340.0518131256104, "sum_slip_pct": -5.037805093468396 }, - "fees_paid": 165.777643071631, + "fees_paid": 167.14231915459257, "lag_recent": [ [ 1783779827.4, @@ -7871,10 +7855,12 @@ "cost": 94.02, "fee": 1.4104, "opened": 1783864399, - "status": "open", - "exit_price": null, - "pnl": null, - "settled": null + "status": "closed", + "exit_price": 0.4027, + "pnl": -19.69, + "settled": 1783866042, + "sold_shares": 188.0496187076721, + "sold_proceeds": 75.73566758718397 }, "81729627908647113838238535400683468580916119670288864624921465071586268502282": { "token": "81729627908647113838238535400683468580916119670288864624921465071586268502282", @@ -7889,17 +7875,17 @@ "cost": 93.97, "fee": 0.733, "opened": 1783865323, - "status": "open", - "exit_price": null, - "pnl": null, - "settled": null, - "sold_shares": 21.740084895678773, - "sold_proceeds": 19.507378176892562 + "status": "closed", + "exit_price": 0.9824, + "pnl": 30.05, + "settled": 1783866067, + "sold_shares": 126.98410227051481, + "sold_proceeds": 124.75139555172859 } }, "hwm": 2548.9580606723184, - "feed_sig": "7952fd8e4686e0eedb7a67fa507646b3", - "feed_pushed_at": 1783865600.2289925, + "feed_sig": "f311573781a155271134682721e056c0", + "feed_pushed_at": 1783865976.807315, "missed": [ { "ts": 1783590977, diff --git a/live/copybot_live.json b/live/copybot_live.json index b7a9936d..3de0b2d9 100644 --- a/live/copybot_live.json +++ b/live/copybot_live.json @@ -1,18 +1,18 @@ { "mode": "paper", "bankroll": 1000.0, - "stake": 94.08, + "stake": 94.44, "stake_pct": 0.04, "event_cap": 0, "hwm": 2548.96, - "cash": 1860.64, - "deployed": 491.26, + "cash": 2041.62, + "deployed": 319.35, "reserve": 0.0, - "realized": 1351.87, + "realized": 1360.94, "adjustments": 0.03, - "ledger_drift": 0.01, - "open_count": 9, - "fees_paid": 165.78, + "ledger_drift": 0.0, + "open_count": 7, + "fees_paid": 167.14, "fee_rate": 0.03, "lag": { "n": 98, @@ -62,12 +62,12 @@ "cost": 93.97, "fee": 0.73, "opened": 1783865323, - "status": "open", - "exit_price": null, - "pnl": null, - "settled": null, - "sold_shares": 21.74, - "sold_proceeds": 19.51 + "status": "closed", + "exit_price": 0.9824, + "pnl": 30.05, + "settled": 1783866067, + "sold_shares": 126.98, + "sold_proceeds": 124.75 }, { "token": "99894914207898514284631305777217402140704104471002518113888183892335214453642", @@ -82,10 +82,12 @@ "cost": 94.02, "fee": 1.41, "opened": 1783864399, - "status": "open", - "exit_price": null, - "pnl": null, - "settled": null + "status": "closed", + "exit_price": 0.4027, + "pnl": -19.69, + "settled": 1783866042, + "sold_shares": 188.05, + "sold_proceeds": 75.74 }, { "token": "13522984739341787711630299374858298769520204179511086795487722642094533431850", @@ -2848,5 +2850,5 @@ } ], "missed_pnl": -339.31, - "updated": 1783865687 + "updated": 1783866067 } \ No newline at end of file diff --git a/rtds_shadow.jsonl b/rtds_shadow.jsonl index 05e7f699..27b3071f 100644 --- a/rtds_shadow.jsonl +++ b/rtds_shadow.jsonl @@ -732,3 +732,5 @@ {"ts": 1783865573.72, "trade_ts": 1783865573, "lat_s": 0.72, "wallet": "0xd7d36345c4aab150e59577e360696b01d01d698b", "name": "gkmgkldfmg", "side": "BUY", "size": 266.666665, "price": 0.7499999971875, "title": "Dota 2: 1win vs Team Yandex - Game 2 Winner", "tx": "0xd64ca46a90bcfb4b33d5ea104770c495cbdfa4e52256ab811d95ab25ba8fdc21", "seen": false} {"ts": 1783865573.91, "trade_ts": 1783865573, "lat_s": 0.91, "wallet": "0xd7d36345c4aab150e59577e360696b01d01d698b", "name": "gkmgkldfmg", "side": "BUY", "size": 265.673154, "price": 0.7528046924906835, "title": "Dota 2: 1win vs Team Yandex - Game 2 Winner", "tx": "0xa0b2c287a0a6f4cf378ec551fb9b15596e58789ce68ea07713dc5f3290a9cd30", "seen": false} {"ts": 1783865685.53, "trade_ts": 1783865685, "lat_s": 0.52, "wallet": "0xd7d36345c4aab150e59577e360696b01d01d698b", "name": "gkmgkldfmg", "side": "SELL", "size": 593.333332, "price": 0.8999999986516855, "title": "Dota 2: 1win vs Team Yandex - Game 2 Winner", "tx": "0x6901d1b9a21a9628ca5a55825357532112e172e347d764cb7ad691e51b4c0a97", "seen": false} +{"ts": 1783865747.65, "trade_ts": 1783865747, "lat_s": 0.65, "wallet": "0xd7d36345c4aab150e59577e360696b01d01d698b", "name": "gkmgkldfmg", "side": "SELL", "size": 961.53, "price": 0.4503168907886389, "title": "Dota 2: OG vs Virtus.pro - Game 2 Winner", "tx": "0x3012d78e33a8216895c3259bf34bf7618be3cd848915df0bd0acd17af0e1e72c", "seen": false} +{"ts": 1783866066.41, "trade_ts": 1783866066, "lat_s": 0.41, "wallet": "0xd7d36345c4aab150e59577e360696b01d01d698b", "name": "gkmgkldfmg", "side": "SELL", "size": 3139, "price": 0.999, "title": "Dota 2: 1win vs Team Yandex - Game 2 Winner", "tx": "0x065157bf7e55affea6c0f9627434599b31a12984bf15770f3ae333769df87c7d", "seen": false}