-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about behaviour of -r flag #107
Comments
Hi @emin-ec Honestly, I'm not sure the logic is great. There is no stored information, but probably the logic should be improved. The intended behavior should be that l-a will go back up to 90 days to get data that isn't already present in your ledger file. So you are correct, you shouldn't need that |
OK, I think the problem is in the code snippet below from def get_new_txns(self, acct, max_days=999999, resync=False):
if resync or (max_days < 7):
days = max_days
else:
days = 7 I'm not sure on the difference between Btw, sorry for some postings as |
|
I have a question about the
-r
flag. When I doledger-autosync -L -m 90 - a 'My Vanguard Account'
I only get transactions from the last week or so.
But when I add the
-r
flag to doledger-autosync -r -L -m 90 - a 'My Vanguard Account'
I get transactions going back a few months.
I understand that
-r
is for resync but I thought I could achieve the same effect by not providing a ledger file or~/.ledgerrc
. But it seems like eitherledger-autosync
orofxclient
is somehow storing some information about what it thinks it has downloaded. Any thoughts on that? For example, is there a hidden file somewhere that l-a or ofxclient uses for this?The reason I ask is that in trying to describe how to get started with l-a from a blank setup I shouldn't need to use the
-r
flag but it seems like for some reason the-r
is necessary.The text was updated successfully, but these errors were encountered: