Oleg Polakow

Results 270 comments of Oleg Polakow

https://vectorbt.dev/api/portfolio/base/#vectorbt.portfolio.base.Portfolio.from_order_func

@jejebelfort stop loss orders are only supported in Portfolio.from_signals, and only one position is allowed to be opened at a time in both Portfolio.from_orders and Portfolio.from_signals. Your best bet is...

Python versions are displayed at the top of the github page: 3.6, 3.7, 3.8, 3.9.

@MrFanciful support will be added once numba for python 3.10 becomes stable. Once numba issues are fixed, it will be added first to vectorbtpro then to open-source vectorbt.

@xarthurx ccxt has some conflicting requirements with other packages, that's why pip searches for the optimal version. Install the base vectorbt and then manually install any packages that you actually...

@VanBuren77 it's documented: set `accumulate` to True in from_signals to allow accumulation of orders. Return is calculated correctly: your large initial cash inflates the total portfolio value, thus total return...

The default size is infinity, lower it.

@Ron-27 vectorbt doesn't require PyYAML. A bit of googling helps: https://stackoverflow.com/a/69565230