ブロックチェーンを利用した貸借取引実証実験のロジックのシミュレーションを行うためのリポジトリ。
株価データは pandas-datareader を利用して Yahoo! Finance から取得。
現在 pandas-datareader
は Yahoo! Finance の API アクセス制限?によってアクセスが正常にできない様子。
代わりにyfinance を利用してデータを取得。
License要確認。
See notebooks in /sandbox
.
Experiments for the thesis were executed in /sandbox/experiments
.
VariableLocalTransaction()
クラスを利用して取引を再現。
sandbox/simulate_VariableLocal.ipynb
を参照。
StableTransaction()
クラスを利用して取引を再現。
sandbox/simulate_Stable.ipynb
を参照。
/scripts/variable_local.py
の AutoAdjustmentTransaction()
で実装。
sandbox/simulate_AutoAdjustment
を参照。
検証・シミュレーション用の .ipynb ファイルなどは sandbox
以下に配置。
修論提出直前に修正した箇所は煩雑になっているので時間があればリファクタします。