Commit Graph

112 Commits

Author SHA1 Message Date
63bc7bbe59 Bundle from worker to grain 2025-09-15 12:56:59 +07:00
5216a0ae87 Removed reminder when stopped 2025-09-15 01:54:51 +07:00
bb4db3deff Fix scenario exec 2025-09-15 01:27:06 +07:00
b0d2dcc6b9 Reduce Agent Summary call 2025-09-15 00:19:21 +07:00
37d57a1bb8 Update running time exec 2025-09-14 23:02:42 +07:00
2847778c7c Update pricing timing 2025-09-14 22:27:54 +07:00
7809e45b28 fix plug to the store 2025-09-14 17:00:26 +07:00
caa0d9e1a6 plug candle store and bot 2025-09-14 16:21:48 +07:00
bac93199c0 Fix grain price fetcher 2025-09-14 15:49:49 +07:00
cb98e91a02 Update logging 2025-09-14 01:20:54 +07:00
Oda
56b4f14eb3 Price reminder and init approval
* Start price reminder grain

* Add config and init grain at startup

* Save init wallet when already init
2025-09-13 02:29:14 +07:00
28fef53ff8 Add automatic swap when low ETH 2025-08-28 06:49:14 +07:00
ab3e637ca7 Fix ETH openPosition 2025-08-16 19:12:20 +07:00
14f5cb0971 Update logs 2025-08-16 06:32:25 +07:00
d2975be0f5 Merge workers into API 2025-08-16 04:55:33 +07:00
cd93dede4e Add agentbalance 2025-08-15 19:35:01 +07:00
54bf914e95 fix no candle when closing position 2025-08-15 09:13:26 +07:00
b4a4656b3b Update the position count and initiator 2025-08-15 08:47:48 +07:00
7528405845 update stats data 2025-08-15 07:42:26 +07:00
e6c3ec139a Add event 2025-08-15 01:23:39 +07:00
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
9d0c7cf834 Fix bots restart/stop 2025-08-13 22:22:22 +07:00
46a6cdcd87 Fix manual position open 2025-08-07 14:47:36 +07:00
b70018ba15 Update summary on agentName change 2025-08-06 14:57:58 +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
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
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
4c07d7323f Remove time limit message 2025-07-19 21:48:57 +07:00
59c1fd5509 Update time between message for time limit 2025-07-17 23:00:15 +07:00
03a4e179f7 Fix Wallet balances 2025-07-17 22:29:13 +07:00
d40ee7a86e Reduce timelimit message for open position 2025-07-17 16:59:46 +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
Oda
3439f13156 Genetics front (#29)
* Add Genetics js

* Fix some error for genetics

* Update removed backtest

* Fixes
2025-07-08 20:06:09 +07:00
c897e65ccc Update tg message for synthapi 2025-07-07 20:34:23 +07:00
4c76c040cb fix fee calculation 2025-07-07 10:32:27 +07:00
3f0d5d5eda Fix preload candles 2025-07-06 16:35:43 +07:00
46b43bce1a Fix swap btc + fix bot stoping 2025-07-06 15:50:50 +07:00
dcf0778a17 Update webhook url 2025-07-05 11:33:06 +07:00
38959db65f Add agentname in message 2025-07-04 14:12:45 +07:00
f613020d9d Update messages 2025-07-04 13:56:59 +07:00