fairprice
1.0.0
平衡价格的Python模块
平衡产品价格的Python模块。它需要美元的价格,并使用您选择的各种策略来计算其他货币中的公平价格。
需要PIP安装模块。如果您没有安装PIP,则可以在此处遵循说明。
pip install fairprice from fairprice import FairPrice
from fairprice . strategy import BigMac
fp = FairPrice ( strategy = BigMac )
fp . calculate ( 10 , "PLN" )克隆存储库并安装要求。
git clone https://github.com/Style77/fairprice.git
cd fairprice
pip install -r requirements.txtgit checkout -b feature/fooBar )git commit -am 'Add some fooBar' )git push origin feature/fooBar )