Hi!
I think this could help:
--forecast[=PERIODEXP] Generate periodic transactions (from
periodic transaction rules). By
default these begin after the latest
recorded transaction, and end 6 months
from today, or at the report end date.
Also, in hledger-ui, make future
transactions visible.
Note that = (and not a space) is
required before PERIODEXP if you wish
to supply it.
Given that you want your forecast transaction to "coexist" with real transactions, you probably need to supply custom period expression here