Commit Graph

18 Commits

Author SHA1 Message Date
jp
0b554c6893 Coinbase pro api (#743)
* Add separate view for finbrain for crypto curreny sentiment analysis

* Move json with symbols to separate directory, little refactoring, update readme

* Add screenshot of finbrain for PolkaDot

* Coinbase menu added

* Add more methods for coinbase

* Add coinbase views, coinbase models. Add coinbase to load, chart, find commands. Add coinbase to controller

* Add auth client for coinbase pro endpoints that needs auth

* Add more views for coinbase to crypto menu

* Add some print tests for Coinbase view

* Add 2 more tests for coinbase view

* Update README with Coinbase API keys

* Cleaning empty lines, spaces etc.

* Use os.path.join in imports, change column names in one normalized df

* Move Coinbase to portfolio brokers. Adjust tests, and imports

* precommit config return to prev ver

* Fix coinbase accounts command, del column filter for deposits
2021-09-13 14:07:00 -04:00
DidierRLopes
d1a473d266 Fix failing test (#734)
* fix test

* fix failing test

* fix test

* Fix tests

* fix tests

* fix tests

* fix tests

* comment all coinpaprika tests
2021-09-05 23:57:36 +01:00
jp
28e3970912 Refactoring crypto menu 2nd part (#724)
* Add separate view for finbrain for crypto curreny sentiment analysis

* Move json with symbols to separate directory, little refactoring, update readme

* Add screenshot of finbrain for PolkaDot

* Remove not used methods, remove binance_view, binance_model from discovery menu (It's not needed, as we use all_coins view for finding coins from all sources

* Refactoring Due Diligence menu. Changing views, moving argparsers to controller

* Refactor cryptomenu. Overview, Discovery, DD menu - move argparsers to controllers, add typing hints, change names of views/models, adjust tests

* Adjust tests

* Move finbrain and find/coins method to controller

* Move report argparser into controller. Adjust tests

* Adjust docstrings

* Add helper method to take care about retry/wait for coingecko scraping

* Fix failing test

* Adjust newlines, docstrings, cmd descriptions

* Add use tabulate df flag for all crypto views

* Add status code for coingecko

* Add note, that some coingecko commands can fail

Co-authored-by: Jakub Pluta <jakub.pluta@cdq.com>
2021-09-05 17:15:35 +01:00
DidierRLopes
8ae78286e2 fix build (#713) 2021-08-25 10:25:58 +01:00
jmaslek
9c199adfaf fix black on accidental push (#709) 2021-08-23 11:26:25 -04:00
Jamie
a7d0a9186f Ignore nft of the day test 2021-08-23 11:13:51 -04:00
colin99d
ce457314a0 Improved Discount Rate Calculation for DCF (#697)
* Added tests ReadMe

* Added warning

* Moved testing docs

* Fixed formatting

* Added a CF tie-out warning and handling for negative firm value

* Added treasury API

* Updated t-bill from API

* Finished better risk understanding

* Finished better risk understanding

* Requested changes

* Updated

* Updated filename

Co-authored-by: Colin Delahunty <colindelahunty@colins-air.attlocal.net>
Co-authored-by: Colin Delahunty <colindelahunty@Colins-MacBook-Air.local>
2021-08-22 01:23:44 +01:00
DidierRLopes
8939f129c8 Fix tests (#694)
* replace list() by []

* fix utf-8 encoding in tests
2021-08-21 16:17:54 +01:00
jp
f5c472fbe0 Feature/refactoring crypto (#656)
* Add separate view for finbrain for crypto curreny sentiment analysis

* Move json with symbols to separate directory, little refactoring, update readme

* Add screenshot of finbrain for PolkaDot

* refactorization of crypto menu

* Fix test, now ta returns already df with index set to date, so shape is rows X 1 column

* On demand load crypto

* Add new view with coins for Binance

* Discovery menu README

* Add readme for crypto

* Add readme for crypto main menu

* Fix mockups for coingecko tests

* Fix readme

* Update test_coingecko_crypto.py

* Fix print in controller

* Refactor crypto. Refactor tests, move session in paprika into commands. Refactor help text

* Remove not needed COLUMNS constant variable, fix description and print statement

* Apply changes in price fmt, mplfinance chart for gecko

* Adjust TA menu data

* Fix test. Now loaded data for TA has OHLC data

* New names for columns in gecko

* Improve find method, add better names for columns in coingecko discovery

* New names in coingecko

* Fix tests for new gecko names

* Add new view for coins search

* Refactor all_coins func

* Fix failing test

* Fix missing quit in overview_controller.py

* Mock test data in load_df_for_ta
2021-08-17 10:20:18 -04:00
jmaslek
0263f41cbe Sort imports using isort (#674) 2021-08-16 07:59:52 -04:00
colin99d
81337b4fdd Improved Testing Framework (#665)
* Reduced test time by 85% using vcrpy

* Refactored tests with decorator

* Added vcrpy dependencies

* Fixed issues with tests

* Fixed tests not running in local

Co-authored-by: Colin Delahunty <colindelahunty@Colins-Air.attlocal.net>
2021-08-13 12:05:32 -04:00
DidierRLopes
e35b9f51b0 Update test_coinpaprika_view.py 2021-08-13 13:04:40 +01:00
jmaslek
113db94184 Etf bug headers (#662)
* Ignore nft of the day test

* Add user agent to etf requests
2021-08-12 11:32:56 -04:00
jmaslek
dddc912c2d Fix ETF Menu + Refactor to new standard (#648) 2021-08-09 19:32:31 -04:00
DidierRLopes
5f4be25ed2 Update test_coinpaprika_view.py 2021-08-08 19:24:46 +01:00
DidierRLopes
ce1821dd1c Update test_coingecko_crypto.py 2021-08-08 17:55:47 +01:00
DidierRLopes
2813f43aba Update test_coingecko_crypto.py 2021-08-08 17:50:04 +01:00
colin99d
4d2239d386 Refactored Tests (#640)
* Added basic openpyxl

* Add screener checks to confirm that preset is correct (#580)

* refactor screener finviz_view to view and model

* Add checks for defined screener preset

* Feature/fraud indicators (#581)

* Fixed glitch reading AlphaVantage API key

* Bug fix

* Added mscore metric

* Refactored code, added error handling

* Updated reademe.md

* Figuring out pre-commit

* Figuring out pre-commit

* Improved formating and code

* Added Zscore

* Formatted code

Co-authored-by: Colin Delahunty <colindelahunty@Colins-Air.attlocal.net>

* Reformated tests and started writing FA

* Removed excel analytics

* Figured out testing with input and print

* Figured out testing with input and print

* Added av_view tests

* Added av_view tests

* Added main_helper tests

* Fixed Poetry

* Added main helper tests

* Expanded pycoingecko_view

* Fixed ETF model

* Added coinpaprika view tests

* Added optimizer view tests

* Updated tests

Co-authored-by: Colin Delahunty <colindelahunty@Colins-Air.attlocal.net>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Colin Delahunty <colindelahunty@Colins-MacBook-Air.local>
2021-08-07 00:34:25 +01:00