Commit Graph

28 Commits

Author SHA1 Message Date
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
f51fd5a5f7 pagination for backtest and optimization 2025-07-16 14:27:07 +07:00
c2c181e417 Update workers setup 2025-07-10 16:47:13 +07:00
816a848140 setup env for sentry 2025-05-14 15:05:31 +07:00
de25791eb4 Disable workers 2025-04-26 01:31:47 +07:00
7ddc0328f6 Update up workers 2025-04-25 12:24:58 +07:00
c22c925087 Add user to position + fix few things 2025-04-24 19:46:21 +07:00
Oda
42a4cafd8d Add Sentry (#19)
* add sentry

* add sentry

* better log web3proxy

* Add managing and worker on sentry

* better log web3proxy
2025-04-22 20:49:02 +02:00
df5f7185c8 Display healthcheck on prod 2025-04-21 18:54:28 +07:00
Oda
3113e5d278 Aspire (#17)
* add aspire

* add healthchecks
2025-04-21 04:21:40 +07:00
988cc9eb61 Add Privy type wallet 2025-03-05 10:36:54 +07:00
e59898bccb Update bot workflow 2025-03-02 18:24:50 +01:00
3e44b2d14e Comment position manager 2025-03-02 21:12:04 +07:00
Oda
31f7f4cbfc Position management (#12)
* Update position worker

* Update todo

* Update todo

* Update worker base url
2025-02-20 12:13:49 +07:00
Oda
160fd02aac Update position worker (#11)
* Update position worker

* Update todo
2025-02-20 12:06:15 +07:00
59893be3e3 Enable spotlight 2025-02-06 16:15:22 +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
4f860466ea Revert 2024-08-17 07:57:52 +07:00
acaf3f7346 Refact multicall 2024-08-17 07:57:14 +07:00
7bb6a3638e Activate workers 2024-08-17 06:52:50 +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
b4087753c7 Disable some worker + funding rate top 6 for long and short 2024-07-22 07:33:21 +07:00
fa7546bb2d Add discord logs 2024-07-22 03:54:17 +07:00
Oda
a43e560d3a Fix leaderboard (#3) 2024-07-20 20:38:40 +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
fb976d231a Fix bot launch errors 2024-06-26 19:14:32 +07:00
cbcbc7239b Update package versions in csproj and package.json files 2024-05-16 19:28:40 +07:00
alirehmani
464a8730e8 docker files fixes from liaqat 2024-05-03 16:39:25 +05:00