 Thomas Kaul
					
					5 days ago
						Thomas Kaul
					
					5 days ago
					
						
							committed by
							
								 GitHub
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: B5690EEEBB952194
						
					
				
			
		
		
		
	
		
			
				 17 changed files with 
64 additions and 
17 deletions
			 
			
		 
		
			
				- 
					
					
					 
					test/import/not-ok/invalid-data-source.json
				
- 
					
					
					 
					test/import/not-ok/invalid-date-before-min.json
				
- 
					
					
					 
					test/import/not-ok/invalid-date.json
				
- 
					
					
					 
					test/import/not-ok/invalid-symbol.json
				
- 
					
					
					 
					test/import/not-ok/invalid-type.json
				
- 
					
					
					 
					test/import/not-ok/unavailable-exchange-rate.json
				
- 
					
					
					 
					test/import/ok/500-activities.json
				
- 
					
					
					 
					test/import/ok/btceur.json
				
- 
					
					
					 
					test/import/ok/btcusd-short.json
				
- 
					
					
					 
					test/import/ok/btcusd.json
				
- 
					
					
					 
					test/import/ok/derived-currency.json
				
- 
					
					
					 
					test/import/ok/novn-buy-and-sell-partially.json
				
- 
					
					
					 
					test/import/ok/novn-buy-and-sell.json
				
- 
					
					
					 
					test/import/ok/penthouse-apartment.json
				
- 
					
					
					 
					test/import/ok/sample.json
				
- 
					
					
					 
					test/import/ok/vti-buy-long-history.json
				
