Commit Graph

457 Commits

Author SHA1 Message Date
4a3cc68c60 Remove local candles for backtest 2025-01-30 23:26:00 +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
Oda
ecaa89c67b Update UserService.cs 2025-01-28 00:39:33 +07:00
Oda
8baf9a323d Update UserService.cs add razil 2025-01-27 22:57:38 +07:00
8e9601f36e Filter delta neutral markets 2024-08-17 17:07:51 +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
2d80ee8f00 Update caprover build 2024-07-22 04:13:24 +07:00
fa7546bb2d Add discord logs 2024-07-22 03:54:17 +07:00
ab621554ce Fix Backup and fix worker discord 2024-07-22 03:20:13 +07:00
Oda
3360e48f47 Fix backup (#5) 2024-07-20 23:48:12 +07:00
Oda
743d04e6c5 Update doc and todo (#4)
* Updade doc

* Updade doc
2024-07-20 21:33:50 +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
545c9d8e4a Fix caprover.yml 2024-07-13 03:43:03 +07:00
4916338a01 Fix caprover path 2024-07-13 03:38:14 +07:00
6123411e88 Add GH access token 2024-07-13 03:19:28 +07:00
e15b326ddc Change branch 2024-07-13 03:17:40 +07:00
61371809e7 Repush 2024-07-13 03:15:42 +07:00
28f96153a4 Add key for checkout 2024-07-13 02:39:04 +07:00
Oda
9719f36424 Merge pull request #1 from CryptoOda/update-global
Add backup management
2024-07-12 22:24:22 +07:00
3446184006 little clean 2024-07-12 22:23:02 +07:00
b5b0292bf8 Remove unused 2024-07-12 22:21:49 +07:00
67630c2deb fix 2024-07-12 22:20:43 +07:00
6718d08448 Replace cache by concurrentDictionary task 2024-07-12 22:05:34 +07:00
dfe92d787e Refact task 2024-07-12 21:33:35 +07:00
0544749a69 Commit before refact factory into service 2024-07-12 19:58:19 +07:00
13e70cbf63 Loading backup 2024-07-12 06:51:29 +07:00
d96b2a4c3b Add bot worker 2024-06-28 17:26:28 +07:00
7a6d656335 Update script and doc 2024-06-26 19:15:03 +07:00
fb976d231a Fix bot launch errors 2024-06-26 19:14:32 +07:00
c25752c670 Add backup management 2024-06-20 22:38:26 +07:00
897ff94a66 Add test wallets 2024-06-02 15:56:52 +07:00
45c71b3ddf Fix frontend backtest modal 2024-05-17 01:32:46 +07:00
7f9cd70f31 Update InfluxDB URL in prod environment configuration 2024-05-16 23:00:23 +07:00
d0a4be212a Update InfluxDB configuration in prod environment 2024-05-16 22:40:16 +07:00
cbcbc7239b Update package versions in csproj and package.json files 2024-05-16 19:28:40 +07:00
35dd2a1a9b Update TargetFramework to net8.0 in all projects 2024-05-15 20:26:12 +07:00
f908ce8c62 Update Dockerfile to copy appsettings.dev.json in the correct directory 2024-05-15 16:18:58 +07:00
beecd93320 Update Dockerfile to copy project files in the correct directory 2024-05-15 14:27:48 +07:00
da334ca79b Update Dockerfile to copy project files in the correct directory 2024-05-15 13:40:23 +07:00
0ed240477f Update MongoDB connection string and InfluxDB URL in prod environment configuration 2024-05-15 12:57:57 +07:00
6e64c5c235 Update Dockerfile to copy project files in the correct directory 2024-05-15 12:42:53 +07:00
fc99db5623 Update Discord configuration 2024-05-15 11:29:21 +07:00
bacd87b97c Add discord keys 2024-05-15 02:52:11 +07:00
c65556fa6b Add prod env config 2024-05-14 19:15:34 +07:00
6f02b88942 Update whitelisted address 2024-05-14 18:50:57 +07:00