Commit Graph

296 Commits

Author SHA1 Message Date
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
3b1ed828ff Remove unnecessary build 2025-11-06 10:56:23 +07:00
bdd68eafbe Fix building webui 2025-11-06 01:04:23 +07:00
758e376381 disable swagger + update cors for production 2025-10-31 00:55:29 +07:00
29685fd68d Add healthchecks for all candles + Claim ui fee button 2025-10-29 09:31:00 +07:00
5560c6942e Add checks for the Indicator request endpoint 2025-10-28 18:04:10 +07:00
da908d7da2 Update to webhook 2025-10-28 17:46:05 +07:00
92c28367cf Add Versionning for bundle backtest request 2025-10-23 13:37:53 +07:00
6bfefc91c8 Deserialized variant for bundle backtest 2025-10-23 12:31:30 +07:00
a1fe7ed3b3 Add saved bundle status 2025-10-22 16:45:49 +07:00
af08462e59 Add save only for bundle backtest 2025-10-21 16:38:51 +07:00