Files
OpenBB/website/content/cryptocurrency/prt/_index.md
jose-donato efab61a281 Crypto Tool: Calculate potential returns (#1146)
* enabled some crypto commands in dd to be called independent of source loaded

* support for coin_map_df in all dd functions + load ta and plot chart refactor

* updated tests and removed coingecko scrapping where possible

* removed ref of command from hugo

* updated pycoingecko version

* refactoring load

* refactored load to fetch prices; pred can run independent of source now

* load by default usd on cp/cg and usdt on cb/bin

* updated to rich for formatting and updated dependencies

* fixed changes requested

* created prt controller

* creating model

* removed unused print

* restaged

* adds current market cap

* added reports to gitignore
2022-01-07 09:53:54 -05:00

870 B
Vendored

usage: prt [--vs COIN] [--price NUM] [--top NUM] [--export {csv,json,xlsx}] [-h]

Tool to calculate potential returns of a certain coin. It will take the loaded coin and compare with either another coin specified with argument --vs, with a target price specified with argument --price, or with the current N coins with biggest market cap with --top.

optional arguments:
  --vs COIN             Symbol of coin to compare loaded coin with (e.g., BTC)
  -p NUM --price NUM    Target price to compute potential returns (e.g., 5)
  -t NUM --top   NUM    Top NUM coins to compare with (e.g., 5)
  --export {csv,json,xlsx}
                        Export dataframe data to csv,json,xlsx file (default: )
  -h, --help            show this help message (default: False)

Examples:

load algo/prt --price 2 load algo/prt --vs btc load algo/prt --top 5