Navigation: Realtest Script Language > Script Sections > Strategy Section >

Strategy Element Value Types and Defaults

 

 

 

 

The following table lists each of the above strategy elements along with its value type and default (what happens if this element is not included in a strategy):

Element Name

Element Type

Value Type

Default Value

Allocation

formula

dollars

full account size

Ambiguity

constant

Default,Stop,Target,Neither

Neither

BarSize

constant

Daily,Weekly,Monthly

Daily

CashInOut

formula

dollars

0

Category

formula

number

0 (none)

Commission

formula

dollars

0 (none)

DebugEntry

formula

string or number

none

DebugExit

formula

string or number

none

DebugTargetStop

formula

string or number

none

EntryLimit

formula

price

0 (none)

EntryScore

formula

number (highest first)

alphabetical by symbol

EntrySetup

formula

condition

0 (false)

EntrySkip

formula

condition

0 (false)

EntryStop

formula

price

0 (none)

EntryTime

constant

logical time of day*

NextOpen

ExitLimit

formula

price

0 (none)

ExitLimitTime

constant

logical time of day*

Intraday

ExitRule

formula

condition

0 (false)

ExitStop

formula

price

0 (none)

ExitStopTime

constant

logical time of day*

Intraday

ExitTime

constant

logical time of day*

NextOpen

LimitExtra

formula

dollars per share

0 (none)

LimitSlip

formula

dollars per share

0 (use Slippage)

MaxEntries

formula

count

0 (unlimited)

MaxExposure

formula

percentage

0 (unlimited)

MaxInvested

formula

dollars

0 (unlimited)

MaxPositions

formula

count

0 (unlimited)

MaxSameCat

formula

count

0 (unlimited)

MaxSetups

formula

count

0 (unlimited)

Pyramid

constant

True or False

False

QtyRound

formula

number

1

QtyType

constant

Shares, Value, Percent

Shares

Quantity

formula

shares or contracts

account size / entry price

SetupScore

formula

number (highest first)

alphabetical by symbol

Side

constant

Long,Short,Both

Both

Slippage

formula

dollars per share

0 (none)

StopSlip

formula

dollars per share

0 (use Slippage)

TradeList

constant

file path

no trade list

Using

special

strategy name(s)

not using anything

* For the above elements that specify "logical time of day" as their Value Type, available constant values are ThisClose, Intraday, NextOpen, or NextClose. Use the links to the corresponding Element Name topics for further information.

 

 

 

Copyright © 2020-2022 Systematic Solutions, LLC