The help says:
"Transactions are sorted by this value during the backtest process, so higher values here will result in a higher priority."
But when I compose a system of blocks and write, for example:
"Weight Indicator" -- Close
"Weight Prioritization" -- Highest Values
And then I "Open as C# Coded Strategy" there I see:
It turns out that the priority is given to lower values, and not to higher?
"Transactions are sorted by this value during the backtest process, so higher values here will result in a higher priority."
But when I compose a system of blocks and write, for example:
"Weight Indicator" -- Close
"Weight Prioritization" -- Highest Values
And then I "Open as C# Coded Strategy" there I see:
CODE:
_transaction = PlaceTrade(bars, TransactionType.Buy, OrderType.Market, 0, 0); _transaction.Weight = weight[index] * -1;
It turns out that the priority is given to lower values, and not to higher?
Rename
You're right! Very sorry that slipped through, I'm fixing it for Build 2.
I think you're right. There's something wrong there. We'll look into it!
... and I can't delete my post - another bug :D
... and I can't delete my post - another bug :D
You could edit it and erase all the text!
My backtests are clearly choosing higher Weight.
Hey Len, Higher weight is correct with WL7. It's the Transaction Weight Building Block that is erroneously reversed.
I can't just paste the code. Error messages come up.
C# strategies are not a destination for quick copy/paste. If you intend to modify a code-based stratgy you have to understand C#.
Your Response
Post
Edit Post
Login is required