Commit Graph

171 Commits

Author SHA1 Message Date
289fd25dc3 Add agent balance fetch from proxy 2025-08-15 20:52:37 +07:00
cd93dede4e Add agentbalance 2025-08-15 19:35:01 +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
7528405845 update stats data 2025-08-15 07:42:26 +07:00
2622da05e6 Update open interest 2025-08-14 23:53:45 +07:00
4a45d6c970 Add platform grain 2025-08-14 19:44:33 +07:00
cfb04e9dc9 Fix concurrent 2025-08-14 18:31:44 +07:00
6a2e4e81b1 Update status to match UI 2025-08-14 18:08:31 +07:00
36529ae403 Fix db and fix endpoints 2025-08-05 22:30:18 +07:00
2dcbcc3ef2 Clear a bit more 2025-08-05 19:34:42 +07:00
3d3f71ac7a Move workers 2025-08-05 17:53:19 +07:00
843239d187 Fix mediator 2025-08-05 17:31:10 +07:00
2f1abb3f05 Add new migration 2025-08-05 04:34:54 +07:00
05d44d0c25 Update index 2025-08-05 04:18:02 +07:00
434f61f2de Clean migration 2025-08-05 04:13:02 +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
5427c8a971 Update backtest bundle 2025-07-22 00:14:50 +07:00
27c1e9d1ba Fix worker and signal 2025-07-21 23:30:54 +07:00
6f49f2659f Add bundle backtest 2025-07-21 17:03:27 +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
7de18673f9 Add scoreMessage 2025-07-17 21:07:10 +07:00
e27b4c4a76 Add scoring message 2025-07-17 15:57:51 +07:00
27bed791c3 Add backtest light 2025-07-17 05:19:16 +07:00
6a634eafaa Update get backtests 2025-07-17 04:40:18 +07:00
73ddbb0711 Update DTO 2025-07-17 00:25:47 +07:00
1e1b8b34c1 Add attribute to finalPnl 2025-07-16 22:29:29 +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
cebbeff887 Add progression and new method of selection/mutation/crossover 2025-07-11 23:38:22 +07:00
79f0cd20c1 Delete backtest by id and with filters 2025-07-11 22:05:46 +07:00
47ef0cf2d5 Add metadata to backtest 2025-07-11 17:56:03 +07:00
c62570e15d Add enum for Selection method 2025-07-11 17:15:11 +07:00
e43a1af5ef Fix genetic backend 2025-07-11 14:11:41 +07:00
551480d618 Update genetic impl 2025-07-10 22:07:21 +07:00
0b4f2173e0 Add Genetic workers 2025-07-10 19:15:57 +07:00
d07fc4b1e1 Fix bot dto 2025-07-10 15:14:03 +07:00
387948a107 Remove candle from getBacktestsForUser 2025-07-09 16:55:47 +07:00
daef7ddcfc Fix backtest delete and save 2025-07-05 12:21:32 +07:00
c9959f7550 add dto 2025-07-04 11:06:31 +07:00
59c5de7df7 Push merge conflict 2025-07-04 11:02:53 +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
64183fface Update user 2025-06-09 01:48:04 +07:00
1f2780d52a Add webhook 2025-06-09 01:04:02 +07:00
2ee1322ba0 Fix Get agent balance 2025-05-20 22:42:06 +07:00
1cfb83f0b1 Add Agent tracking balance 2025-05-16 22:30:18 +07:00
621a5a745e Add user avatar URL 2025-05-13 11:31:03 +07:00