RESIZEONLY

Top  Previous  Next

Keyword Description

Using this causes Mechanica to look only in resizing code to determine entries, exits and position sizes. One case where this is beneficial is when items are to be traded based upon their position weights as determined by mean variance optimization (MVO).  Another case is where rank is the sole determinant of ownership.

Class

Directive

Where Legal

Resources

Entry Logic

Exit Logic

Initial Size

Resize

(Pre-Category)

Resize

(Category-Level)

 

 

 

 

l

l

Syntax

RESIZEONLY

 

Example

Sample code

RESIZEONLY

 

ThumbTack white

Typically, the only entry logic code needed to make this work is BUYCLOSE.  NEWSHARES = 0 on initial size tab is necessary as well.

See also:

..\Sample Rules\Position Sizing Rules\ReAllocate.siz