Commit Graph

60 Commits

Author SHA1 Message Date
b3f3bccd72 Add delete backtests by filters 2025-10-15 00:28:25 +07:00
74adad5834 Add filters and sorting for backtests 2025-10-14 18:06:36 +07:00
b6a4c7661f Fix update agent Summary when new balance fetch 2025-10-11 13:10:47 +07:00
652c01b8bb Fix AgentName 2025-10-10 16:08:50 +07:00
b6b11be33a Fix perf with cache 2025-10-10 03:42:57 +07:00
85000644a6 Add ROI to botPaginated 2025-10-06 23:54:59 +07:00
746308bc4f Remove get best agent 2025-10-06 18:31:29 +07:00
dac0a9641f Fetch closed position to get last pnl realized 2025-10-05 23:31:17 +07:00
de0d042254 Use usdc balance instead usdc value for ensuring balance check 2025-10-05 01:36:25 +07:00
b473ad6ad8 Fix trades date 2025-10-04 16:47:22 +07:00
f72bfc4ab8 Update balance tracking 2025-10-03 16:43:20 +07:00
06850b57c4 Add BacktestCount 2025-10-01 13:01:03 +07:00
c71716d5c2 Get TotalAgentCount 2025-09-28 14:43:15 +07:00
a8d09c36b7 Update agent stats 2025-09-28 13:55:24 +07:00
bcfeb693ce Update account/position and platform summary 2025-09-26 01:18:59 +07:00
b2e38811ed Fix global PNL 2025-09-25 23:23:53 +07:00
c297429b18 Fix bot TOP 3 2025-09-25 11:08:28 +07:00
44846a1817 Fix update AgentName 2025-09-24 11:35:40 +07:00
d13ac9fd21 fix backtest below 10usdc + update trade 2025-09-22 23:56:45 +07:00
63bc7bbe59 Bundle from worker to grain 2025-09-15 12:56:59 +07:00
bac93199c0 Fix grain price fetcher 2025-09-14 15:49:49 +07:00
Oda
56b4f14eb3 Price reminder and init approval
* Start price reminder grain

* Add config and init grain at startup

