Commit Graph

80 Commits

Author SHA1 Message Date
49b0f7b696 Fix restart with no accountName 2025-10-12 16:28:53 +07:00
ff74296c26 Fix restart/start if not account with the first account of the user 2025-10-12 16:08:12 +07:00
d71d47f644 Add reason when stopping bot 2025-10-10 23:31:32 +07:00
76b087a6e4 Fix status and filtered positions for metrics 2025-10-08 18:37:38 +07:00
86dd6849ea Fix status IsFinished/IsOpen/IsForMetrics + use redis for markets on gmx.tsx instead of inmemory cache 2025-10-08 12:13:04 +07:00
67065469a6 Fix config update + remove messages + Summary fix for not open position 2025-10-08 02:52:11 +07:00
ff7e4ed3d3 un-stopped bot return status "stopped" instead of the error 2025-10-07 16:10:14 +07:00
85000644a6 Add ROI to botPaginated 2025-10-06 23:54:59 +07:00
347c78afc7 Update messaging 2025-10-06 01:34:13 +07:00
dab4807334 Fix Runtime 2025-10-06 00:55:18 +07:00
1b060fb145 Fix update strategy name into db 2025-10-05 21:31:42 +07:00
4aad20b30b Fix status bot allocation start/restart 2025-10-05 02:21:44 +07:00
cad70799b5 Allocation only for running bot 2025-10-05 02:07:20 +07:00
3581607375 Fix Usdc.Value to amount 2025-10-05 01:53:50 +07:00
de0d042254 Use usdc balance instead usdc value for ensuring balance check 2025-10-05 01:36:25 +07:00
63683d6bdf Fix allocated amount when no bot 2025-10-05 01:00:47 +07:00
6928770da7 Block user to create strategy with over allocation 2025-10-03 16:14:24 +07:00
7c13ad5f06 Update Agent balance tracking 2025-10-03 15:30:39 +07:00
f041c1e8e8 Add net Pnl in db 2025-09-28 22:18:58 +07:00
16a56bd26c Add agent fees 2025-09-28 20:57:42 +07:00
bcfeb693ce Update account/position and platform summary 2025-09-26 01:18:59 +07:00
c297429b18 Fix bot TOP 3 2025-09-25 11:08:28 +07:00
40f3c66694 Add ETH and USDC balance check before start/restart bot and autoswap 2025-09-23 14:03:46 +07:00
d2dbee9a5f Fix unsubscribe + reduce bot update db query 2025-09-15 00:42:24 +07:00
b0d2dcc6b9 Reduce Agent Summary call 2025-09-15 00:19:21 +07:00
0a2b7aa335 fix concurrent 2025-08-14 18:11:22 +07:00
6a2e4e81b1 Update status to match UI 2025-08-14 18:08:31 +07:00
e4049045c3 Fix concurrency 2025-08-14 17:49:05 +07:00
aacb92018f Update cache for userStrategy details 2025-08-14 17:42:07 +07:00
93a6f9fd9e Stop all bot for a user 2025-08-06 16:03:42 +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
843239d187 Fix mediator 2025-08-05 17:31:10 +07:00
6c63b80f4a Fix get online agentnames 2025-08-05 05:09:50 +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
6cd28a4edb Return only online agent name 2025-07-31 15:55:03 +07:00
c454e87d7a Add new endpoint for the agent status 2025-07-30 22:36:49 +07:00
Oda
3de8b5e00e Orlean (#32)
* Start building with orlean

* Add missing file

* Serialize grain state

* Remove grain and proxies

* update and add plan

* Update a bit

* Fix backtest grain

* Fix backtest grain

* Clean a bit
2025-07-30 16:03:30 +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
14b3a3c39a Fix stop/restart 2025-07-10 12:53:59 +07:00
0c1184a22d Add startuptime and update creationDate 2025-07-09 18:30:23 +07:00
a17b780731 Update tg message 2025-07-06 15:59:39 +07:00
b7f608c8ba Update bot messages 2025-07-05 15:35:07 +07:00
2d295fc860 Fix front and backtest 2025-07-04 13:14:12 +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
26098d8c42 Update bot name 2025-06-09 02:00:33 +07:00
9b643aced6 clean scalpingbot 2025-06-05 10:28:03 +07:00
6441687df3 More fix 2025-06-05 01:17:15 +07:00
973a8c7c61 Update config 2025-06-04 23:15:50 +07:00