Commit Graph

318 Commits

Author SHA1 Message Date
Oda
7c38c27b4a Fixes for bots running (#22)
* Fixes for bots running

* Up botmanager

* Add cooldown

* Refact can open position

* Add cooldown Period and MaxLossStreak

* Add agentName

* Add env variable for botManager

* Always enable Botmanager

* Fix bot handle

* Fix get positions

* Add Ticker url

* Dont start stopped bot

* fix
2025-05-09 22:40:31 +07:00
a8eb0aaf02 disable bot manager 2025-05-03 23:08:25 +07:00
Oda
710a15e306 Production (#21)
* Add Production env

* Update mongo url

* Update config
2025-05-01 01:44:18 +07:00
262d205d25 Update interval from timeframe 2025-04-30 19:34:20 +07:00
7bbf4dd001 Fix Cannot mix BigInt and other types, use explicit conversions 2025-04-30 14:36:40 +07:00
8a3c09809f Fix cache reference 2025-04-30 14:04:37 +07:00
61e20356cd fix build 2025-04-30 13:55:40 +07:00
5caf9e2197 Quick fix 2025-04-30 13:45:15 +07:00
bc1ef78747 Fix worker cancelled on worker + Cache tickers 2025-04-30 13:19:03 +07:00
df4392b17e Add bot manager 2025-04-29 21:15:54 +07:00
6736ef4558 Update logs and cache marketinfo 2025-04-29 20:23:20 +07:00
74c448de30 Update managing api client 2025-04-29 02:14:11 +07:00
bc8aa2f2a8 Update tickers 2025-04-29 02:07:02 +07:00
35f31b561a Update tickers 2025-04-29 01:58:50 +07:00
f91b12fbcc Fix backtest 2025-04-29 01:17:58 +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
967e8410dc Add message to the exception for wrong message 2025-04-28 18:49:07 +07:00
68618a8628 fix position initiator + pnl for trade 2025-04-27 22:49:49 +07:00
0b1710cd69 Fix backtests 2025-04-27 19:15:51 +07:00
934a0a26c1 Add sentry logs for workers 2025-04-27 13:10:27 +07:00
3c044a1e29 Handle error to send to sentry. 2025-04-26 22:40:22 +07:00
084977c717 downgrade wagmi 2025-04-26 15:32:08 +07:00
83ea3a216d Update wagmi and viem 2025-04-26 15:26:26 +07:00
1121a7c6d3 Update healthcheck and display pnl on trades 2025-04-26 14:48:23 +07:00
741b2c3bb0 add the file 2025-04-26 04:10:21 +07:00
03212013e2 add fee plateform calculator 2025-04-26 04:09:40 +07:00
de25791eb4 Disable workers 2025-04-26 01:31:47 +07:00
5eb401dc80 Fix bot + disable position fetcher 2025-04-26 01:30:27 +07:00
6579bbc06f Add manual close for bot positions 2025-04-25 17:33:38 +07:00
d5dead3d8f Add stats and trades to bots 2025-04-25 16:59:08 +07:00
9b0505991f Display data for bots 2025-04-25 16:01:06 +07:00
ea1a25e699 Fix healthcheck and tradingbot positions 2025-04-25 15:50:12 +07:00
5844d89175 Add new health 2025-04-25 13:34:59 +07:00
2e6afe3869 Fix backtests 2025-04-25 12:48:50 +07:00
7ddc0328f6 Update up workers 2025-04-25 12:24:58 +07:00
9f6b5bbf0f remove bot manager 2025-04-25 01:17:49 +07:00
a62b610f88 Fix position 2025-04-25 01:16:53 +07:00
6c385ea309 Fix position 2025-04-25 01:16:48 +07:00
af89121c40 Add data + fix positions 2025-04-24 23:48:28 +07:00
1d14d31af2 Add stats for kaigen 2025-04-24 22:40:10 +07:00
86692b60fa Add stats for kaigen 2025-04-24 20:33:13 +07:00
c22c925087 Add user to position + fix few things 2025-04-24 19:46:21 +07:00
76b8b7ebb6 Fix bots + positions managements 2025-04-23 19:36:26 +02:00
ad5996ca61 Open position for bots 2025-04-23 10:02:04 +02:00
8d191e8d14 Add nswag 2025-04-23 13:28:28 +07:00
ae85f79763 Merge remote-tracking branch 'origin/dev' into dev 2025-04-23 13:03:56 +07:00
eeecb188c7 add nswag 2025-04-23 13:03:33 +07:00
ec442c4dff Fix a bit bots 2025-04-22 21:17:34 +02: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