RealTest User Guide
RealTest User Guide

 

 

Navigation: RealTest Script Language > Syntax Element Details >

AccountType

 

 

 

 

Category

Settings

Description

Specifies the type of account being modeled.

Choices

CashSameDay - model a cash account where sale proceeds can be reinvested the same day

CashNextDay - model a cash account where sale proceeds can't be reinvested until the next day

Margin - model a margin account (default)

Notes

This setting affects backtests and order generation in the following ways:

In the Margin account model, MinFreeCash defaults to unlimited (can become negative) while in either Cash model, MinFreeCash defaults to 0 (can't become negative).

In the Margin model, proceeds from any sale made today can be used immediately to buy other positions. In the CashSameDay model, proceeds are available the same day only when the sale occurs at the open; proceeds from sales made later in the day (intraday or on the close) are not available until the next day. In the CashNextDay model, proceeds from any sale are always delayed one day before they can be used.

 

 

 

Copyright © 2020-2026 Systematic Solutions, LLC