Specifies deposits and/or withdarawals to/from the current equity of a strategy by formula
Formula expression returning an amount in dollars
This formula is evaluated once per day at the beginning of the day, before any trading signals are processed.
The resulting amount is added to the equity of the strategy.
The formula should return a positive value for deposits or a negative value for withdrawals, or 0 on dates when neither occurs.
The simplest way to use this formula in a multi-strategy system is to give it its own strategy, as in the examples below.
To provide a list of specific dates and amounts, use CashList rather than CashInOut.
Withdraw $10,000 every month at the start of the month:
Withdraw half of last year's net profit at the start of each year: