Commit Graph

306 Commits

Author SHA1 Message Date
8a7addafd7 Refactor signal generation in TradingService to process indicators individually, improving clarity and performance. Add new API types for refining indicators, including request and response structures. 2025-12-28 20:59:11 +07:00
Oda
6d64af7c01 Update sdk (#39)
* Update .DS_Store files and remove obsolete ABI JSON files from Managing.Web3Proxy; enhance bun.lock and package.json for dependency consistency.

* Update import statements in TypeScript files to include .js extensions for consistency across the gmxsdk module.
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. 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. 2025-12-14 01:53:59 +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. 2025-12-14 00:18:02 +07:00
588927678c Use bun for web3proxy and webui 2025-12-13 17:46:25 +07:00
c4e444347c Fix bot update with the tradingtype 2025-12-13 14:46:30 +07:00
a254db6d24 Update bot market type 2025-12-11 23:32:06 +07:00
931af3d3af Refactor SpotBot and ExchangeService for balance retrieval
- Updated SpotBot to fetch token balance directly using the new GetBalance method in IExchangeService.
- Modified IExchangeService to include a method for retrieving balance by ticker.
- Enhanced ExchangeService to implement the new balance retrieval logic for both EVM and non-EVM exchanges.
- Updated TokenService to streamline contract address and decimal retrieval for various tokens.
- Adjusted TradesModal to reflect changes in position status handling.
2025-12-08 23:37:10 +07:00
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
b44e1f66a7 Fix spot bot 2025-12-04 21:21:48 +07:00
a07d7ede18 Fix backtest spot 2025-12-03 16:47:32 +07:00
Oda
9d536ea49e Refactoring TradingBotBase.cs + clean architecture (#38)
* Refactoring TradingBotBase.cs + clean architecture

* Fix basic tests

* Fix tests

* Fix workers

* Fix open positions

* Fix closing position stucking the grain

* Fix comments

* Refactor candle handling to use IReadOnlyList for chronological order preservation across various components
2025-12-01 19:32:06 +07:00
3802187155 Update BB volume protection 2025-11-25 12:04:26 +07:00
4b5c1c5ce0 Fix graph 2025-11-25 11:03:52 +07:00
6376e13b07 Add Bollinger Bands Volatility Protection indicator support
- Introduced BollingerBandsVolatilityProtection indicator in GeneticService with configuration settings for period and standard deviation (stdev).
- Updated ScenarioHelpers to handle creation and validation of the new indicator type.
- Enhanced CustomScenario, backtest, and scenario pages to include BollingerBandsVolatilityProtection in indicator lists and parameter mappings.
- Modified API and types to reflect the addition of the new indicator in relevant enums and mappings.
- Updated frontend components to support new parameters and visualization for Bollinger Bands.
2025-11-25 02:12:57 +07:00
4268626897 Add IchimokuKumoTrend indicator support across application
- Introduced IchimokuKumoTrend indicator in GeneticService with configuration settings for tenkanPeriods, kijunPeriods, senkouBPeriods, offsetPeriods, senkouOffset, and chikouOffset.
- Updated ScenarioHelpers to handle creation and validation of the new indicator type.
- Enhanced CustomScenario, backtest, and scenario pages to include IchimokuKumoTrend in indicator lists and parameter mappings.
- Modified API and types to reflect the addition of the new indicator in relevant enums and mappings.
2025-11-24 19:43:18 +07:00
478dca51e7 Add BollingerBandsPercentBMomentumBreakout indicator support across application
- Introduced BollingerBandsPercentBMomentumBreakout indicator in GeneticService with configuration settings for period and multiplier.
- Updated ScenarioHelpers to handle creation and validation of the new indicator type.
- Enhanced CustomScenario, backtest, and scenario pages to include BollingerBandsPercentBMomentumBreakout in indicator lists and parameter mappings.
- Modified API and types to reflect the addition of the new indicator in relevant enums and mappings.
2025-11-24 17:31:17 +07:00
18f868a221 Add StochasticCross indicator support in CustomScenario and TradeChart components
- Implemented StochasticCross indicator in CustomScenario with associated parameters and labels.
- Enhanced TradeChart to visualize StochasticCross data, including %K and %D series.
- Updated API and types to include kFactor and dFactor properties for StochasticCross.
- Modified backtest and scenario pages to incorporate StochasticCross in indicator lists and parameter mappings.
2025-11-24 11:04:05 +07:00
53f81302ba Return last 24 volume for strategies 2025-11-21 17:02:18 +07:00
190a9cf12d Finish copy trading 2025-11-20 14:46:54 +07:00
030a6b0eba Fix bot running signal 2025-11-18 23:02:38 +07:00
02e46e8d0d Add paginated user retrieval functionality in AdminController and related services. Implemented UsersFilter for filtering user queries and added LastConnectionDate property to User model. Updated database schema and frontend API to support new user management features. 2025-11-17 20:04:17 +07:00
06ef33b7ab Enhance user authentication by adding optional OwnerWalletAddress parameter in LoginRequest and UserService. Update UserController and related components to support the new wallet address functionality, ensuring better user profile management and validation in trading operations. 2025-11-17 13:48:05 +07:00
4b24a934ad Update ExchangeRouter address 2025-11-17 11:12:59 +07:00
1e15d5f23b Add copy trading functionality with StartCopyTrading endpoint and related models. Implemented position copying from master bot and subscription to copy trading stream in LiveTradingBotGrain. Updated TradingBotConfig to support copy trading parameters. 2025-11-16 14:54:17 +07:00
6d661f459e Remove candle from backtest return + fix message when good backtest 2025-11-14 20:49:02 +07:00
479fcca662 Add more test for the daily volumes and add button to set the UIFee Factor 2025-11-14 18:04:58 +07:00
b6e4090f4e Fix backtestTable 2025-11-14 14:49:16 +07:00
0cfc30598b Fix managing with good backtest return 2025-11-14 14:28:13 +07:00
2cc6cc5dee Refactor BacktestExecutor to use net PnL calculations consistently across methods. Updated variable names for clarity and ensured final results reflect net profit after fees. Minor adjustment in TradingBotBase to directly access net PnL from position profit and loss. 2025-11-13 11:56:11 +07:00
6d6f70ae00 Fix SLTP for backtests 2025-11-12 23:52:58 +07:00
57ba32f31e Add bundle version number on the backtest name 2025-11-12 18:11:39 +07:00
14bc98d52d Fix update bundle 2025-11-11 05:47:57 +07:00
8a27155418 Improve a bit workers. bug : Bundle reset after all backtest finish 2025-11-11 05:30:40 +07:00
e8e2ec5a43 Add test for executor 2025-11-11 02:15:57 +07:00
91c766de86 Add admin endpoint to delete bundle backtest requests and implement related UI functionality + Add job resilient 2025-11-10 12:28:07 +07:00
0861e9a8d2 Add admin page for bundle 2025-11-10 11:50:20 +07:00
7e52b7a734 Improve workers for backtests 2025-11-10 01:44:33 +07:00
2ecd4a6306 Fix timeout and daisyui 2025-11-09 13:10:40 +07:00
7e08e63dd1 Add genetic backtest to worker 2025-11-09 03:32:08 +07:00
7dba29c66f Add jobs 2025-11-09 02:08:31 +07:00
1ed58d1a98 Add push-dev command and update Tabs component 2025-11-08 21:54:04 +07:00
044ffcc6f5 Refactor PlatformLineChart and Tabs components for improved layout and styling, enhance WhitelistSettings with responsive design, and implement API candles health check in HealthChecks. Update global styles for scrollbar visibility and adjust tool tabs for better organization. 2025-11-08 04:56:41 +07:00
83d13bde74 Implement API health check badge in NavBar, enhance PlatformLineChart with metric filtering, and refactor PlatformSummary for improved layout and styling. Update dashboard to prioritize Platform Summary tab. 2025-11-08 04:29:50 +07:00
7b8d435521 Enhance layout and styling: Update index.html for full-width root div, adjust tailwind.config.js for container padding and screen sizes, refactor NavBar and LogIn components for improved user experience, and apply global styles for consistent layout across the application 2025-11-08 04:08:29 +07:00
be784a026a Update prod managing url api 2025-11-08 01:46:41 +07:00
76af76e314 Update prod managing url api 2025-11-08 01:26:42 +07:00
42fb17d5e4 update web ui 2025-11-08 00:09:28 +07:00
e0795677e4 Add whitelisting and admin 2025-11-07 23:46:48 +07:00