Baseline: Ausgangszustand vor Modularisierung
Erster Commit des bestehenden monolithischen WinForms-Copytraders, inklusive der Alt-Backups (*.bak), damit diese dauerhaft in der Historie rekonstruierbar bleiben. Threema-Lib unter libs/ wurde vendored (nested .git entfernt). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import json
|
||||
|
||||
log_path = r"J:\Softwareprojekte\PolytraderSharp\PolyTraderSharp\bin\Debug\net8.0-windows7.0\Logs\28-03-2026-Debug.log"
|
||||
|
||||
with open(log_path, 'r', encoding='utf-8', errors='ignore') as f:
|
||||
for line in f:
|
||||
if "14:15:" in line or "14:16:" in line or "14:17:" in line:
|
||||
if "CLOB-PAYLOAD" in line:
|
||||
try:
|
||||
json_str = line.split("->")[1].strip()
|
||||
payload = json.loads(json_str)
|
||||
order = payload.get("order", {})
|
||||
print(f"[{line[:10]}] SIDE: {order.get('side')} | MAKER: {order.get('makerAmount')} | TAKER: {order.get('takerAmount')} | TYPE: {order.get('signatureType')} | TOKEN: {str(order.get('tokenId'))[:10]}...")
|
||||
except Exception as e:
|
||||
pass
|
||||
Reference in New Issue
Block a user