# EndOfMonth

Buys when N days remain until the end of the month, with an additional condition on the previous close.

Canonical: https://prismaticalgos.com/compendium/algo/2205-endofmonth
Record ID: 2205
Catalog rank: 2905 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Unclassified (?)
Source: https://www.prorealcode.com/topic/aiuto-creazione-strategia-acquisto-fine-mese/
Evidence label (unverified): source_code

## Scope and limitations

These are machine-extracted research records, not verified trading systems. Catalog rank measures specification detail and claimed evidence, not profitability. The catalog extraction pipeline did not independently backtest these records. Its separate selected testing ledger does not validate the wider corpus. Rules, labels and parameters can be incomplete or wrong; consult the original source and its reuse terms.

No endorsement, ownership claim or source-code reuse permission is implied.

## Extraction warnings

Build warnings: DAILY_LOW_COUNT: daily-or-slower timeframe on a single instrument. Expect well under 100 trades in five years, so a backtest will rarely reach statistical significance on its own.

## Recorded profile

- symbols: any
- timeframes: D1
- sessions: any
- market_regime: any

## Indicators

No indicator stack recorded.

## Recorded long-entry rules

- On the day when the number of working days remaining until the end of the month equals the specified number (GiornoAcquisto) and close[1] < ChiusuraP

## Recorded short-entry rules

- Not specified.

## Recorded exit rules

- At the beginning of the new month, close all open positions

## Recorded filters

- Working days only (Monday to Friday)

## Risk controls

- Stop loss: 2000
- Take profit: 5000
- Position sizing: 1 CONTRACT
