Advertisement
Guest User

Untitled

a guest
Apr 7th, 2020
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.97 KB | None | 0 0
  1. ❯ pip install investments --user
  2. Requirement already satisfied: investments in /Users/thatguy/Library/Python/3.7/lib/python/site-packages (0.1.5)
  3. Requirement already satisfied: requests<3.0.0,>=2.23.0 in /usr/local/lib/python3.7/site-packages (from investments) (2.23.0)
  4. Requirement already satisfied: pandas<2.0.0,>=1.0.3 in /Users/thatguy/Library/Python/3.7/lib/python/site-packages (from investments) (1.0.3)
  5. Requirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.7/site-packages (from requests<3.0.0,>=2.23.0->investments) (3.0.4)
  6. Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.7/site-packages (from requests<3.0.0,>=2.23.0->investments) (2.9)
  7. Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.7/site-packages (from requests<3.0.0,>=2.23.0->investments) (1.25.8)
  8. Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/site-packages (from requests<3.0.0,>=2.23.0->investments) (2019.11.28)
  9. Requirement already satisfied: numpy>=1.13.3 in /Users/thatguy/Library/Python/3.7/lib/python/site-packages (from pandas<2.0.0,>=1.0.3->investments) (1.18.2)
  10. Requirement already satisfied: pytz>=2017.2 in /Users/thatguy/Library/Python/3.7/lib/python/site-packages (from pandas<2.0.0,>=1.0.3->investments) (2019.3)
  11. Requirement already satisfied: python-dateutil>=2.6.1 in /usr/local/lib/python3.7/site-packages (from pandas<2.0.0,>=1.0.3->investments) (2.8.1)
  12. Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.7/site-packages (from python-dateutil>=2.6.1->pandas<2.0.0,>=1.0.3->investments) (1.14.0)
  13. /System/Volumes/Data/Users/thatguy/Library/Python/3.7/bin/ibtax --activity-reports-dir ~/Downloads/investment2s --confirmation-reports-dir ~/Downloads/investment2s
  14. [*] Activity report /Users/thatguy/Downloads/investment2s/Trade_Confirmation.csv
  15. [*] Activity report /Users/thatguy/Downloads/investment2s/U2790801_U2790801_2019_2019_AS_Fv2_c862b77d93c23491b315bbf4da28f4f9.csv
  16. [*] Confirmation report /Users/thatguy/Downloads/investment2s/Trade_Confirmation.csv
  17. [*] Confirmation report /Users/thatguy/Downloads/investment2s/U2790801_U2790801_2019_2019_AS_Fv2_c862b77d93c23491b315bbf4da28f4f9.csv
  18. ================================================================
  19.  
  20. Traceback (most recent call last):
  21.   File "/System/Volumes/Data/Users/thatguy/Library/Python/3.7/bin/ibtax", line 8, in <module>
  22.     sys.exit(main())
  23.   File "/Users/thatguy/Library/Python/3.7/lib/python/site-packages/investments/ibtax/ibtax.py", line 115, in main
  24.     trade_confirmation_csvs=confirmation_reports,
  25.   File "/Users/thatguy/Library/Python/3.7/lib/python/site-packages/investments/report_parsers/ib.py", line 102, in parse_csv
  26.     self._parse_trade_confirmation_csv(csv.reader(tc_fh, delimiter=','))
  27.   File "/Users/thatguy/Library/Python/3.7/lib/python/site-packages/investments/report_parsers/ib.py", line 128, in _parse_trade_confirmation_csv
  28.     if f['LevelOfDetail'] != 'EXECUTION':
  29. KeyError: 'LevelOfDetail'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement