Dex
Dex
I don't quite understand your question. The [output of network](https://github.com/ZhengyaoJiang/PGPortfolio/blob/master/pgportfolio/learn/network.py#L104) is portfolio weights and the portfolio value is calclulated at [nnagent.py](https://github.com/ZhengyaoJiang/PGPortfolio/blob/master/pgportfolio/learn/nnagent.py#L28-L29) And we did store the [previous portfolio weight](https://github.com/ZhengyaoJiang/PGPortfolio/blob/master/pgportfolio/learn/tradertrainer.py#L140).
Are you referring to [this line](https://github.com/ZhengyaoJiang/PGPortfolio/blob/master/pgportfolio/learn/nnagent.py#L158)?I thought in the framework rebalance is used for calculating commission fee. I think using rebalanced portfolio weights as inputs could prevent large amount trading...
What do you mean by `market value`? Do you want to know the portfolio value you are holding or the market price of certain asset? Or something else? If it's...
Besides, a twitter bot tweets "tcl" every x hours would be fun as well 😸
Congratulations! 发来贺电! On Sat, Apr 18, 2020, 6:08 PM LightQuantum wrote: > @dexhunter > We have a Twitter bot and a QQ > bot now! > > — > You...
I just tried with models from Anthropic, as long as model names are correct, one should be able to run. You can double-check model names from [here](https://docs.anthropic.com/en/docs/about-claude/models)
I added a fix #21, would be great if maintainers can review, thanks!