* Save init wallet when already init
2025-09-13 02:29:14 +07:00
7c58e1d7d2 Add missing privy tokens 2025-08-17 01:45:13 +07:00
955c358138 Improve per on price update
Some checks failed
Build & Deploy / build-and-deploy (push) Has been cancelled
.NET / build (push) Has been cancelled
2025-08-16 17:02:31 +07:00
9841219e8b Remove workflow
Some checks failed
Build & Deploy / build-and-deploy (push) Has been cancelled
.NET / build (push) Has been cancelled
2025-08-16 01:33:15 +07:00
8eefab4597 Fix concurrent on userStrategies 2025-08-15 08:56:32 +07:00
b4a4656b3b Update the position count and initiator 2025-08-15 08:47:48 +07:00
2622da05e6 Update open interest 2025-08-14 23:53:45 +07:00
36529ae403 Fix db and fix endpoints 2025-08-05 22:30:18 +07:00
843239d187 Fix mediator 2025-08-05 17:31:10 +07:00
Oda
082ae8714b Trading bot grain (#33)
* Trading bot Grain

* Fix a bit more of the trading bot

* Advance on the tradingbot grain

* Fix build

* Fix db script

* Fix user login

* Fix a bit backtest

* Fix cooldown and backtest

* start fixing bot start

* Fix startup

* Setup local db

* Fix build and update candles and scenario

* Add bot registry

* Add reminder

* Updateing the grains

* fix bootstraping

* Save stats on tick

* Save bot data every tick

* Fix serialization

* fix save bot stats

* Fix get candles

* use dict instead of list for position

* Switch hashset to dict

* Fix a bit

* Fix bot launch and bot view

* add migrations

* Remove the tolist

* Add agent grain

* Save agent summary

* clean

* Add save bot

* Update get bots

* Add get bots

* Fix stop/restart

* fix Update config

* Update scanner table on new backtest saved

* Fix backtestRowDetails.tsx

* Fix agentIndex

* Update agentIndex

* Fix more things

* Update user cache

* Fix

* Fix account load/start/restart/run
2025-08-05 04:07:06 +07:00
Oda
422fecea7b Postgres (#30)
* Add postgres

* Migrate users

* Migrate geneticRequest

* Try to fix Concurrent call

* Fix asyncawait

* Fix async and concurrent

* Migrate backtests

* Add cache for user by address

* Fix backtest migration

* Fix not open connection

* Fix backtest command error

* Fix concurrent

* Fix all concurrency

* Migrate TradingRepo

* Fix scenarios

* Migrate statistic repo

* Save botbackup

* Add settings et moneymanagement

* Add bot postgres

* fix a bit more backups

* Fix bot model

* Fix loading backup

* Remove cache market for read positions

* Add workers to postgre

* Fix workers api

* Reduce get Accounts for workers

* Migrate synth to postgre

* Fix backtest saved

* Remove mongodb

* botservice decorrelation

* Fix tradingbot scope call

* fix tradingbot

* fix concurrent

* Fix scope for genetics

* Fix account over requesting

* Fix bundle backtest worker

* fix a lot of things

* fix tab backtest

* Remove optimized moneymanagement

* Add light signal to not use User and too much property

* Make money management lighter

* insert indicators to awaitable

* Migrate add strategies to await

* Refactor scenario and indicator retrieval to use asynchronous methods throughout the application

* add more async await

* Add services

* Fix and clean

* Fix bot a bit

* Fix bot and add message for cooldown

* Remove fees

* Add script to deploy db

* Update dfeeploy script

* fix script

* Add idempotent script and backup

* finish script migration

* Fix did user and agent name on start bot
2025-07-27 20:42:17 +07:00
27c1e9d1ba Fix worker and signal 2025-07-21 23:30:54 +07:00
0870edee61 Setup bundle for backtest 2025-07-21 00:01:13 +07:00
fd117f9a2f Delete backtest by request id 2025-07-18 19:34:16 +07:00
27bed791c3 Add backtest light 2025-07-17 05:19:16 +07:00
b547c01787 update pagination 2025-07-16 21:37:05 +07:00
f51fd5a5f7 pagination for backtest and optimization 2025-07-16 14:27:07 +07:00
79f0cd20c1 Delete backtest by id and with filters 2025-07-11 22:05:46 +07:00
e43a1af5ef Fix genetic backend 2025-07-11 14:11:41 +07:00
0b4f2173e0 Add Genetic workers 2025-07-10 19:15:57 +07:00
Oda
a547c4a040 Add synthApi (#27)
* Add synthApi

* Put confidence for Synth proba

* Update the code

* Update readme

* Fix bootstraping

* fix github build

* Update the endpoints for scenario

* Add scenario and update backtest modal

* Update bot modal

* Update interfaces for synth

* add synth to backtest

* Add Kelly criterion and better signal

* Update signal confidence

* update doc

* save leaderboard and prediction

* Update nswag to generate ApiClient in the correct path

* Unify the trading modal

* Save miner and prediction

* Update messaging and block new signal until position not close when flipping off

* Rename strategies to indicators

* Update doc

* Update chart + add signal name

* Fix signal direction

* Update docker webui

* remove crypto npm

* Clean
2025-07-03 00:13:42 +07:00
0f7df04813 Rename strategy to indicators 2025-06-16 22:09:23 +07:00
1cfb83f0b1 Add Agent tracking balance 2025-05-16 22:30:18 +07:00
549c4ae746 Add initAddress api 2025-05-10 14:41:17 +07:00
Oda
7c38c27b4a Fixes for bots running (#22)
* Fixes for bots running

* Up botmanager

* Add cooldown

* Refact can open position

* Add cooldown Period and MaxLossStreak

* Add agentName

* Add env variable for botManager

* Always enable Botmanager

* Fix bot handle

* Fix get positions

* Add Ticker url

* Dont start stopped bot

* fix
2025-05-09 22:40:31 +07:00
bc1ef78747 Fix worker cancelled on worker + Cache tickers 2025-04-30 13:19:03 +07:00
6579bbc06f Add manual close for bot positions 2025-04-25 17:33:38 +07:00
76b8b7ebb6 Fix bots + positions managements 2025-04-23 19:36:26 +02:00
868c7bdb65 Fix getbalance + fix get orders for bot 2025-04-21 12:15:53 +02:00