- 
					
					
					 
					test/import/ok/without-accounts.json
				
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -14,5 +14,11 @@ | 
			
		
	
		
		
			
				
					|  |  |       "type": "BUY", |  |  |       "type": "BUY", | 
			
		
	
		
		
			
				
					|  |  |       "unitPrice": 100.0 |  |  |       "unitPrice": 100.0 | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |   ] |  |  |   ], | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |   "user": { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     "settings": { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |       "currency": "USD", | 
			
		
	
		
		
			
				
					|  |  |  |  |  |       "performanceCalculationType": "ROAI" | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |  |  |  |   } | 
			
		
	
		
		
			
				
					|  |  | } |  |  | } | 
			
		
	
	
		
		
			
				
					|  | 
 | 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -14,5 +14,11 @@ | 
			
		
	
		
		
			
				
					|  |  |       "type": "BUY", |  |  |       "type": "BUY", | 
			
		
	
		
		
			
				
					|  |  |       "unitPrice": 100.0 |  |  |       "unitPrice": 100.0 | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |   ] |  |  |   ], | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |   "user": { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     "settings": { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |       "currency": "USD", | 
			
		
	
		
		
			
				
					|  |  |  |  |  |       "performanceCalculationType": "ROAI" | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |  |  |  |   } | 
			
		
	
		
		
			
				
					|  |  | } |  |  | } | 
			
		
	
	
		
		
			
				
					|  | 
 | 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -14,5 +14,11 @@ | 
			
		
	
		
		
			
				
					|  |  |       "type": "BUY", |  |  |       "type": "BUY", | 
			
		
	
		
		
			
				
					|  |  |       "unitPrice": 100.0 |  |  |       "unitPrice": 100.0 | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |   ] |  |  |   ], | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |   "user": { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     "settings": { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |       "currency": "USD", | 
			
		
	
		
		
			
				
					|  |  |  |  |  |       "performanceCalculationType": "ROAI" | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |  |  |  |   } | 
			
		
	
		
		
			
				
					|  |  | } |  |  | } | 
			
		
	
	
		
		
			
				
					|  | 
 | 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -14,5 +14,11 @@ | 
			
		
	
		
		
			
				
					|  |  |       "type": "BUY", |  |  |       "type": "BUY", | 
			
		
	
		
		
			
				
					|  |  |       "unitPrice": 100.0 |  |  |       "unitPrice": 100.0 | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |   ] |  |  |   ], | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |   "user": { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     "settings": { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |       "currency": "USD", | 
			
		
	
		
		
			
				
					|  |  |  |  |  |       "performanceCalculationType": "ROAI" | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |  |  |  |   } | 
			
		
	
		
		
			
				
					|  |  | } |  |  | } | 
			
		
	
	
		
		
			
				
					|  | 
 | 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -14,5 +14,11 @@ | 
			
		
	
		
		
			
				
					|  |  |       "type": "<invalid>", |  |  |       "type": "<invalid>", | 
			
		
	
		
		
			
				
					|  |  |       "unitPrice": 100.0 |  |  |       "unitPrice": 100.0 | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |   ] |  |  |   ], | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |   "user": { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     "settings": { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |       "currency": "USD", | 
			
		
	
		
		
			
				
					|  |  |  |  |  |       "performanceCalculationType": "ROAI" | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |  |  |  |   } | 
			
		
	
		
		
			
				
					|  |  | } |  |  | } | 
			
		
	
	
		
		
			
				
					|  | 
 | 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -15,5 +15,11 @@ | 
			
		
	
		
		
			
				
					|  |  |       "date": "1990-01-01T00:00:00.000Z", |  |  |       "date": "1990-01-01T00:00:00.000Z", | 
			
		
	
		
		
			
				
					|  |  |       "symbol": "MSFT" |  |  |       "symbol": "MSFT" | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |   ] |  |  |   ], | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |   "user": { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     "settings": { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |       "currency": "USD", | 
			
		
	
		
		
			
				
					|  |  |  |  |  |       "performanceCalculationType": "ROAI" | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |  |  |  |   } | 
			
		
	
		
		
			
				
					|  |  | } |  |  | } | 
			
		
	
	
		
		
			
				
					|  | 
 | 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -6019,7 +6019,8 @@ | 
			
		
	
		
		
			
				
					|  |  |   ], |  |  |   ], | 
			
		
	
		
		
			
				
					|  |  |   "user": { |  |  |   "user": { | 
			
		
	
		
		
			
				
					|  |  |     "settings": { |  |  |     "settings": { | 
			
		
	
		
		
			
				
					
					|  |  |       "currency": "USD" |  |  |       "currency": "USD", | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |       "performanceCalculationType": "ROAI" | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |   } |  |  |   } | 
			
		
	
		
		
			
				
					|  |  | } |  |  | } | 
			
		
	
	
		
		
			
				
					|  | 
 | 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -23,7 +23,8 @@ | 
			
		
	
		
		
			
				
					|  |  |   ], |  |  |   ], | 
			
		
	
		
		
			
				
					|  |  |   "user": { |  |  |   "user": { | 
			
		
	
		
		
			
				
					|  |  |     "settings": { |  |  |     "settings": { | 
			
		
	
		
		
			
				
					
					|  |  |       "currency": "USD" |  |  |       "currency": "USD", | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |       "performanceCalculationType": "ROAI" | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |   } |  |  |   } | 
			
		
	
		
		
			
				
					|  |  | } |  |  | } | 
			
		
	
	
		
		
			
				
					|  | 
 | 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -36,7 +36,8 @@ | 
			
		
	
		
		
			
				
					|  |  |   ], |  |  |   ], | 
			
		
	
		
		
			
				
					|  |  |   "user": { |  |  |   "user": { | 
			
		
	
		
		
			
				
					|  |  |     "settings": { |  |  |     "settings": { | 
			
		
	
		
		
			
				
					
					|  |  |       "currency": "USD" |  |  |       "currency": "USD", | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |       "performanceCalculationType": "ROAI" | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |   } |  |  |   } | 
			
		
	
		
		
			
				
					|  |  | } |  |  | } | 
			
		
	
	
		
		
			
				
					|  | 
 | 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -23,7 +23,8 @@ | 
			
		
	
		
		
			
				
					|  |  |   ], |  |  |   ], | 
			
		
	
		
		
			
				
					|  |  |   "user": { |  |  |   "user": { | 
			
		
	
		
		
			
				
					|  |  |     "settings": { |  |  |     "settings": { | 
			
		
	
		
		
			
				
					
					|  |  |       "currency": "USD" |  |  |       "currency": "USD", | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |       "performanceCalculationType": "ROAI" | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |   } |  |  |   } | 
			
		
	
		
		
			
				
					|  |  | } |  |  | } | 
			
		
	
	
		
		
			
				
					|  | 
 | 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -31,7 +31,8 @@ | 
			
		
	
		
		
			
				
					|  |  |   ], |  |  |   ], | 
			
		
	
		
		
			
				
					|  |  |   "user": { |  |  |   "user": { | 
			
		
	
		
		
			
				
					|  |  |     "settings": { |  |  |     "settings": { | 
			
		
	
		
		
			
				
					
					|  |  |       "currency": "USD" |  |  |       "currency": "USD", | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |       "performanceCalculationType": "ROAI" | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |   } |  |  |   } | 
			
		
	
		
		
			
				
					|  |  | } |  |  | } | 
			
		
	
	
		
		
			
				
					|  | 
 | 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -27,7 +27,8 @@ | 
			
		
	
		
		
			
				
					|  |  |   ], |  |  |   ], | 
			
		
	
		
		
			
				
					|  |  |   "user": { |  |  |   "user": { | 
			
		
	
		
		
			
				
					|  |  |     "settings": { |  |  |     "settings": { | 
			
		
	
		
		
			
				
					
					|  |  |       "currency": "CHF" |  |  |       "currency": "CHF", | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |       "performanceCalculationType": "ROAI" | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |   } |  |  |   } | 
			
		
	
		
		
			
				
					|  |  | } |  |  | } | 
			
		
	
	
		
		
			
				
					|  | 
 | 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -27,7 +27,8 @@ | 
			
		
	
		
		
			
				
					|  |  |   ], |  |  |   ], | 
			
		
	
		
		
			
				
					|  |  |   "user": { |  |  |   "user": { | 
			
		
	
		
		
			
				
					|  |  |     "settings": { |  |  |     "settings": { | 
			
		
	
		
		
			
				
					
					|  |  |       "currency": "CHF" |  |  |       "currency": "CHF", | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |       "performanceCalculationType": "ROAI" | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |   } |  |  |   } | 
			
		
	
		
		
			
				
					|  |  | } |  |  | } | 
			
		
	
	
		
		
			
				
					|  | 
 | 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -47,7 +47,8 @@ | 
			
		
	
		
		
			
				
					|  |  |   ], |  |  |   ], | 
			
		
	
		
		
			
				
					|  |  |   "user": { |  |  |   "user": { | 
			
		
	
		
		
			
				
					|  |  |     "settings": { |  |  |     "settings": { | 
			
		
	
		
		
			
				
					
					|  |  |       "currency": "USD" |  |  |       "currency": "USD", | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |       "performanceCalculationType": "ROAI" | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |   } |  |  |   } | 
			
		
	
		
		
			
				
					|  |  | } |  |  | } | 
			
		
	
	
		
		
			
				
					|  | 
 | 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -147,7 +147,8 @@ | 
			
		
	
		
		
			
				
					|  |  |   ], |  |  |   ], | 
			
		
	
		
		
			
				
					|  |  |   "user": { |  |  |   "user": { | 
			
		
	
		
		
			
				
					|  |  |     "settings": { |  |  |     "settings": { | 
			
		
	
		
		
			
				
					
					|  |  |       "currency": "USD" |  |  |       "currency": "USD", | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |       "performanceCalculationType": "ROAI" | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |   } |  |  |   } | 
			
		
	
		
		
			
				
					|  |  | } |  |  | } | 
			
		
	
	
		
		
			
				
					|  | 
 | 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -40,7 +40,8 @@ | 
			
		
	
		
		
			
				
					|  |  |   ], |  |  |   ], | 
			
		
	
		
		
			
				
					|  |  |   "user": { |  |  |   "user": { | 
			
		
	
		
		
			
				
					|  |  |     "settings": { |  |  |     "settings": { | 
			
		
	
		
		
			
				
					
					|  |  |       "currency": "USD" |  |  |       "currency": "USD", | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |       "performanceCalculationType": "ROAI" | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |   } |  |  |   } | 
			
		
	
		
		
			
				
					|  |  | } |  |  | } | 
			
		
	
	
		
		
			
				
					|  | 
 | 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -47,7 +47,8 @@ | 
			
		
	
		
		
			
				
					|  |  |   ], |  |  |   ], | 
			
		
	
		
		
			
				
					|  |  |   "user": { |  |  |   "user": { | 
			
		
	
		
		
			
				
					|  |  |     "settings": { |  |  |     "settings": { | 
			
		
	
		
		
			
				
					
					|  |  |       "currency": "USD" |  |  |       "currency": "USD", | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |       "performanceCalculationType": "ROAI" | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |   } |  |  |   } | 
			
		
	
		
		
			
				
					|  |  | } |  |  | } | 
			
		
	
	
		
		
			
				
					|  | 
 |