Commit Graph

172 Commits

Author SHA1 Message Date
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
5fabfbfadd fix backtest credit 2025-07-31 20:58:37 +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
84f3e91dc6 Try fixing orleans server runtime 2025-07-30 20:44:58 +07:00
1071730978 Fix solution build 2025-07-30 20:37:24 +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
598d601011 Fix pnl calculation after position closed 2025-07-23 03:55:47 +07:00
29c960eeca Update markets 2025-07-23 02:39:23 +07:00
9639e3a56b Preload since first position if any 2025-07-23 02:09:10 +07:00
27c1e9d1ba Fix worker and signal 2025-07-21 23:30:54 +07:00
83ed78a1fa Add signalr 2025-07-21 19:54:04 +07:00
6f49f2659f Add bundle backtest 2025-07-21 17:03:27 +07:00
4c07d7323f Remove time limit message 2025-07-19 21:48:57 +07:00
fd117f9a2f Delete backtest by request id 2025-07-18 19:34:16 +07:00
cb031522b4 Add penality for bad risk reward 2025-07-18 19:19:22 +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
bb3891c95e Reduce score for notification 2025-07-18 05:41:07 +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
59c1fd5509 Update time between message for time limit 2025-07-17 23:00:15 +07:00
0a4acf9b9a Backtest stop when balance below 10usd 2025-07-17 22:57:13 +07:00
6873e570c1 Update minimum score for notification 2025-07-17 22:54:56 +07:00
03a4e179f7 Fix Wallet balances 2025-07-17 22:29:13 +07:00
0ea05bca50 Update scoring 2025-07-17 22:07:13 +07:00
7bf7f783a9 Update scoring 2025-07-17 21:53:19 +07:00
7de18673f9 Add scoreMessage 2025-07-17 21:07:10 +07:00
d40ee7a86e Reduce timelimit message for open position 2025-07-17 16:59:46 +07:00
e27b4c4a76 Add scoring message 2025-07-17 15:57:51 +07:00
da48ee37ba Update genetic algo to select more indicators 2025-07-17 15:27:08 +07:00
3ba06f94be Update backtest message 2025-07-17 15:01:30 +07:00
27bed791c3 Add backtest light 2025-07-17 05:19:16 +07:00
4b18d43b3f Update payload 2025-07-17 01:59:37 +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
11778aa2a4 Add kaigen debit credit for backtest 2025-07-15 10:31:21 +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
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