Commit Graph

68 Commits

Author SHA1 Message Date
3b176c290c Update precalculated indicators values 2025-11-12 23:26:12 +07:00
51a227e27e Improve perf for backtests 2025-11-10 02:15:43 +07:00
d144ae73ca Add name to ticker list 2025-10-20 16:26:01 +07:00
82f8057ed1 Fix loss and win count for GetUserStrategy 2025-10-10 17:37:32 +07:00
3128e3e9d9 Add cache for position 2025-10-10 02:48:50 +07:00
f30cc7dc47 Fix get tickers 2025-10-07 02:34:42 +07:00
f43117e6c6 Add strategies paginated 2025-10-07 01:21:25 +07:00
746308bc4f Remove get best agent 2025-10-06 18:31:29 +07:00
dab4807334 Fix Runtime 2025-10-06 00:55:18 +07:00
f67ee330b3 Fix Runtime by adding TotalRuntimeInSeconds 2025-10-05 20:51:46 +07:00
faec7e2e5a Fix win and loses count 2025-10-05 03:21:59 +07:00
7c13ad5f06 Update Agent balance tracking 2025-10-03 15:30:39 +07:00
58b07a1a13 Add netPnl in db for position 2025-10-03 03:11:17 +07:00
06850b57c4 Add BacktestCount 2025-10-01 13:01:03 +07:00
5953b96a38 Fix fetch userStrategies 2025-09-29 00:59:29 +07:00
e2d7e75247 Remove endpoint update generatedClient 2025-09-29 00:55:59 +07:00
f041c1e8e8 Add net Pnl in db 2025-09-28 22:18:58 +07:00
16a56bd26c Add agent fees 2025-09-28 20:57:42 +07:00
2d403da28f Update naming and remove used calls 2025-09-28 15:59:11 +07:00
147186724e Rename a bit for more clarity 2025-09-28 14:18:56 +07:00
8b0970fc7b Fix get UserStrategies 2025-09-26 12:48:29 +07:00
c297429b18 Fix bot TOP 3 2025-09-25 11:08:28 +07:00
d2a4bd4426 Fix dailySnapshot for platformsummary 2025-09-24 12:21:56 +07:00
9bdfb989c1 Fix ROI 2025-09-24 01:19:10 +07:00
2e953ddf77 Add AgentBalance to UserStrategies endpoint 2025-09-17 15:15:26 +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
cb6778d9a0 Add ticker to the UserStrategies list and set debit credit to 1 for backtest 2025-09-10 20:41:36 +07:00
82fa0d20d2 Add more errors 2025-08-20 00:14:26 +07:00
137444a045 Add best agent by pnl 2025-08-15 22:35:29 +07:00
cd93dede4e Add agentbalance 2025-08-15 19:35:01 +07:00
8eefab4597 Fix concurrent on userStrategies 2025-08-15 08:56:32 +07:00
b4a4656b3b Update the position count and initiator 2025-08-15 08:47:48 +07:00
0a4a4e1398 Update plateform summary 2025-08-15 06:54:09 +07:00
4a45d6c970 Add platform grain 2025-08-14 19:44:33 +07:00
345d76e06f Update plateform summary 2025-08-14 18:59:37 +07:00
6a2e4e81b1 Update status to match UI 2025-08-14 18:08:31 +07:00
aacb92018f Update cache for userStrategy details 2025-08-14 17:42:07 +07:00
b1c1c8725d Update strategies agent return 2025-08-06 19:47:13 +07:00
a0bd2e2100 Update strategy details models reponse 2025-08-06 17:03:19 +07:00
93502ca7cc Remove cache for UserStrategies 2025-08-06 16:31:16 +07:00
2dcbcc3ef2 Clear a bit more 2025-08-05 19:34:42 +07:00
843239d187 Fix mediator 2025-08-05 17:31:10 +07:00
eaf18189e4 Allow Anonymous on data controller 2025-08-05 05:00:06 +07:00
4d63b9e970 Fix jwt token 2025-08-05 04:51:24 +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
cd378587aa Add wallet balances to the userStrategy 2025-07-31 21:34:05 +07:00
857ca348ba Add agentNames to the endpoint index 2025-07-31 16:51:26 +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
4b0da0e864 Add agent index with pagination 2025-07-30 22:27:01 +07:00