braverock / braverock/quantstrat

[R-Forge #5038] Run symbols in parallel

Open
#38 1 comment 1 reaction 0 assignees View on GitHub
feature request
Dominant language
R
Stars
310
Forks
121
PR merge metrics
No merged PRs in 30d

Description

Submitted by: Ilya Kipnis
Assigned to: Nobody
[R-Forge link](http://r-forge.r-project.org/tracker/index.php?func=detail&aid=5038&group_id=316&atid=1272)

Simple request here...right now, applyStrategy runs all of the symbols in series. I'd appreciate if there'd be an option to run the symbols in parallel, seeing as to how apply.Paramset runs parameter sets in parallel, but if I know my strategy parameters, I'd like for there to be a way of running the symbols in parallel as well.

Thanks.

Followups:

Date: 2014-11-01 18:04
Sender: Ethan Lin
I've hacked this in my own environment, using doSNOW and foreach. You create the required environments to run each symbol on the 'slaves' and the 'slave' threads need to return their portfolio trades and order books back to the 'master' to be added via addTxns to the master portfolio.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.