Code Monkey home page Code Monkey logo

Comments (3)

nicwn avatar nicwn commented on May 30, 2024 1

Success! Thanks.

(perfi) nick@Nicholass-iMac-Pro perfi % poetry run python bin/import_from_exchange.py --entity_name Nick --file /Users/nick/Downloads/Kraken\ 2021\ ledgers.csv --exchange kraken --exchange_account_id kraken1
Address already seems to exist: kraken.kraken1
Importing...
Saving unified txs to db: 100%|████████████████| 86/86 [00:00<00:00, 948.55it/s]
Done.

from perfi.

peloriante avatar peloriante commented on May 30, 2024

Fixed with commit 7b49ed8

@nicwn would you mind pulling latest and trying again?

from perfi.

nicwn avatar nicwn commented on May 30, 2024

git pull

remote: Enumerating objects: 17, done.
remote: Counting objects: 100% (17/17), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 10 (delta 7), reused 7 (delta 5), pack-reused 0
Unpacking objects: 100% (10/10), done.
From https://github.com/AUGMXNT/perfi
   1c580de..7b49ed8  main       -> origin/main
Updating 1c580de..7b49ed8
Fast-forward
 README.md                 |   2 +
 bin/map_assets.py         |  37 ++-
 perfi/constants/assets.py | 665 ++++++++++++++++++++++++----------------------
 3 files changed, 360 insertions(+), 344 deletions(-)

rerun and still got this:

Address already seems to exist: kraken.kraken1
Importing...
Traceback (most recent call last):
  File "/Users/nick/Documents/perfi/bin/import_from_exchange.py", line 107, in <module>
    main()
  File "/Users/nick/Documents/perfi/bin/import_from_exchange.py", line 97, in main
    importer.do_import(
  File "/Users/nick/Documents/perfi/perfi/ingest/exchange.py", line 345, in do_import
    txns = self.ledgers_csv_to_chain_txns(
  File "/Users/nick/Documents/perfi/perfi/ingest/exchange.py", line 207, in ledgers_csv_to_chain_txns
    asset_tx_id = self.get_symbol(asset).lower()
  File "/Users/nick/Documents/perfi/perfi/ingest/exchange.py", line 179, in get_symbol
    raise Exception(
Exception: This asset code in Kraken represents a fiat currency that we don't know how to convert prices for yet. Don't know what to do so throwing exception. Asset: ZEUR

from perfi.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.