-
Notifications
You must be signed in to change notification settings - Fork 921
Closed
Description
When trying to run the 'optimisation.py':
In [86]: print(system.accounts.portfolio().stats())
Calculating pandl for portfolio
Calculating instrument div. multiplier
Calculating instrument correlations
C:\Anaconda3\lib\site-packages\systems\portfolio.py:665: FutureWarning:
.resample() is now a deferred operation
You called diff(...) on this deferred object which materialized it into a dataframe
by implicitly taking the mean. Use .resample(...).mean() instead
pandl = pandl.cumsum().resample(frequency).diff()
Correlation estimate
C:\Anaconda3\lib\site-packages\syscore\correlations.py:181: RuntimeWarning: invalid value encountered in less
corrmat[corrmat < 0] = 0.0
Metadata
Metadata
Assignees
Labels
No labels