Thanks Red!
This code snippet works for me. Are there any good resources to obtain 
ofxget commands for other institutions? I think I can convert them to the 
importer format now. 

On Monday, December 5, 2022 at 12:27:13 AM UTC-5 Red S wrote:

> First, try this command in the command line to ensure it works:
> ofxget stmt --nokeyring -u <your_username> etrade -i XXXX-XXXX
>
> Then, use this:
> [DEFAULT]
> ofx_pre = pass show dummy > /dev/null; ofxget stmt --nokeyring -u
> downloads_dir = ~/Downloads
>
> [etrade]
> type = investment
> cmd = %(ofx_pre)s <your_username> \
>      --password $(pass beancount/etrade) etrade -i XXXX-XXXX \
>      > %(downloads_dir)s/etrade.ofx
>
>
>
> On Sunday, December 4, 2022 at 7:26:33 PM UTC-8 [email protected] wrote:
>
>>
>> Yes, I am making progress with your excellent importers on CSV, but for 
>> etrade OFX, I did not know how to change this block to work for etrade:
>> [fidelity]
>> type = ofxget
>> cmd = %(ofx_pre)s <your_username> \
>> --useragent randomstring \
>> --password $(pass financial/fidelity) \
>> fidelity \
>> -i <accnum1> \
>> -i <accnum2> \
>> > %(downloads_dir)s/fidelity.ofx
>>
>>
>> On Saturday, December 3, 2022 at 11:33:43 PM UTC-5 Red S wrote:
>>
>>> Red's Importers <https://github.com/redstreet/beancount_reds_importers> 
>>> supports 
>>> etrade, including direct download 
>>> <https://reds-rants.netlify.app/personal-finance/direct-downloads/>.
>>>
>>> I'm the author and can confirm it works. Let me know if you have issues.
>>>
>>>
>>> On Friday, December 2, 2022 at 6:01:23 PM UTC-8 [email protected] wrote:
>>>
>>>> Can anyone point me in the right direction for downloading or importing 
>>>> transactions from Etrade brokerage. It appears that folks are able to do 
>>>> this through ofxget or gnucash, but I haven't seen a real straightforward 
>>>> example with the syntax I need to perform the download.
>>>>
>>>>
>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/5919119f-ffae-436c-90b8-3283b57858ecn%40googlegroups.com.

Reply via email to