Crypto trading bot: engine, brokers, backtester, dashboard, deploy
CI/CD / backend (push) Successful in 5m18s
CI/CD / frontend (push) Successful in 5m2s
CI/CD / build (push) Successful in 34s
CI/CD / cleanup (push) Successful in 6s
CI/CD / deploy (push) Successful in 22s

FastAPI backend with a single-strategy async engine, paper and Binance
brokers, pure-python indicators, a backtester that shares the engine's
portfolio math, and a Vue dashboard with a live WebSocket feed. Adds the
Gitea Actions CI/CD workflow that deploys to Traefik via docker_default.
This commit is contained in:
matitos committed 2026-09-18 17:02:33 +00:00
1 parent 98028248c2
commit 9c3bee87ac
73 files changed
+9759 -1

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
<script setup>
import { fmtTime } from '../format'
defineProps({
events: { type: Array, required: true },
})
const levelClass = {
info: 'text-slate-300',
trade: 'text-sky-300',
error: 'text-rose-300',
}
</script>
<template>
<div class="card">
<h2 class="mb-3 font-semibold">Activity</h2>
<div class="max-h-72 space-y-1 overflow-y-auto font-mono text-xs">
<div v-for="e in events" :key="e.id" class="flex gap-2 border-b border-edge/40 py-1">
<span class="shrink-0 text-slate-500">{{ fmtTime(e.created_at) }}</span>
<span class="shrink-0" :class="levelClass[e.level] || 'text-slate-300'">[{{ e.level }}]</span>
<span :class="levelClass[e.level] || 'text-slate-300'">{{ e.message }}</span>
</div>
<div v-if="!events.length" class="py-6 text-center text-slate-500">No activity yet</div>
</div>
</div>
</template>