Commit Graph

114 Commits

Author SHA1 Message Date
4a45d6c970 Add platform grain 2025-08-14 19:44:33 +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
7d92031059 Clean namings and namespace 2025-08-05 17:45:44 +07:00
843239d187 Fix mediator 2025-08-05 17:31:10 +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
654d74932c Add telegram message on bundle completed 2025-07-22 18:01:33 +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
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
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
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
387948a107 Remove candle from getBacktestsForUser 2025-07-09 16:55:47 +07:00
b2ccd63201 Send notif on good backtest 2025-07-09 14:15:43 +07:00
9c01dce461 Remove candle from backtest 2025-07-08 23:36:21 +07:00
f973be2e08 Send tokens 2025-07-06 14:39:01 +07:00
c7dec76809 Swap tokens 2025-07-06 14:00:44 +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
e4f4d078b2 Test strategy combo 2025-06-15 18:46:41 +07:00
3f34c56968 Get fees to claims 2025-06-13 14:22:38 +07:00
9c9957a6f1 update messenger 2025-06-09 22:32:36 +07:00
1f2780d52a Add webhook 2025-06-09 01:04:02 +07:00
6441687df3 More fix 2025-06-05 01:17:15 +07:00
756cd5fb11 Update bot config on front and back 2025-06-04 15:42:21 +07:00
8c2e9b59de Add new parameters 2025-06-03 01:01:17 +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
65c4ec4957 Clean a bit and add prod env to front 2025-05-11 17:23:02 +07:00
549c4ae746 Add initAddress api 2025-05-10 14:41:17 +07:00
Oda
7c38c27b4a Fixes for bots running (#22)
* Fixes for bots running

* Up botmanager

* Add cooldown

* Refact can open position

* Add cooldown Period and MaxLossStreak

* Add agentName

* Add env variable for botManager

* Always enable Botmanager

* Fix bot handle

* Fix get positions

* Add Ticker url

* Dont start stopped bot

* fix
2025-05-09 22:40:31 +07:00
8a3c09809f Fix cache reference 2025-04-30 14:04:37 +07:00
61e20356cd fix build 2025-04-30 13:55:40 +07:00
bc1ef78747 Fix worker cancelled on worker + Cache tickers 2025-04-30 13:19:03 +07:00