Code Monkey home page Code Monkey logo

Comments (3)

laroche avatar laroche commented on July 16, 2024

Das dürfte inzwischen gefixt sein. Eine aktuelle Version von tw-pnl.py sollte richtig funktionieren.
Ich hab auch das Beispiel von oben kurz ausprobiert, das scheint bei mir auch zu laufen.

Hmmm, vielleicht gibt es doch Probleme an dieser Stelle. Ich check die nächste Sekunden nochmal
eine weitere Änderung ein, damit der Source robuster wird.

Funktioniert damit alles?

Viele Grüße,

Florian La Roche

from tastyworks-pnl.

laroche avatar laroche commented on July 16, 2024

Auch ohne die Änderung läuft das Beispiel bei mir durch:

$ cat test.csv 
Date/Time,Transaction Code,Transaction Subcode,Symbol,Buy/Sell,Open/Close,Quantity,Expiration Date,Strike,Call/Put,Price,Fees,Amount,Description,Account Reference
10/19/2021 11:00 PM,Money Movement,Withdrawal,,,,0,,,,,0.00,2352.2,Wire Funds Received,blah
$ ./tw-pnl.py test.csv 
2021-10-19 23:00    2018.19€    2352.20$     0 transferred: Wire Funds Received

Total sums paid and received in the year 2021:
interest received:              0.00€
fee adjustments:                0.00€
pnl other:                      0.00€
pnl total:                      0.00€
USD currency gains:             0.00€
USD curr. gains (no tax):       0.00€
losses future contracts:       -0.00€

New end sums and open positions:
total fees paid:                0.00€
account cash balance:        2352.20$
open positions:
account-usd deque([[0.858000858000858, 1, 23522000, '2021-10-19', False]])

Welche Python-Version ist das? (Scheint ja unter Windows zu laufen, das sollte aber eigentlich keinen Unterschied machen.)

Viele Grüße,

Florian La Roche

from tastyworks-pnl.

MartinKutz avatar MartinKutz commented on July 16, 2024

Ich habe die neuste Version eben nochmal heruntergeladen. Jetzt läuft es durch. Vielen Dank! :-)
Python habe ich die Version 3.10.0 unter Windows 10 am laufen.

Viele Grüße,
Martin Kutz

from tastyworks-pnl.

Related Issues (20)

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.