csingley / ofxtools

Python OFX Library
Other
301 stars 68 forks source link

Getting historical investment statement with ofxget --asof #149

Closed vitaliknet closed 1 year ago

vitaliknet commented 2 years ago

Trying to download historical position snapshot using ofxget "--asof" param, but am getting the current list of positions instead. Observing the same behavior with prudential and fidelity.

ofxget stmt prudential -i ACCOUNT -u USERNAME --asof 20220202 -v -v -v

Request has "20220202000000.000[+0:UTC]Y" Response comes back with "20220213104227.710[-5:EST]"

Do I misunderstand the purpose of "--asof" or perhaps they just ignore it?

csingley commented 2 years ago

Never seen FI that honored it.

vitaliknet commented 2 years ago

Never seen FI that honored it.

Not too surprising. Thanks!