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

Variable Expressions #42

Open
andyl opened this issue Feb 27, 2018 · 0 comments
Open

Variable Expressions #42

andyl opened this issue Feb 27, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@andyl
Copy link
Contributor

andyl commented Feb 27, 2018

Let options take expressions for variable values.

  • price
  • volume
  • side
  • ...

Example:

  • --price="(0.0..1.0).step(0.5).sample"
  • --side="%w(fixed unfixed).sample"
  • --volume="(10..20).sample"

The idea is to reduce the need for custom login in bots.

@andyl andyl added the enhancement New feature or request label Feb 27, 2018
@andyl andyl changed the title Expression Variable Experssions Variable Expressions Feb 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant