Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Allow the selection of the number of contracts to trade at run-time #20

Open
GoogleCodeExporter opened this issue Feb 14, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

I'd like to be able to determine the number of contracts to be traded by a
strategy at run-time, rather than re-compiling the strategy.

Original issue reported on code.google.com by [email protected] on 25 Aug 2009 at 9:51

@GoogleCodeExporter
Copy link
Author

This may be a little tricky. If the number of contracts to trade is fixed, then 
yes,
we could make it external to the strategy (for example, store it as a user
preference). But what if the number of contracts is variable, as in a scaling
strategy which can be long or short 1 to 5 contracts depending on the 
indicators?

Original comment by [email protected] on 31 Aug 2009 at 2:55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant