How a plan works
You deposit USDC once and choose how many buys to split it into. Until each buy comes due, the money still waiting sits in a lending vault and earns interest, and that interest is spent on the same stock.
What one buy does
The keeper sees a buy is due
A small program watches every plan. When a buy's date arrives and the stock market is open, it sends the transaction and pays the gas. If it has not gone through 12 hours after it first could, anyone may send it instead. Nobody can send one on a weekend: the vault refuses every buy from Saturday 00:00 to Monday 01:00 UTC, because the price feed stops for the weekend and the pools do not. A buy that came due during the weekend can be sent by you or the keeper from Monday 01:00 UTC at the earliest, and by anyone from 13:00 UTC; the keeper sends it at 12:00.
This buy's slice leaves the lending vault
One slice of your deposit, plus the interest your waiting money has earned since the last buy.
The price is checked, twice
The vault reads the Chainlink price for the stock. If the swap would return more than 1% less than that price, nothing is bought. The pool's own price also has to end within about 1% of each of its last five one-minute averages, so a pool whose price ends further than that from any of them is refused. A push that ends inside that band is not. Either way nothing is bought. A scheduled buy is tried again later. A deposit whose first buy is refused does not go through, and you keep your USDC.
The stock goes to your wallet
The USDC is swapped and the stock is sent straight to you. The vault never holds it.
The first buy
The first buy happens in the same transaction that starts the plan, so you own some of the stock the moment it confirms. If the price is paused, as it is every weekend, the plan still starts and the first buy happens once the price is live again.
Limits the contract enforces
These are in the vault's code, not in this website. The full list is on Limits.
Stopping a plan
You can stop on any day the lending market can pay. Whatever has not been spent comes back to your wallet with the interest it earned, less the protocol fee on that interest (0% today), and the stock already bought was always yours. If the lending market has lost money, what comes back is what your part of it is worth now, which can be less.
Stopping cannot be switched off.
The admin can pause new deposits, but not a stop. A stop waits while the lending market cannot pay out your whole plan at that moment, or while USDC cannot be sent to you (Circle has frozen your address, or paused USDC itself). It does not depend on the price feed, the keeper or the admin.