vbt.settings error #419
Replies: 3 comments 3 replies
-
This started happening to me too (I moved from one PC to another). So this older version does not have the settings module. @polakowo was this intentional to drop the version down to 0.14.4? |
Beta Was this translation helpful? Give feedback.
-
My Bad, I just read this. #393 |
Beta Was this translation helpful? Give feedback.
-
Thank you for the very quick reply. I should have spent another 2 minutes
digging before I contacted you. It was definitely a version issue (3.10),
went down to 3.9, everything working perfectly as expected.
Excellent work on this library btw. I am looking forward to getting my
project going and then paying for the pro version.
Mark Schmidt (he/him/his)
Founder, Solution Architect
BizStream
***@***.***
616.481.0512 (mobile)
877.692.4978 (office)
bizstream.com
<http://go.bizstream.com/x/d?c=18027900&l=511c91b9-e8ee-48e8-99eb-08813963fa15&r=2fb5c64b-7ae2-4af5-ac91-17044ddea7a8>
…On Fri, Mar 18, 2022 at 7:53 AM Oleg Polakow ***@***.***> wrote:
@markschmidt42 <https://github.com/markschmidt42> make sure that you use
Python 3.6-3.9, the latest pip version is 0.23.3 -
https://pypi.org/project/vectorbt/
—
Reply to this email directly, view it on GitHub
<#419 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACP252V372LWR7NRLBMTWN3VARVC5ANCNFSM5RAKWZ2Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
---> 15 vbt.settings.portfolio['init_cash'] = 100. # in $
16 vbt.settings.portfolio['fees'] = 0.0025 # in %
17 vbt.settings.portfolio['slippage'] = 0.0025 # in %
AttributeError: module 'vectorbt' has no attribute 'settings'**
How can i fix this error ? IM newby
Beta Was this translation helpful? Give feedback.
All reactions