Commit Graph

63 Commits

Author SHA1 Message Date
d341ee05c9 Add more tests + Log pnl for each backtest 2025-11-14 13:12:04 +07:00
2548e9b757 Fix all tests 2025-11-14 04:03:00 +07:00
17d904c445 Fix test assert 2025-11-13 12:46:55 +07:00
d8f7a73605 Update test 2025-11-13 00:55:14 +07:00
1d70355617 Optimze worker for backtest 2025-11-11 03:59:41 +07:00
e8e2ec5a43 Add test for executor 2025-11-11 02:15:57 +07:00
7e08e63dd1 Add genetic backtest to worker 2025-11-09 03:32:08 +07:00
7dba29c66f Add jobs 2025-11-09 02:08:31 +07:00
abd5eb675c Re-update internal balance before opening position 2025-10-27 10:25:45 +07:00
38e6998ff3 Add test to check if backtest behavior changed 2025-10-24 19:08:10 +07:00
7ddde08b98 Fix % formating for SL TP 2025-10-12 01:13:00 +07:00
ffb98fe359 Fix update agent save + revert market in redis 2025-10-08 21:32:48 +07:00
06850b57c4 Add BacktestCount 2025-10-01 13:01:03 +07:00
16a56bd26c Add agent fees 2025-09-28 20:57:42 +07:00
d432549d26 Clean and update event 2025-09-27 22:20:12 +07:00
bcfeb693ce Update account/position and platform summary 2025-09-26 01:18:59 +07:00
9bdfb989c1 Fix ROI 2025-09-24 01:19:10 +07:00
931c4661dc Fix get current price 2025-09-20 16:20:47 +07:00
841bb20800 Reduce API call when fetching new candles 2025-09-17 17:45:41 +07:00
77e6ce0789 Fix build solution 2025-09-15 11:26:51 +07:00
b0d2dcc6b9 Reduce Agent Summary call 2025-09-15 00:19:21 +07:00
2847778c7c Update pricing timing 2025-09-14 22:27:54 +07:00
daeb26375b Add performance for price reminder 2025-09-14 21:09:34 +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
ae4d5b8abe Fix sln build 2025-08-16 00:59:43 +07:00
3d3f71ac7a Move workers 2025-08-05 17:53:19 +07:00
7d92031059 Clean namings and namespace 2025-08-05 17:45:44 +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
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
cb031522b4 Add penality for bad risk reward 2025-07-18 19:19:22 +07:00
7bf7f783a9 Update scoring 2025-07-17 21:53:19 +07:00
7de18673f9 Add scoreMessage 2025-07-17 21:07:10 +07:00
f6013b8e9d Add encryption for Kaigen server auth 2025-07-17 16:50:54 +07:00
9714da1eb9 Add kai config server 2025-07-11 21:05:56 +07:00
754a21da69 Update scoring system 2025-07-11 20:58:28 +07:00
c2c181e417 Update workers setup 2025-07-10 16:47:13 +07:00
9c01dce461 Remove candle from backtest 2025-07-08 23:36:21 +07:00
0aa1f40f53 Update indicators 2025-06-18 09:40:10 +07:00
0f7df04813 Rename strategy to indicators 2025-06-16 22:09:23 +07:00
e4f4d078b2 Test strategy combo 2025-06-15 18:46:41 +07:00
973a8c7c61 Update config 2025-06-04 23:15:50 +07:00
756cd5fb11 Update bot config on front and back 2025-06-04 15:42:21 +07:00
7fce1fa59e Add new strat DualEmaCross 2025-06-02 21:28:56 +07:00
61e20356cd fix build 2025-04-30 13:55:40 +07:00
Oda
204bd87e6a Balance for bot (#20)
* Add bot balance

* Update amount to trade

* fix initial trading balance

* Update MM modal

* fix backtest

* stop bot if no more balance

* Add constant for minimum trading

* Add constant
2025-04-28 21:52:42 +07:00
3c044a1e29 Handle error to send to sentry. 2025-04-26 22:40:22 +07:00
6c385ea309 Fix position 2025-04-25 01:16:48 +07:00
c22c925087 Add user to position + fix few things 2025-04-24 19:46:21 +07:00