Commit Graph

25 Commits

Author SHA1 Message Date
c454e87d7a Add new endpoint for the agent status 2025-07-30 22:36:49 +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
83ed78a1fa Add signalr 2025-07-21 19:54:04 +07:00
0870edee61 Setup bundle for backtest 2025-07-21 00:01:13 +07:00
cebbeff887 Add progression and new method of selection/mutation/crossover 2025-07-11 23:38:22 +07:00
c62570e15d Add enum for Selection method 2025-07-11 17:15:11 +07:00
0b4f2173e0 Add Genetic workers 2025-07-10 19:15:57 +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
7fce1fa59e Add new strat DualEmaCross 2025-06-02 21:28:56 +07:00
1cfb83f0b1 Add Agent tracking balance 2025-05-16 22:30:18 +07:00
35f31b561a Update tickers 2025-04-29 01:58:50 +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
868c7bdb65 Fix getbalance + fix get orders for bot 2025-04-21 12:15:53 +02:00
988cc9eb61 Add Privy type wallet 2025-03-05 10:36:54 +07:00
c0d54f35f5 Update bot management 2025-03-02 20:13:24 +01:00
Oda
e16f0a2e5d Stc opti (#15)
* Optimize STC

* Optimize STC

* Add SuperTrendCrossEma
2025-03-01 02:59:19 +07:00
Oda
65bdb8e34f GMX v2 - Trading (#7)
* Move PrivateKeys.cs

* Update gitignore

* Update gitignore

* updt

* Extract GmxServiceTests.cs

* Refact

* update todo

* Update code

* Fix hashdata

* Replace static token hashed datas

* Set allowance

* Add get orders

* Add get orders tests

* Add ignore

* add close orders

* revert

* Add get gas limit

* Start increasePosition. Todo: Finish GetExecutionFee and estimateGas

* little refact

* Update gitignore

* Fix namespaces and clean repo

* Add tests samples

* Add execution fee

* Add increase position

* Handle backtest on the frontend

* Add tests

* Update increase

* Test increase

* fix increase

* Fix size

* Start get position

* Update get positions

* Fix get position

* Update rpc and trade mappers

* Finish close position

* Fix leverage
2025-01-30 23:06:22 +07:00
8e9601f36e Filter delta neutral markets 2024-08-17 17:07:51 +07:00
Oda
68aa7fff5d Gmx v2 - Funding rates (#6)
* Setup GMX v2

* Add get markets

* Map token with service

* Add get market info data

* Add get markets

* Add get market token prices

* Get markets infos multicall

* Try call datastore

* Add some tests to figure out why datastore call dont work

* Update funding rates

* clean
2024-08-17 06:50:18 +07:00
Oda
029ba5f40e Add funding rate watcher (#2)
* Add FundingRate interfaces and worker

* Add build on PR

* Remove zip

* Specify the solution path

* Add build for worker too

* Set up StatisticService.cs for funding rate

* Add Fundingrate alerts

* Send alert when big funding rate change + add SlashCommands.cs for fundingrate

* Remove fixtures

* Refact names

* Renames
2024-07-19 08:31:09 +07:00
13e70cbf63 Loading backup 2024-07-12 06:51:29 +07:00
c25752c670 Add backup management 2024-06-20 22:38:26 +07:00
35dd2a1a9b Update TargetFramework to net8.0 in all projects 2024-05-15 20:26:12 +07:00
alirehmani
464a8730e8 docker files fixes from liaqat 2024-05-03 16:39:25 +05:00