mirror of
				https://github.com/aclindsa/ofxgo.git
				synced 2025-11-04 02:03:26 -05:00 
			
		
		
		
	Only download transactions for the last year
Some FIs don't return *any* transactions if you ask them for *all* of them since the beginning of (UNIX) time...
This commit is contained in:
		@@ -38,7 +38,7 @@ func invTransactions() {
 | 
			
		||||
			BrokerId: ofxgo.String(brokerId),
 | 
			
		||||
			AcctId:   ofxgo.String(acctId),
 | 
			
		||||
		},
 | 
			
		||||
		DtStart:        ofxgo.Date(time.Unix(0, 0)),
 | 
			
		||||
		DtStart:        ofxgo.Date(time.Now().AddDate(-1, 0, 0)),
 | 
			
		||||
		DtEnd:          ofxgo.Date(time.Now()),
 | 
			
		||||
		Include:        true,
 | 
			
		||||
		IncludeBalance: true,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user