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 and CashSameDay models, proceeds from sales made today can be used immediately to buy other positions, while in the CashNextDay model there is a one-day delay before those proceeds can be used.

 

 

 

Copyright © 2020-2025 Systematic Solutions, LLC