adapting static instrument selection report for spread bets #1348
Unanswered
bug-or-feature
asked this question in
Q&A
Replies: 1 comment 2 replies
-
When you say it doesn't work, what do you mean? That code is exactly what I would write. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Rob
I'm trying to make a version of the static_system report, for spread bets. I'd like to adapt it so that it can handle variable minimum position sizes. Obviously with futures, the minimum is always one (1 contract), but for spread bets the minimum bet can vary between 0.1 to 100.0. I think its something to do with
size_penalty()
inoptimise_small_system
. I tried:but that doesn't work. What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions