Commit Graph

25 Commits

Author SHA1 Message Date
1f7d914625 Add cancellation token support to backtest execution and update progress handling 2025-11-13 18:05:55 +07:00
e8e2ec5a43 Add test for executor 2025-11-11 02:15:57 +07:00
ecf07a7863 Fix genetic db connection pool 2025-11-10 02:40:00 +07:00
7e52b7a734 Improve workers for backtests 2025-11-10 01:44:33 +07:00
7e08e63dd1 Add genetic backtest to worker 2025-11-09 03:32:08 +07:00
900405b3de Add genetic grain 2025-09-17 17:35:53 +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
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
259e479b18 Fix random SL to respect RR 2025-07-18 19:00:35 +07:00
13aa681c2b Update clamping for backtest 2025-07-18 13:51:10 +07:00
a70b9f6e1a Update fitness stagnation and fitness calculation based on score 2025-07-18 05:38:06 +07:00
9c4b5b7877 Update genetics 2025-07-18 05:15:51 +07:00
da48ee37ba Update genetic algo to select more indicators 2025-07-17 15:27:08 +07:00
cebbeff887 Add progression and new method of selection/mutation/crossover 2025-07-11 23:38:22 +07:00
90253f8953 Update indicators range 2025-07-11 21:02:49 +07:00
754a21da69 Update scoring system 2025-07-11 20:58:28 +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
f720cb7321 Update genetic front 2025-07-11 14:50:53 +07:00
e43a1af5ef Fix genetic backend 2025-07-11 14:11:41 +07:00
c6b13ffd1e Update genetic 2025-07-11 00:14:50 +07:00
551480d618 Update genetic impl 2025-07-10 22:07:21 +07:00
2fc7a1d4bb Start impl for genetic 2025-07-10 21:33:24 +07:00
0b4f2173e0 Add Genetic workers 2025-07-10 19:15:57 +07:00