Welcome to Option Circle
Getting Started: Creating & De...

🔁 Understanding Loops in Option Circle

13min
loops are the heartbeat of every algorithmic trading strategy without them, your bot would only check for trade conditions once—missing countless opportunities this article shows you what loops are, why they matter, and how to implement them in option circle’s visual strategy builder 1\ what are loops? loops allow your bot to continuously scan the market for trade signals instead of evaluating conditions once per day, your agent can check every minute, every 30 minutes, or on any schedule you define ✅ why loops matter react to real time price changes and volume shifts continuously monitor indicators (rsi, moving averages, iv rank) trigger entries/exits instantly when conditions are met prevent missed trades due to delayed evaluations power intraday and high frequency strategies without a loop, your agent would check conditions just once—typically at market open or close 2\ real world example without vs with a loop ❌ without a loop you load a watchlist based on a daily signal and set a 30 minute strategy (e g , trade when price > 20 & 50 ma) but this only runs once per day you miss all intraday changes ✅ with a loop wrap your 30 minute logic inside a loop that runs every 30 minutes now your bot reacts to new intraday setups finds more opportunities throughout the day trades with much greater timing precision 3\ how to add a loop to your workflow let’s say you’ve built an agent that loads a daily technical watchlist runs a 30 min time frame condition to make it loop step by step open the agent workflow click ➕ add step choose loop from the dropdown select a loop interval → e g , every 30 minutes if using 30m bars → or every 1 minute for frequent refresh drag your strategy logic inside the loop click save now your bot runs the full logic repeatedly, not just once 4\ want continuous watchlist updates? if your bot should refresh its watchlist multiple times during the day add a loop above the daily screener node set it to update every 1 minute then run your intraday logic below it 🎯 this lets you scan for new qualifying stocks that meet your conditions anytime—not just from a fixed list created at market open 5\ prevent over trading restrict duplicate trades if your loop is aggressive (e g , every minute), your agent might keep triggering the same trade over and over to avoid that open your workflow details scroll to restrict duplicate trades set it to yes save the changes 🚫 this ensures that once a position is opened, the bot won’t keep re entering the same trade unless conditions change 🔁 summary why loops are a must without loops with loops checks once per day checks every minute (or custom interval) may miss trades reacts instantly to new conditions no intraday updates supports real time execution no risk re checking actively monitors stop loss & profit zones poor scalability monitors multiple assets & timeframes loops make your bot faster, smarter, and always market aware ✅ next step go into your agent builder and try wrapping one of your trade conditions in a loop need help? check out the \[video tutorial] or chat with us anytime