graph LR
Start(["`Start`"])
1["`<strong>userInteraction</strong><br>config`"]
2["`<strong>CodeBox</strong><br>maker bbo with stop loss`"]
Start ---> 1
1 ---> 2
Automated trading strategy that determines trade direction using technical indicators, places maker orders at best bid/offer prices, and manages positions with stop loss protection and market order fallback.
This workflow is designed for active traders and DeFi participants who want to automate their trading strategy on Ethereal. It suits users who prefer systematic, indicator-based trading decisions and want to manage risk with stop loss protection while maintaining flexibility through maker orders at best bid/offer prices.
Manual trading requires constant monitoring of market conditions, technical indicators, and order execution. This workflow automates the entire process:
callTAIndicator) to measure trend strength.placeMakerBBO with the configured size.placeLimitOrderWithStopLoss to take profit and limit downside risk.BTC). Use the format supported by Ethereal (e.g., BTC, ETH).0.001). Adjust based on your risk tolerance and account size.4h). Common options include 1h, 4h, 1d.5).10000).6). This determines how far above/below the entry price the limit order will be placed.100). This determines how far below/above the entry price the stop loss will trigger.90000).ethereal credential so the workflow can access ethereal_signerKey, ethereal_subAccountId, ethereal_subAccountName, and ethereal_accountAddress.Aster - Get ticker: Fetches current ticker price data for a trading pair symbol using symbol and optional proxy.
Aster - Kline data: Returns OHLCV candles for a symbol and interval with optional time range, limit, and proxy.
Ethereal - Place Maker BBO Order: Places a maker order at best bid/offer price with automatic re-pricing and timeout handling using symbol, side, size, pollIntervalMs, orderBookLevel, proxy, signerKey, and subAccountName.
Ethereal - Place Limit Order with Stop Loss: Places a limit order with timeout and stop-loss protection, automatically converting to market order if needed using symbol, side, size, price, timeout, stopLossPrice, pollIntervalMs, proxy, signerKey, and subAccountName.
Ethereal - Create Order: Creates a new order (limit or market) using signerKey and subAccountName for authentication with symbol, side, type, quantity, and optional parameters.
Technical Indicators - Calculate Supertrend: Calculates Supertrend using ATR bands with period, multiplier, and optional ATR method.
Technical Indicators - Calculate Bollinger Bands: Calculates Bollinger Bands for volatility and trend analysis using period, values, and stdDev.
Technical Indicators - Calculate ATR: Calculates Average True Range (ATR) for volatility analysis using high, low, close, and period.
Technical Indicators - Call Technical Indicator: Generic function to call any technical indicator by name with parameters (used for ADX calculation).
Tip: This executable workflow was automatically generated by SeamFlux Bot. To use it, create an execution and test it with your data to ensure it meets your needs.
Ready to get started?
to run this template or create a scheduled task, and ask AI about detailed node execution steps.
Run Locally — download this workflow as a ZIP or run it via Seamflux CLI in your terminal; use the "Run Locally" button above to choose.
Build a workflow from scratch using AI chat. No complex parameter configuration or flowchart dragging needed.