You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the run without --profit works without problems, profit calculation is encountering DataFrame not having certain attribute!
$ python csv-options-export.py --profit
Username:
Password:
MFA:
Generated device token:
Pulling trades. Please wait...
0 queued trades and 688 executed trades found in your account.
Choose a filename or press enter to save to `option-trades.csv`:
What is your tax multiplier -default 0.25 (25%) ?
Traceback (most recent call last):
File "D:\python\robinhood-to-csv\csv-options-export.py", line 164, in <module>
profit_csv = profit_extractor(csv, filename)
File "D:\python\robinhood-to-csv\profit_extractor.py", line 23, in profit_extractor
handle['last_transaction_at'] = pd.to_datetime(handle.last_transaction_at)
File "D:\python\robinhood-to-csv\env\lib\site-packages\pandas\core\generic.py", line 5575, in __getattr__
return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'last_transaction_at'
Python Info
$ python -V
Python 3.10.4
The text was updated successfully, but these errors were encountered:
While the run without
--profit
works without problems, profit calculation is encounteringDataFrame
not having certain attribute!Python Info
The text was updated successfully, but these errors were encountered: