On Sun, Jul 30, 2023 at 9:12 AM Martin Blais <[email protected]> wrote:

>
> On Wed, Jul 19, 2023 at 9:10 AM Eric Altendorf <[email protected]>
> wrote:
>
>> FWIW I went ahead and wrote my importers to the Beangulp API.  I'm
>> developing them here if anyone wants to follow along, contribute, or
>> comment:
>> https://github.com/ericaltendorf/beancount-crypto-importers
>>
>> Currently covers Coinbase, Coinbase Pro, and Gate.io.
>>
>
> Nice!
> Added to contribs doc
>
> https://docs.google.com/document/d/1Z37bQ45wDtjTPaMQ_x-f33p1trH9fNosEAUgbQXwp30/
>

Thanks.  FWIW, the current state isn't really usable by others yet.  I
haven't fully disentangled the custom logic specific to my accounts & setup
from the generic importers and support libraries.  If anyone is interested
in these reach out to me.


>
>
>
>
>>
>> For now I just have a dumb shell script that runs each importer and
>> merges their output textually.  I'll be investigating some of the
>> deduping frameworks.
>>
>> On Mon, Jul 17, 2023 at 4:34 PM Martin Blais <[email protected]> wrote:
>>
>>> On Tue, Jul 18, 2023 at 12:52 AM Eric Altendorf <[email protected]>
>>> wrote:
>>>
>>>> Thanks for the quick reply!
>>>>
>>>> On Sun, Jul 16, 2023 at 8:58 PM Red S <[email protected]> wrote:
>>>>
>>>>> I'd recommend exactly that as the first step---spitting out text files
>>>>> of the write format, and using that with your workflow for a while. You'll
>>>>> either find that sufficient, or truly understand the specific problems you
>>>>> want to solve, and be able to pick the right framework with that 
>>>>> knowledge.
>>>>
>>>>
>>>> Cool, makes sense.
>>>>
>>>>
>>>>> Beancount has a built in generic CSV importer, I'd suggest trying that
>>>>> first. That'll get you bean-{identify, extract, file} for free. If you 
>>>>> need
>>>>> the heavy lifting of investments, find yourself solving similar problems
>>>>> across multiple importers, or find your workflow could be smoother, my
>>>>> importer framework can help.
>>>>>
>>>>
>>>> I'm not even sure if identify/extract/file is useful to me.  I
>>>> literally have 4 CSV files that have my all time historical transactions,
>>>> that are already filed in the place I want them, and I just want to
>>>> calculate cap gains and transaction fees for tax purposes.  I'll take a
>>>> look at the generic importer and see if I can figure it out; it may be
>>>> easier to start from scratch.
>>>>
>>>
>>> I agree; if you do a one-off conversion from just a few sources of data
>>> the whole importer/ingest framework doesn't buy you much.
>>> I'd just write a script.
>>>
>>>
>>>
>>>
>>>>
>>>> thanks!
>>>>
>>>>
>>>>
>>>>>
>>>>> On Sunday, July 16, 2023 at 8:34:59 PM UTC-7 [email protected]
>>>>> wrote:
>>>>>
>>>>>> I have a few CSV files with basic transactions (basically sent and
>>>>>> received assets & amounts, plus commission cost).  These are all I need 
>>>>>> to
>>>>>> process.  It would be pretty easy for me to just translate them line by
>>>>>> line into Beancount format inputs, but I like to do things "the right
>>>>>> way".  Problem is, I can't figure out what "the right way" is :)
>>>>>>
>>>>>> I spent a long time exploring the importer framework before realizing
>>>>>> that it was the old one, tossed out for v3.  I have now read the design 
>>>>>> doc
>>>>>> for the v3 importer system, the readme, skimmed the code and some 
>>>>>> examples,
>>>>>> and then read some threads on this list which also led me to RedS's CSV
>>>>>> framework, which I also looked into.
>>>>>>
>>>>>> Am I trying too hard?  Should I just ignore the frameworks and spit
>>>>>> out text files of the right format?  If I should use a framework...which
>>>>>> would folks recommend?
>>>>>>
>>>>>> thanks,
>>>>>> eric
>>>>>>
>>>>> --
>>>>> 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/c091350e-c0f5-45af-9a64-35bd17ae76f7n%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/beancount/c091350e-c0f5-45af-9a64-35bd17ae76f7n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>>> 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/CAFXPr0ttR0e%2BraUfjnYwaUui1_rQH4nfOfx9QdaLFXA4EkoT-g%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/beancount/CAFXPr0ttR0e%2BraUfjnYwaUui1_rQH4nfOfx9QdaLFXA4EkoT-g%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>>> 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/CAK21%2BhPF1xj9Xw15Vkj911e5MOg7PaUEgz8LghywLcpw69tuwQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/beancount/CAK21%2BhPF1xj9Xw15Vkj911e5MOg7PaUEgz8LghywLcpw69tuwQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> 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/CAFXPr0t%3DNHeoA0NokJhFTW-O_QB_8ieBrG_KRfOe%3DGZ5PFYg2A%40mail.gmail.com
>> <https://groups.google.com/d/msgid/beancount/CAFXPr0t%3DNHeoA0NokJhFTW-O_QB_8ieBrG_KRfOe%3DGZ5PFYg2A%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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/CAK21%2BhPkUX8g35MC%3DCbbm%3D1AbyO5FOVJkK1CyX%2B2%2BRakDhSqXQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/beancount/CAK21%2BhPkUX8g35MC%3DCbbm%3D1AbyO5FOVJkK1CyX%2B2%2BRakDhSqXQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAFXPr0sYw%2B3Df5A7SCDr9%2BusHFLsbeio%2BUStJwNTHyYPURvAtQ%40mail.gmail.com.

Reply via email to