{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":622348322,"defaultBranch":"main","name":"nx-playground","ownerLogin":"marekm1844","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-04-01T20:58:16.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/22301547?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1699920488.0","currentOid":""},"activityList":{"items":[{"before":"2464c394f825aa4c8e6483d134a5494768e77d6e","after":"15c62939948bbebb54d93124eb7408031f93577a","ref":"refs/heads/main","pushedAt":"2023-11-23T00:17:07.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"Refactor code: Remove unused imports and deleted\nCLI module and service","shortMessageHtmlLink":"Refactor code: Remove unused imports and deleted"}},{"before":"13c5b3e433eb448c3b9c574e2e82dee1509a053f","after":"2464c394f825aa4c8e6483d134a5494768e77d6e","ref":"refs/heads/main","pushedAt":"2023-11-20T01:11:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"Daily profit counter, fix double event saving\n\n- Fixed double event saving whrn created and filled at the same time","shortMessageHtmlLink":"Daily profit counter, fix double event saving"}},{"before":"029188093c396f14b68b21dc577447444068f95e","after":"13c5b3e433eb448c3b9c574e2e82dee1509a053f","ref":"refs/heads/main","pushedAt":"2023-11-19T23:02:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"Refactor FirestoreEventStore to use a composite\nkey for document ID","shortMessageHtmlLink":"Refactor FirestoreEventStore to use a composite"}},{"before":"671d8cd34676597190a072f0f7c0a5a5f8e3caee","after":"029188093c396f14b68b21dc577447444068f95e","ref":"refs/heads/main","pushedAt":"2023-11-19T01:51:02.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"FIX order retrieval event posted from websocket","shortMessageHtmlLink":"FIX order retrieval event posted from websocket"}},{"before":"bd3cda8cfb80f0672fbc11a5f1d448c0016060e5","after":"671d8cd34676597190a072f0f7c0a5a5f8e3caee","ref":"refs/heads/main","pushedAt":"2023-11-16T17:30:07.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"Fix order not found error and websocket\nreconnection issue","shortMessageHtmlLink":"Fix order not found error and websocket"}},{"before":"93cfd1fe00f13ae5781b4d4da43d973e815ef1b5","after":"bd3cda8cfb80f0672fbc11a5f1d448c0016060e5","ref":"refs/heads/main","pushedAt":"2023-11-14T00:13:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"Remove BinanceWebsocketService and update\ndependencies.","shortMessageHtmlLink":"Remove BinanceWebsocketService and update"}},{"before":"2f357b133515553cab863ef56f24930c2f7e6fc6","after":null,"ref":"refs/heads/Trading","pushedAt":"2023-11-14T00:08:08.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"}},{"before":"ea4cda5495c3833e6349c5d89e41a4353301a644","after":"93cfd1fe00f13ae5781b4d4da43d973e815ef1b5","ref":"refs/heads/main","pushedAt":"2023-11-14T00:08:00.000Z","pushType":"pr_merge","commitsCount":14,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"Merge pull request #12 from marekm1844/Trading\n\nRefactor and improve order creation and management","shortMessageHtmlLink":"Merge pull request #12 from marekm1844/Trading"}},{"before":"40870a49ffde1f9c27bb125230cdbe779d383aab","after":"2f357b133515553cab863ef56f24930c2f7e6fc6","ref":"refs/heads/Trading","pushedAt":"2023-11-14T00:05:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"Remove unused code related to Binance WebSocket\nservice","shortMessageHtmlLink":"Remove unused code related to Binance WebSocket"}},{"before":"0fb6e5a2b5375e9a9d93db7d30f4b6ec7f0cda93","after":"40870a49ffde1f9c27bb125230cdbe779d383aab","ref":"refs/heads/Trading","pushedAt":"2023-11-13T23:39:12.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"Refactor BinanceConnectorWebsocketService to\nhandle order fill and cancellation events","shortMessageHtmlLink":"Refactor BinanceConnectorWebsocketService to"}},{"before":"d78e2a9682f132764b734dcbbc91d163b328abb9","after":"0fb6e5a2b5375e9a9d93db7d30f4b6ec7f0cda93","ref":"refs/heads/Trading","pushedAt":"2023-11-13T01:01:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"Handlers for status from websocket update\n\n- Update Create Order test by adding new price and orderId values and removing old ones\n- Change TypeScript file by updating order DTO and constructor with \"UpdateOrderDto\" import and replacing \"IOrderProps\" with \"UpdateOrderDto\" in the constructor\n- Update cancelOrder method in the order class to accept an orderStatus parameter for more granular cancellation of orders\n- Update order status to \"CANCELLED\" and modify import statements to include the \"OrderStatus\" enum from the \"../domain/models/order.interface\" file\n- Refactor orderCreatedSaga function by adding a new import and removing unnecessary commented code\n- Update constructor of the Order class to include the orderStatus parameter and the necessary import statement for the OrderStatus enum\n- Add new class called OrderFillFailError that extends TradeError for handling failed order fills, with a constructor that takes a reason parameter and sets the error message accordingly\n- Add logging to the constructor of OrderCreatedEvent, which logs the ID of the payload\n- Update cancelOrder and updateOrderFilled functions in the order class by adding a parameter for the order status and making necessary changes to the code logic, also remove previous implementation of the cancelOrder function\n- Refactor BinanceWebsocketService class to implement the OnModuleInit interface, update event listeners to use the new implementation, and remove unnecessary imports and code\n- Update import statements in the TypeScript file to add new dependencies such as BinanceWebsocketService, UpdateOrderHandler, ListenForOrderUpdatesHandler, and BinanceConnectorWebsocketService. Also update CommandHandlers array by removing some handlers and adding new ones\n- Update dependencies for Binance connector and connector-typescript to the latest versions, \"@binance/connector\": \"^3.0.0\" and \"@binance/connector-typescript\": \"^0.3.3\", respectively\n- Update dependencies to their latest versions, including \"@binance/connector-typescript@0.3.3\", \"@binance/connector","shortMessageHtmlLink":"Handlers for status from websocket update"}},{"before":"663c283a82624596fff1ccbc00f41d5bf9d6eba1","after":"d78e2a9682f132764b734dcbbc91d163b328abb9","ref":"refs/heads/Trading","pushedAt":"2023-10-31T13:12:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"Selling order, and tracking profit with OrderSaga and read model.\n\n- Updates order creation and selling tests\n- Adds a new sell endpoint to the OrderController\n- Converts CreateOrderRequest payload to CreateOrderDto\n- Executes create order command\n- Returns a success message and the created order\n- Refactors the OrderSaga class\n- Adds the profitLossTrackerSaga method\n- Removes the unused newOrderCreated method\n- Adds event handling for filled orders\n- Imports the OrderFilledEvent\n- Checks the order status\n- Applies the event if the order is filled\n- Refactors the imports and dependencies\n- Adds new imports and dependencies related to FirestoreProfitLossRepository, UpdateProfitLossTrackerHandler, and OrderSaga\n- Removes outdated CommandHandlers.","shortMessageHtmlLink":"Selling order, and tracking profit with OrderSaga and read model."}},{"before":"d81e7f3b99fb62e9475692c4ae8777cd6e7e3caa","after":"663c283a82624596fff1ccbc00f41d5bf9d6eba1","ref":"refs/heads/Trading","pushedAt":"2023-10-26T23:01:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"Use RxJS to rerty repository save\n\n- Refactor save method in CreateOrderHandler using RxJS operators","shortMessageHtmlLink":"Use RxJS to rerty repository save"}},{"before":"8407366960ccaee989e10a484c3fd63a8d3a21e9","after":"d81e7f3b99fb62e9475692c4ae8777cd6e7e3caa","ref":"refs/heads/Trading","pushedAt":"2023-10-25T00:05:07.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"Added Order Cancel and achanged order aggregate to use factory for creation and rehydrate\n\nAdds a test case for canceling an order using the API endpoint http://localhost:3000/api/orders/cancel\n- Updates the order creation method in the Publisher class by replacing the existing instantiation approach with a more efficient and readable approach using mergeObjectContext\n- Adds the cancel order functionality to the OrderController by importing the necessary dependencies, implementing the cancel method, and executing the CancelOrderCommand with the provided cancelOrderDto\n- Adds the OrderCancelFailError class which extends the TradeError class and provides a constructor to handle order cancellation failures with a specific reason message\n- Updates the enum key name from 'CANCELED' to 'CANCELLED' to align with the correct spelling\n- Refactors the Order class by adding the createNew and cancelOrder methods, while removing the unnecessary code from the constructor. This improves the readability and maintainability of the code\n- Updates the getEventsForOrder method signature by changing the return type from Promise to Promise and removes the unnecessary import of IOrderEvent from '../events/order-events.interface'\n- Updates the cancelOrder method by adding error handling and updating the order status. The additions include importing OrderCancelFailError, implementing the cancelOrder logic with try-catch block, and setting the order status to OrderStatus.CANCELLED. The deletions include removing the import of OrderCreationFailedError and the previous cancelOrder implementation that set the order status to OrderStatus.CANCELED\n- Updates the order status in the code from OrderStatus.CANCELED to OrderStatus.CANCELLED for consistency and clarity\n- Refactors the getEventsForOrder method to improve performance and replaces debug logging statements for better clarity and debugging purposes\n- Adds the CancelOrderHandler to the handlers directory in order to handle cancellation of orders.","shortMessageHtmlLink":"Added Order Cancel and achanged order aggregate to use factory for cr…"}},{"before":"47cdf3431d94e5a909b2db209df306bdc5a58c94","after":"8407366960ccaee989e10a484c3fd63a8d3a21e9","ref":"refs/heads/Trading","pushedAt":"2023-10-24T00:12:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"This commit refactors the event validation logic for payload id and removes unnecessary imports and commented out code.\n\n- Refactored event validation logic for payload id\n- Replaced previous check with a more comprehensive validation condition\n- Removed unused import statement\n- Removed commented out code that is no longer needed in the codebase","shortMessageHtmlLink":"This commit refactors the event validation logic for payload id and r…"}},{"before":"66aadcb32f470b41f3ccc837d852fdcd41859330","after":"47cdf3431d94e5a909b2db209df306bdc5a58c94","ref":"refs/heads/Trading","pushedAt":"2023-10-23T23:27:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"Add Trading to the project branch to sonar","shortMessageHtmlLink":"Add Trading to the project branch to sonar"}},{"before":"6f4003070f59e3a416309826efa445b267cafeaa","after":"66aadcb32f470b41f3ccc837d852fdcd41859330","ref":"refs/heads/Trading","pushedAt":"2023-10-23T23:19:48.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"This commit message includes various refactorings and updates to improve the order creation process, including changes to the Order and OrderEvent classes, as well as updates to the BinanceApiService and BinanceWebsocketService.\n\n Adds a test case for creating an order by sending a POST request to the specified API endpoint with the given payload.\n- Adds the TradeModule import and updates the environment file path to dynamically select the correct environment file based on the NODE_ENV variable.\n- Includes necessary additions to the code and removes unnecessary deletions, improving the overall functionality and maintainability of the project.\n- Refactors the constructor of the Order class by adding 'readonly' modifiers to the parameters and updating the parameter names for better clarity and consistency.\n- Refactors the constructor of the OrderEvent class by removing unused imports and properties, and replaces it with a simplified constructor that takes in a Partial payload.\n- Refactors the OrderEvent class by replacing the existing constructor with a new one that accepts a public readonly payload property instead of separate properties for id, orderId, eventData, and createdAt. The changes improve code readability and maintainability.\n- Updates the OrderEvent interface by adding the IOrderEventMetadata interface and the ISavedOrderEvent interface, as well as adding the isOrderEvent function to check if an event is of type IOrderEvent.\n- Refactors the constructor of the OrderEvent class to use a readonly payload property instead of separate properties for id, orderId, eventData, and createdAt. The constructor now accepts a Partial payload as an argument. The imports for OrderEventDto and uuid have been removed as they are no longer needed.\n- Refactors the constructor of the OrderEvent class to accept a Partial payload directly as an argument instead of using a separate data object, and also removes unnecessary imports and properties from the class.\n- Refactors the constructor and imports in the OrderEvent class by removing unnecessary imports and properties, and updating the constructor to use a readonly payload of type Partial.\n- Adds clientOrderId and cummulativeQuoteQuantity properties to the existing codebase.\n- Refactors the Order class to use UUID for ID generation, updates the order","shortMessageHtmlLink":"This commit message includes various refactorings and updates to impr…"}},{"before":"a22f2808b21fd2dffac822bf7898c892f680f001","after":"6f4003070f59e3a416309826efa445b267cafeaa","ref":"refs/heads/Trading","pushedAt":"2023-07-13T22:43:20.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"Added logging to same type strategy","shortMessageHtmlLink":"Added logging to same type strategy"}},{"before":"e05855d774a7910c7acf83af4ef2ecd38caa4d73","after":"a22f2808b21fd2dffac822bf7898c892f680f001","ref":"refs/heads/Trading","pushedAt":"2023-07-12T23:31:48.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"Updates the WebSocket and heartbeat functionality\n\n- Changes to WebSocket setup and heartbeat functionality in the code\n- Additions:\n - Define new variables and functions for handling WebSocket connections and heartbeats","shortMessageHtmlLink":"Updates the WebSocket and heartbeat functionality"}},{"before":null,"after":"e05855d774a7910c7acf83af4ef2ecd38caa4d73","ref":"refs/heads/Trading","pushedAt":"2023-07-12T22:57:53.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"Init on trading module","shortMessageHtmlLink":"Init on trading module"}},{"before":"b89c8f89a1a8f9a8f85c9271056e0f7713f8c9c0","after":"ea4cda5495c3833e6349c5d89e41a4353301a644","ref":"refs/heads/main","pushedAt":"2023-07-04T11:59:50.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"Add formation strategy based on same type symbol\n\n- Updates imports and logging for Downtrend notifications\n - Updates logging message to include interval, symbol, and createdAt values\n- Refactors logging message for Uptrend notifications\n - Includes interval information\n - Includes exact time of notification creation\n- Updates sendRawNotification method\n - Includes module information in notification message\n - Adds module information to message string\n- Refactors isFormationDetected method\n - Replaces existing code with updated logic\n - Adds new method getFormationName to return formation name\n- Updates isFormationDetected() method\n - Returns Promise instead of boolean\n - Adds new getFormationName() method to retrieve formation name\n- Adds new imports, injects TelegramService and ConfigService\n- Updates constructor and logic in trading service\n - Includes new strategies\n - Sends notifications using TelegramService\n - Removes unnecessary imports and code related to old DogFormationStrategy\n- Updates providers and imports in wave analysis module\n - Adds FirestoreLastWaveRepository, FirestoreModule, GetLastWaveCompletedQuery, SameTypeFormationStrategy, and NotificationModule\n - Removes WaveCompletedProcessor and DogFormationStrategy","shortMessageHtmlLink":"Add formation strategy based on same type symbol"}},{"before":"68c15bd1e07854c2ee9f657dbe2b5444a0b9192e","after":"b89c8f89a1a8f9a8f85c9271056e0f7713f8c9c0","ref":"refs/heads/main","pushedAt":"2023-07-02T23:15:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"WaveCompletedProcessor to use formation strategy,\n\n- Refactors the WaveCompletedProcessor\n- Implements a new formation strategy using the DogFormationStrategy class\n- Implements the IFormationStrategy interface\n- Removes old formation detection logic\n- Updates import statements accordingly\n- Updates the providers in the app module\n- Includes DogFormationStrategy in the providers list","shortMessageHtmlLink":"WaveCompletedProcessor to use formation strategy,"}},{"before":"c63b59680f0a1919fdb74075a280b3924ce0a503","after":"68c15bd1e07854c2ee9f657dbe2b5444a0b9192e","ref":"refs/heads/main","pushedAt":"2023-06-27T22:05:56.561Z","pushType":"push","commitsCount":1,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"Apply fix for recconect in Candle Provider\n\n- Implements a new function to close the specified candle for a trading symbol and time interval\n- Updates the documentation accordingly","shortMessageHtmlLink":"Apply fix for recconect in Candle Provider"}},{"before":"b39f44dd69c055b2af44b42b7c484e748ca792e2","after":"c63b59680f0a1919fdb74075a280b3924ce0a503","ref":"refs/heads/main","pushedAt":"2023-06-19T23:06:44.291Z","pushType":"push","commitsCount":1,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"Refactor WaveAnalyzer cache\n\n- Cache mechanism optimized by adding a Set data structure to store cache keys and delete the oldest cache key when the number of keys exceeds 1000 for better performance\n- Unused ruleEvaluationCache and waveTasks data structures removed","shortMessageHtmlLink":"Refactor WaveAnalyzer cache"}},{"before":"3522e40acc5299af698a1de5f2427c8d93aa2a69","after":"b39f44dd69c055b2af44b42b7c484e748ca792e2","ref":"refs/heads/main","pushedAt":"2023-06-19T22:53:02.131Z","pushType":"push","commitsCount":1,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"Added analyzer factory and CandleProvider facotry setup on module file to seperate for multiple symbols, intervals.\n\n- Refactors Wave Analyzer rules and factory implementation with updated and optimized code\n- Refactors WaveRepository and QueueService dependencies by adding private readonly declarations and removing unnecessary @Inject decorators, removes redundant code for wave analysis\n- Refactors Candle Data Provider by adding new imports, using a factory method, and removing deprecated code.","shortMessageHtmlLink":"Added analyzer factory and CandleProvider facotry setup on module fil…"}},{"before":"8d5416355ddbdc5f68a831834118448d15b28a99","after":"3522e40acc5299af698a1de5f2427c8d93aa2a69","ref":"refs/heads/main","pushedAt":"2023-06-14T15:12:38.316Z","pushType":"push","commitsCount":1,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"remove aws-cdk-lib/pipelines","shortMessageHtmlLink":"remove aws-cdk-lib/pipelines"}},{"before":"52b1f24afa575f7f89579a716a2fa446b0c4a8ba","after":"8d5416355ddbdc5f68a831834118448d15b28a99","ref":"refs/heads/main","pushedAt":"2023-06-14T15:09:53.221Z","pushType":"push","commitsCount":1,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"This commit includes various updates such as refactoring websocket connection to fix recconect and message handling and adding new functionality for processing wave completion events.\n\n- Add WaveFormationsModule to imports and update providers\n- Add notification service to wave uptrend event processor\n- Update exports for better code organization\n- Add WaveCompletedEventDTO and WaveCompletedEventStrategy classes for publishing events\n- Refactor websocket connection and message handling with EventEmitter and message queue\n- Add Wave Analyzer module with Firestore implementation and remove old imports/providers/controllers\n- Add functionality for processing wave completion events, including creating a map, detecting dog formations, and logging waves as JSON without candles.","shortMessageHtmlLink":"This commit includes various updates such as refactoring websocket co…"}},{"before":"8bc63a7adca6f4a0dd9ae4ae2a831eeb8db46c20","after":"52b1f24afa575f7f89579a716a2fa446b0c4a8ba","ref":"refs/heads/main","pushedAt":"2023-06-12T21:40:14.105Z","pushType":"push","commitsCount":1,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"The commit includes refactoring of the WaveAnalyzer API Controller and evaluate method, addition ofWave Analyzer DTO , and updates to dependencies for validator, class-validator\n\n- WaveAnalyzer API controller has been refactored.\n - NestJS decorators have been implemented for validation.\n - Start and stop methods now accept a request body object instead of individual parameters.\n- Evaluate method has been refactored.\n - A forEach loop has been used instead of a for loop for better readability and performance.\n- Class Validator dependency has been added to the project.\n - This enables validation of incoming data.\n- Dependencies for validator, class-validator and libphonenumber-js have been updated to their latest versions.","shortMessageHtmlLink":"The commit includes refactoring of the WaveAnalyzer API Controller an…"}},{"before":"4cea4649c44f4a1ed9004051e1a7ec0f8055e848","after":"8bc63a7adca6f4a0dd9ae4ae2a831eeb8db46c20","ref":"refs/heads/main","pushedAt":"2023-06-12T21:12:41.621Z","pushType":"push","commitsCount":1,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"This commit includes multiple refactorings, such as improving the rules evaluation process, importing modules from a single source, updating the Inject import in NestJS, refactoring wave class methods, firebase-admin import and injectable decorator, removing unused imports, and improving readability and maintainability of the Candle class.\n\n- Refactored rules evaluation process to improve performance by replacing forEach method with a for-of loop and using await on each rule evaluation.\n- Removed unused module and imported required modules from a single source.\n- Updated import of Inject in NestJS by removing unused import and adding the required one.\n- Refactored methods in the wave class by adding private methods to improve code readability and maintainability. Also updated logic of existing methods to work correctly.\n- Refactored firebase-admin import and injectable decorator by removing unused imports and adding necessary ones.\n- Removed unused imports, Inject and IWaveFactory, from the file.\n- Refactored Candle class to improve readability and maintainability by adding private methods and updating existing logic. Changes include updating the way candles are added, sorted, and updated, as well as updating the datetime range and shadow and corpse values.","shortMessageHtmlLink":"This commit includes multiple refactorings, such as improving the rul…"}},{"before":"0d705e37ae0cf7c4d808f25c9fa1cc156e46778e","after":"4cea4649c44f4a1ed9004051e1a7ec0f8055e848","ref":"refs/heads/main","pushedAt":"2023-06-12T20:41:55.005Z","pushType":"push","commitsCount":2,"pusher":{"login":"marekm1844","name":"Marek Majdak","path":"/marekm1844","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22301547?s=80&v=4"},"commit":{"message":"Minor tweaks and preparing started wave formatrion module\n\n- added corpse and shadow details do waves\n- refactored wave-analyzer to reduce complexity\n- increased max listeners for IORedis\n- added onmoduledestroy to telegrambot\n- reformatting","shortMessageHtmlLink":"Minor tweaks and preparing started wave formatrion module"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyMy0xMS0yM1QwMDoxNzowNy4wMDAwMDBazwAAAAO1qw7i","startCursor":"Y3Vyc29yOnYyOpK7MjAyMy0xMS0yM1QwMDoxNzowNy4wMDAwMDBazwAAAAO1qw7i","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wNi0xMlQyMDo0MTo1NS4wMDUzMDJazwAAAAM_8hqz"}},"title":"Activity · marekm1844/nx-playground"}