Browse Source
			
			
			Bugfix/market price in base currency during the portfolio snapshot calculation (#5828)
			
				* Add fallback for market price in base currency
* Update changelog
			
			
				pull/5837/head
			
			
		 
		
			
				
					
						 vitalymatyushik
					
					6 days ago
						vitalymatyushik
					
					6 days ago
					
						
							committed by
							
								 GitHub
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: B5690EEEBB952194
						
					
				
			
		
		
		
	
		
			
				 2 changed files with 
5 additions and 
1 deletions
			 
			
		 
		
			
				- 
					
					
					 
					CHANGELOG.md
				
- 
					
					
					 
					apps/api/src/app/portfolio/calculator/portfolio-calculator.ts
				
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -26,6 +26,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | 
			
		
	
		
		
			
				
					|  |  | - Fixed the style in the footer row of the accounts table |  |  | - Fixed the style in the footer row of the accounts table | 
			
		
	
		
		
			
				
					|  |  | - Fixed the rendering of names and symbols for custom assets in the import activities dialog |  |  | - Fixed the rendering of names and symbols for custom assets in the import activities dialog | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |  |  |  | ### Fixed | 
			
		
	
		
		
			
				
					|  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |  |  |  | - Fixed an issue with the market price in base currency during the portfolio snapshot calculation | 
			
		
	
		
		
			
				
					|  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  | ## 2.210.1 - 2025-10-22 |  |  | ## 2.210.1 - 2025-10-22 | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  | ### Added |  |  | ### Added | 
			
		
	
	
		
		
			
				
					|  | 
 | 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -336,7 +336,7 @@ export abstract class PortfolioCalculator { | 
			
		
	
		
		
			
				
					|  |  |       ).mul( |  |  |       ).mul( | 
			
		
	
		
		
			
				
					|  |  |         exchangeRatesByCurrency[`${item.currency}${this.currency}`]?.[ |  |  |         exchangeRatesByCurrency[`${item.currency}${this.currency}`]?.[ | 
			
		
	
		
		
			
				
					|  |  |           endDateString |  |  |           endDateString | 
			
		
	
		
		
			
				
					
					|  |  |         ] |  |  |         ] ?? 1 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       ); |  |  |       ); | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |       const { |  |  |       const { | 
			
		
	
	
		
		
			
				
					|  | 
 |