096fb500e4
Add position count property map
2025-11-19 14:16:30 +07:00
9b25201def
Remove SSL for kaigen API url
2025-11-19 09:08:58 +07:00
6db2b34f9f
Update influxdb api key
2025-11-19 09:01:53 +07:00
3236edd2bb
Add Kaigen API health check and configuration
...
- Introduced Kaigen configuration section in appsettings.Oda.json with BaseUrl.
- Added HTTP client for Kaigen API health check in Program.cs.
- Registered KaigenHealthCheck service for monitoring Kaigen API connectivity.
2025-11-19 00:59:49 +07:00
030a6b0eba
Fix bot running signal
2025-11-18 23:02:38 +07:00
68e9b2348c
Add PositionCount property to Backtest models and responses
...
- Introduced PositionCount to Backtest, LightBacktest, and their respective response models.
- Updated BacktestController and BacktestExecutor to include PositionCount in responses.
- Modified database schema to accommodate new PositionCount field in relevant entities.
2025-11-18 22:23:20 +07:00
0ee190786e
Prevent user to open multiple strategy on the same ticker
2025-11-18 13:58:50 +07:00
87712038ff
Update configs
2025-11-18 11:23:21 +07:00
6341d712ef
Update Config local to remote name
2025-11-18 11:00:01 +07:00
9855a6c6ed
Update configs
2025-11-18 10:57:46 +07:00
52c11e30c4
Refactor TradingBotBase to manage current balance more effectively. Introduced _currentBalance field to track balance updates during trading operations. Updated wallet balance logic to utilize _currentBalance for consistency. Added new entries to performance benchmark CSV files for recent test runs.
2025-11-17 23:53:53 +07:00
091f617e37
Update configuration files for production, sandbox, and local environments. Changed Kaigen BaseUrl and database connection strings to point to new server addresses. Adjusted CORS allowed origins and authentication valid audiences for improved security and functionality.
2025-11-17 22:59:15 +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
8697f1598d
Add validation for Kudai strategy staking requirements in StartCopyTradingCommandHandler. Implemented methods in IEvmManager to retrieve staked KUDAI balance and GBC NFT count. Enhanced error handling for staking checks.
2025-11-17 12:57:47 +07:00
4b24a934ad
Update ExchangeRouter address
2025-11-17 11:12:59 +07:00
c229212acd
Add copy trading authorization checks in LiveTradingBotGrain and StartCopyTradingCommandHandler. Integrated IKaigenService to verify user ownership of master strategy keys before allowing copy trading. Enhanced error handling and logging for authorization verification.
2025-11-16 22:11:54 +07:00
2baa2e173c
Add localhost authorize for production
2025-11-16 18:27:19 +07:00
ec88b124e6
Refactor LiveTradingBotGrain to close all open positions before stopping the bot. Introduced CloseAllOpenPositionsAsync method to handle position closure and logging, ensuring a smoother stop process. Removed the previous check for open positions in the database.
2025-11-16 18:22:48 +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
428e36d744
Add todo for backtest performance
2025-11-15 20:53:08 +07:00
49a693b44a
Remove orderBy to improve perfs
2025-11-15 14:17:21 +07:00
bed25e7222
Optimize backtest memory usage by implementing a rolling window for candle storage and update performance benchmarks with new test data.
2025-11-15 13:54:39 +07:00
e814eb749c
Update MessengerService to reflect initial balance and net PnL in messages
2025-11-15 13:44:50 +07:00
6d661f459e
Remove candle from backtest return + fix message when good backtest
2025-11-14 20:49:02 +07:00
b4005a2d1e
Add telemetry for update signal and run bot
2025-11-14 20:22:01 +07:00
ac1707c439
Add test for RSI Divergence
2025-11-14 20:02:51 +07:00
b60295fcb2
Add test for dailysnapshot
2025-11-14 19:42:52 +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
d27df5de51
Add test for platform summary calculation
2025-11-14 17:21:39 +07:00
b6e4090f4e
Fix backtestTable
2025-11-14 14:49:16 +07:00
a6ae3a971c
Rename finalPnl to netPnl in tradinbox for ROI
2025-11-14 14:37:32 +07:00
0cfc30598b
Fix managing with good backtest return
2025-11-14 14:28:13 +07:00
61ade29d4e
Remove logs for position update on pnl
2025-11-14 13:39:39 +07:00
258dd48867
Add more logs for backtest completed
2025-11-14 13:27:20 +07:00
42993735d0
Add logs for BacktestExecutor.cs
2025-11-14 13:17:48 +07:00
d341ee05c9
Add more tests + Log pnl for each backtest
2025-11-14 13:12:04 +07:00
2548e9b757
Fix all tests
2025-11-14 04:03:00 +07:00
0831cf2ca0
Improve tests logic
2025-11-14 03:18:11 +07:00
b712cf8fc3
Fix test for trading metrics
2025-11-14 03:04:09 +07:00
460a7bd559
Fix realized pnl on backtest save + add tests (not all passing)
2025-11-14 02:38:15 +07:00
1f7d914625
Add cancellation token support to backtest execution and update progress handling
2025-11-13 18:05:55 +07:00
17d904c445
Fix test assert
2025-11-13 12:46:55 +07:00
155fb2b569
Make more backtest parallele and run bundle health only on instance 1
2025-11-13 12:22:23 +07:00
27e2cf0a09
Update config to handle more backtest
2025-11-13 12:08:16 +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
d8f7a73605
Update test
2025-11-13 00:55:14 +07:00
6d6f70ae00
Fix SLTP for backtests
2025-11-12 23:52:58 +07:00
3b176c290c
Update precalculated indicators values
2025-11-12 23:26:12 +07:00
a8f55c80a9
Fix bundle completion
2025-11-12 22:40:58 +07:00