Commit Graph

  • 7a3ede03ca Add balance tracking on bot start/restart; implement TrackBalanceOnBotStartAsync in IAgentGrain and AgentGrain, and trigger it in LiveTradingBotGrain. Enhance logging for balance tracking operations. cryptooda 2025-12-26 15:43:46 +07:00
  • f884cb2362 Remove text from backtestSpot cryptooda 2025-12-26 04:49:47 +07:00
  • f60277d81d Update backtest worker to fix stuck backtest cryptooda 2025-12-26 04:27:08 +07:00
  • 5548de6815 Add feature flag check for futures trading in StartBotCommandHandler; refactor FlagsmithService to use username directly for flag retrieval and remove unused hashing logic. cryptooda 2025-12-24 21:45:32 +07:00
  • 2db6cc9033 Implement orphaned position recovery in SpotBot; enhance logging for recovery attempts and failures, and ensure position synchronization with token balance checks. cryptooda 2025-12-24 20:52:08 +07:00
  • 667ac44b03 Update SpotBot tolerance calculation to 0.6% to better account for slippage; adjust logging to reflect new tolerance value for position synchronization checks. cryptooda 2025-12-23 10:13:39 +07:00
  • 30bdc8c114 Update dependency versions in bun.lock and package.json for consistency; lock specific versions for @gelatonetwork/relay-sdk, cross-fetch, lodash, query-string, typescript, and viem; add overrides for viem to ensure compatibility across the project. cryptooda 2025-12-20 16:15:39 +07:00
  • 73afdf4328 Update build script in package.json to use 'bunx tsc' for TypeScript compilation, enhancing build process consistency. cryptooda 2025-12-20 16:05:58 +07:00
  • 4fda65e3c2 Enhance error handling in TradingService by capturing exceptions with Sentry; update TypeScript version in package.json for improved features; modify tsconfig.json to exclude unnecessary directories; add new performance benchmark entries in CSV files for better tracking of telemetry data. cryptooda 2025-12-20 15:53:16 +07:00
  • e9b4878ffa Refactor BacktestExecutor and TradingBotBase for performance optimizations; remove unused SignalCache and pre-calculation logic; implement caching for open position state and streamline signal access with TryGetValue; enhance logging for detailed timing breakdown during backtest execution. cryptooda 2025-12-20 10:05:07 +07:00
  • 415845ed5a Refactor BacktestSpotBot signal generation to utilize base implementation for optimizations; update BacktestExecutorTests with revised metrics reflecting recent backtest results; add new performance benchmark entries for improved tracking. cryptooda 2025-12-19 18:00:37 +07:00
  • b52f00a450 Remove agent logging and debug statements from gmx.ts to streamline token approval and position opening processes; enhance code clarity and maintainability. cryptooda 2025-12-19 16:34:42 +07:00
  • af20a2c503 Fix futures open positions cryptooda 2025-12-19 16:29:34 +07:00
  • e6880c9b18 Update fullstack guidelines to use 'bun' instead of 'npm' for testing; modify package.json to lock specific versions of dependencies for consistency; adjust TypeScript code for improved type handling in simulateExecuteOrder function; enhance swap-tokens test with additional parameters for better coverage. cryptooda 2025-12-19 12:07:54 +07:00
  • 6d64af7c01 Update sdk (#39) Oda 2025-12-18 21:45:54 +07:00
  • bcb00b9a86 Refactor pagination sorting parameters across multiple controllers and services to use the new SortDirection enum; update related API models and TypeScript definitions for consistency. Fix minor documentation and naming inconsistencies in the Bot and Data controllers. cryptooda 2025-12-14 20:23:26 +07:00
  • cb6b52ef4a Upgrade Vite to version 7.2.7 in package.json and bun.lock; update source-map dependency versions across multiple entries for consistency and compatibility. cryptooda 2025-12-14 01:53:59 +07:00
  • eff0c11f26 Refactor Sentry initialization in Program.cs to conditionally set DSN based on configuration; enhance DiscordService to create a service scope for command module registration. cryptooda 2025-12-14 01:24:24 +07:00
  • 71aff19eb5 Update .DS_Store binary file cryptooda 2025-12-14 01:24:08 +07:00
  • e0e4dda808 Set config to env variables cryptooda 2025-12-14 01:15:40 +07:00
  • 2157d1f2c9 Remove references to Managing.Aspire.AppHost and Managing.Aspire.ServiceDefaults from solution and project files; update API project to eliminate unused references and adjust JWT token handling in Program.cs; enhance NSwag generation for Axios and Fetch clients, including new import handling. cryptooda 2025-12-14 00:18:02 +07:00
  • 0126377486 Remove obsolete configuration files and project references from Managing.Aspire.AppHost and Managing.Aspire.ServiceDefaults cryptooda 2025-12-14 00:16:25 +07:00
  • 588927678c Use bun for web3proxy and webui cryptooda 2025-12-13 17:46:25 +07:00
  • c4e444347c Fix bot update with the tradingtype cryptooda 2025-12-13 14:46:30 +07:00
  • e6cac0057b Uodate Env key for flagsmith prod cryptooda 2025-12-12 02:49:07 +07:00
  • 87bc2e9dce Enhance PostgreSqlBacktestRepository to include PositionCount in backtest mappings cryptooda 2025-12-12 01:44:34 +07:00
  • 5328d760dd Add support for backtesting trading types in LiveTradingBotGrain and TradingBox cryptooda 2025-12-11 23:41:53 +07:00
  • a254db6d24 Update bot market type cryptooda 2025-12-11 23:32:06 +07:00
  • 35df25915f Add flagsmith cryptooda 2025-12-11 19:22:54 +07:00
  • 65d00c0b9a Add reconcilliation for cancelled position if needed cryptooda 2025-12-11 18:35:25 +07:00
  • 1426f0b560 Clean code, remove warning for future and spot cryptooda 2025-12-11 14:36:35 +07:00
  • df8c199cce Clean tradingbot and spot and future cryptooda 2025-12-11 14:10:38 +07:00
  • 292a48d108 Fix close position cryptooda 2025-12-11 12:23:01 +07:00
  • 8ff9437400 Fix a bit the spot trading cryptooda 2025-12-10 23:16:46 +07:00
  • 931af3d3af Refactor SpotBot and ExchangeService for balance retrieval cryptooda 2025-12-08 23:37:10 +07:00
  • a2ed4edd32 Implement spot position history retrieval in SpotBot and related services cryptooda 2025-12-07 19:20:47 +07:00
  • 15d8b38d8b Adapt spot for recovery cryptooda 2025-12-05 15:24:51 +07:00
  • 78edd850fe Add isLiveTrading helper to fix bug cryptooda 2025-12-04 23:42:09 +07:00
  • b44e1f66a7 Fix spot bot cryptooda 2025-12-04 21:21:48 +07:00
  • a07d7ede18 Fix backtest spot cryptooda 2025-12-03 16:47:32 +07:00
  • c932fef289 Add spot trading cryptooda 2025-12-02 14:38:54 +07:00
  • 9f4aa16997 Update benchmark cryptooda 2025-12-02 00:03:33 +07:00
  • 5bd03259da Add BacktestSpotBot and update BacktestExecutor for spot trading support cryptooda 2025-12-01 23:41:23 +07:00
  • 3771bb5dde Refactor SwapGmxTokens functionality into TradingService cryptooda 2025-12-01 22:49:30 +07:00
  • 9d536ea49e Refactoring TradingBotBase.cs + clean architecture (#38) Oda 2025-12-01 19:32:06 +07:00
  • ab26260f6d Prepare for refactoring cryptooda 2025-11-26 19:26:57 +07:00
  • f81a2da9df Fix tests cryptooda 2025-11-26 18:42:02 +07:00
  • cef8073314 Remove comments cryptooda 2025-11-26 10:38:24 +07:00
  • a93c738032 Build docker image for workers cryptooda 2025-11-25 12:26:17 +07:00
  • 3802187155 Update BB volume protection cryptooda 2025-11-25 12:04:26 +07:00
  • 4b5c1c5ce0 Fix graph cryptooda 2025-11-25 11:03:52 +07:00
  • 6376e13b07 Add Bollinger Bands Volatility Protection indicator support cryptooda 2025-11-25 02:12:57 +07:00
  • 3ec1da531a Fix stuck the bundle backtests cryptooda 2025-11-25 00:12:23 +07:00
  • 4b33b01707 Update ichimoku cryptooda 2025-11-24 20:02:14 +07:00
  • 4268626897 Add IchimokuKumoTrend indicator support across application cryptooda 2025-11-24 19:43:18 +07:00
  • 478dca51e7 Add BollingerBandsPercentBMomentumBreakout indicator support across application cryptooda 2025-11-24 17:31:17 +07:00
  • 9f7e345457 Enhance StochasticCross integration in CustomScenario and TradeChart components cryptooda 2025-11-24 16:32:42 +07:00
  • 18f868a221 Add StochasticCross indicator support in CustomScenario and TradeChart components cryptooda 2025-11-24 11:04:05 +07:00
  • 43d7c5c929 Add StochasticCross indicator support in GeneticService and related classes cryptooda 2025-11-24 10:39:53 +07:00
  • ad3b3f2fa5 Add command for adding indicators cryptooda 2025-11-24 10:05:16 +07:00
  • 9e3d8c74b9 Remove some logs from db cryptooda 2025-11-24 01:26:10 +07:00
  • fef66f6d7b Update configuration settings and logging behavior for SQL monitoring cryptooda 2025-11-24 01:02:53 +07:00
  • 372d19f840 Refactor welcome message handling to UserService for Telegram channel updates cryptooda 2025-11-24 00:43:58 +07:00
  • 220ca66546 Update welcome message format in UserController for Kaigen Notifications cryptooda 2025-11-24 00:37:07 +07:00
  • 4e797c615b Enhance Telegram channel validation in UserService and Formatings cryptooda 2025-11-24 00:23:42 +07:00
  • 47bea1b9b7 Update closing position on BotStop cryptooda 2025-11-23 23:31:34 +07:00
  • 6429501b70 Add more logs for auto-close on owned keys cryptooda 2025-11-23 22:57:30 +07:00
  • c7c89c903f Enhance error handling and logging in BotController, LiveTradingBotGrain, and BotService cryptooda 2025-11-23 21:49:23 +07:00
  • d10ce5e3ba Enhance error handling and logging in BotController, LiveTradingBotGrain, and BotService cryptooda 2025-11-23 21:48:21 +07:00
  • 411fc41bef Refactor BotController and BotService for improved bot management cryptooda 2025-11-23 15:30:11 +07:00
  • 9c8ab71736 Do not update the masterBotUserId if update change it to null cryptooda 2025-11-22 16:32:00 +07:00
  • 461a73a8e3 Add MasterBot configuration properties to TradingBotBase and ensure MasterBotUserId preservation in RestartBotCommandHandler cryptooda 2025-11-22 15:42:17 +07:00
  • bd4d6be8d9 Fix restart bot without account cryptooda 2025-11-22 15:27:43 +07:00
  • 2a354bd7d2 Implement profitable bots filtering in BotController and DataController cryptooda 2025-11-22 14:02:29 +07:00
  • e69dd43ace Enhance DataController and BotService with new configuration and bot name checks cryptooda 2025-11-22 13:34:26 +07:00
  • 269bbfaab0 Add GetBotByUserIdAndNameAsync method to IBotService and BotService cryptooda 2025-11-22 10:46:07 +07:00
  • 476bcebfe9 Fix active strategy count on plateform surmmary cryptooda 2025-11-21 20:02:33 +07:00
  • 153e170ca4 Refactor LiveBotRegistryGrain and PlatformSummaryGrain to improve active bot tracking cryptooda 2025-11-21 19:38:32 +07:00
  • eac13dd5e4 Enhance bot command handlers with GMX wallet initialization cryptooda 2025-11-21 19:05:51 +07:00
  • 53f81302ba Return last 24 volume for strategies cryptooda 2025-11-21 17:02:18 +07:00
  • 1bec83a2ec Add MasterAgentName to UserStrategyDetailsViewModel and DataController cryptooda 2025-11-21 14:28:19 +07:00
  • d3623350da Save bundle backtest cryptooda 2025-11-20 23:25:43 +07:00
  • aa8a723aad Dont display indicators use on copied strategy cryptooda 2025-11-20 22:14:44 +07:00
  • 4d4e5b6d25 Update position value calculations in AgentGrain and BotService cryptooda 2025-11-20 20:34:12 +07:00
  • a6adf5e458 Fix test with new ROI and collateral calcul cryptooda 2025-11-20 20:04:20 +07:00
  • b1aa0541e2 Add test and max collateral used cryptooda 2025-11-20 15:38:27 +07:00
  • 55f70add44 Include master bot for all query on Botentity cryptooda 2025-11-20 14:52:55 +07:00
  • 190a9cf12d Finish copy trading cryptooda 2025-11-20 14:46:54 +07:00
  • ff2df2d9ac Add MasterBotUserId and MasterAgentName for copy trading support cryptooda 2025-11-20 00:33:31 +07:00
  • 97103fbfe8 Add master strategy validation in LiveTradingBotGrain cryptooda 2025-11-19 23:39:38 +07:00
  • fb570b9f7e Fix key conditions cryptooda 2025-11-19 23:25:57 +07:00
  • b7796ede0c Add logging for owned keys in KaigenService cryptooda 2025-11-19 23:18:56 +07:00
  • 799b27b0a8 Remove credit have to be enable for owned keys cryptooda 2025-11-19 21:12:25 +07:00
  • c7adb687b8 Fix recovery positions cryptooda 2025-11-19 21:06:02 +07:00
  • e1f2f75c23 Fix redundant recover position call cryptooda 2025-11-19 20:42:11 +07:00
  • f56d75d28f Fix loop when trying to recover the cancelled position cryptooda 2025-11-19 20:23:44 +07:00
  • 61f95981a7 Fix position count cryptooda 2025-11-19 17:58:04 +07:00
  • 096fb500e4 Add position count property map cryptooda 2025-11-19 14:16:30 +07:00
  • 9b25201def Remove SSL for kaigen API url cryptooda 2025-11-19 09:08:58 +07:00
  • 6db2b34f9f Update influxdb api key cryptooda 2025-11-19 09:01:53 +07:00