a2ed4edd32
Implement spot position history retrieval in SpotBot and related services
...
- Added CheckSpotPositionInExchangeHistory method to SpotBot for verifying closed positions against exchange history.
- Enhanced logging for Web3Proxy errors during position verification.
- Introduced GetSpotPositionHistory method in IEvmManager, IExchangeService, and IWeb3ProxyService interfaces.
- Implemented GetSpotPositionHistory in EvmManager and ExchangeService to fetch historical swap data.
- Updated GMX SDK integration to support fetching spot position history.
- Modified generated API types to include new trading type and position history structures.
2025-12-07 19:20:47 +07:00
78edd850fe
Add isLiveTrading helper to fix bug
2025-12-04 23:42:09 +07:00
b3f3df5fbc
Fix privy secrets
2025-11-10 17:57:00 +07:00
56c22ce806
Update privy secret usage
2025-11-01 17:12:33 +07:00
6fd4cea3f7
Remove env from dockerfile
2025-11-01 16:07:22 +07:00
7fee636fc4
Fix web3health check + cache secret keys
2025-11-01 13:10:19 +07:00
ab37da2cca
Use infisical for secrets
2025-11-01 12:52:06 +07:00
bab2c4f12f
Add debug for the secrets files
2025-11-01 11:49:35 +07:00
52db308898
Read from the secret for privy client
2025-11-01 11:43:04 +07:00
bc13202762
Fix secrets required injection for fastify
2025-11-01 11:22:32 +07:00
bec4c0af97
Read secret from docker secrets
2025-11-01 11:09:59 +07:00
04c48e67b8
downgrade node js for web3proxy to match bitwarden napi package
2025-10-31 17:28:15 +07:00
e76bdb4165
Update docker file
2025-10-31 17:20:54 +07:00
39924f45c5
Add the npm ci instead
2025-10-31 17:11:34 +07:00
98b84a92e1
For node module rebuild
2025-10-31 13:41:12 +07:00
f6d9abbe0f
Revert dockerfile
2025-10-31 13:27:38 +07:00
2b1d55ddba
Add musl build target for bitwarden
2025-10-31 13:20:02 +07:00
f71594b4b5
update web3proxy dockerfile
2025-10-31 13:04:11 +07:00
f550c7ae37
Add packages lock
2025-10-31 12:48:36 +07:00
759d7be5df
Add bitwarden secret
2025-10-31 12:42:47 +07:00
f816b8de50
Update fetch borkerPosition in bot + better HandleClosePosition + Add debug channel to receive all debug
2025-10-25 18:35:51 +07:00
38e6998ff3
Add test to check if backtest behavior changed
2025-10-24 19:08:10 +07:00
fc4369a008
Add start and enddate when fetching the position history
2025-10-24 18:00:23 +07:00
6ffe9ae9c4
Add error handling for GMX positions
2025-10-21 17:56:09 +07:00
acea43ec71
Change Insufficient Allowance message to High network fee
2025-10-17 14:45:21 +07:00
3f1b5f09e0
Update the gmx for the execution fees
2025-10-17 00:49:20 +07:00
e917edd939
Add more logs, 95%ram alert for GmxMarkets, Proxy retry 2times max
2025-10-11 13:43:32 +07:00
bdb254809e
Improve CandleStore grain deactivating
2025-10-10 22:09:30 +07:00
e4c2f8b7a5
Add monitoring on queries with sentry alert + Fix check position list in db for backtest
2025-10-10 00:15:02 +07:00
ffb98fe359
Fix update agent save + revert market in redis
2025-10-08 21:32:48 +07:00
1a99224d18
Fix ROI calculation for Strategy
2025-10-08 19:37:24 +07:00
86dd6849ea
Fix status IsFinished/IsOpen/IsForMetrics + use redis for markets on gmx.tsx instead of inmemory cache
2025-10-08 12:13:04 +07:00
67065469a6
Fix config update + remove messages + Summary fix for not open position
2025-10-08 02:52:11 +07:00
349a4c3696
Update redis healthcheck
2025-10-06 10:42:40 +07:00
1dbe2a48fc
Fix proxy
2025-10-06 02:46:08 +07:00
fa292d1688
Update proxy web3
2025-10-06 02:36:03 +07:00
de48e758cf
Fix build
2025-10-06 01:38:02 +07:00
6cbfff38d0
Remove logs on gmx sdk
2025-10-06 00:03:34 +07:00
dac0a9641f
Fetch closed position to get last pnl realized
2025-10-05 23:31:17 +07:00
1e19e29cec
Fix get Gas fees + position direction list
2025-09-26 12:02:07 +07:00
bcfeb693ce
Update account/position and platform summary
2025-09-26 01:18:59 +07:00
40f3c66694
Add ETH and USDC balance check before start/restart bot and autoswap
2025-09-23 14:03:46 +07:00
7c3c0f38ec
Fix autoswap
2025-09-22 00:22:39 +07:00
d58672f879
Add retry + idempotency on trading when try + add more tts
2025-09-20 02:28:16 +07:00
c2f3734021
Add Role based grain placement
2025-09-18 20:17:28 +07:00
e57b48da7c
Fix proxy build
2025-09-17 16:10:34 +07:00
Oda
cee3902a4d
Update SDK ( #35 )
...
* Update SDK for swap
* Fix web3proxy build
* Update types
* Fix swap
* Send token test and BASE transfer
* fix cache and hook
* Fix send
* Update health check with uiFeereceiver
* Fix sdk
* Fix get positions
* Fix timeoutloop
* Fix open position
* Fix closes positions
* Review
2025-09-17 14:28:56 +07:00
271dd70ad7
Fix Swap
2025-09-15 19:57:11 +07:00
f564c3efbd
update claiming list
2025-09-07 15:14:59 +07:00
057abcd04d
skip eth approve
2025-09-06 13:49:25 +07:00