[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Rotational System with PositionScore Threshold



PureBytes Links

Trading Reference Links

--- "Tomasz Janeczko" wrote:
>
> Hello,
>
> That's a built in feature, no need for custom backtester.
>
> http://www.amibroker.com/f?enablerotationaltrading
>
> SetOption("WorstRankHeld", Threshold);
>

Thank you for the reply. Actually I am wanting to do something in addition to rank thresholding. I want to add PositionScore thresholding.

Currently EnableRotationalTrading does the following:

  1. Compute a PositionScore for each security
  2. Rank order securities by PositionScore
  3. Sell all open positions with a rank order below "WorstRankHeld"
  4. Fill available positions with the highest ranking security not currently held 

What I want to do is the following (additions in bold):

  1. Compute a PositionScore for each security
  2. Rank order securities by PositionScore
  3. Sell all open positions with a rank order below "WorstRankHeld"
  4. Sell all open positions with a PositionScore below a "WorstScoreHeld"
  5. Fill available positions with the highest ranking security not currently held with a PositionScore above a "WorstScoreHeld"
  6. Leave unfilled positions in cash

So I want to add a "WorstScoreHeld" criteria. If there aren't enough securities above the "WorstScoreHeld" threshold (i.e. PositionScore > WorstScoreHeld), then the unfilled slots would be in cash. I hope that is a little clearer.

Thanks again.

Curt

__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___