Vibe Coding = telling an AI what you want in plain English, then steering it. You bring the idea (“when price is above the trend, stay long”). The AI writes and refines the code. You test, it tweaks. Fast feedback, tiny steps.
A simple first vibe
# 20/50 moving-average crossover (shifted one day to avoid look-ahead) if fast_ma > slow_ma: signal = 1 # long elif fast_ma < slow_ma: signal = 0 # flat # apply signal tomorrow, not today
Ask your AI:
“Write Python that: • downloads daily AAPL data • computes 20/50 MAs • creates long/flat signals shifted by 1 bar • subtracts 0.15% costs when the signal flips • plots equity vs buy-and-hold”