graph LR
Start(["`Start`"])
1["`<strong>userInteraction</strong><br>config`"]
2["`<strong>CodeBox</strong><br>grid trading logic`"]
Start ---> 1
1 ---> 2
Advanced grid trading strategy on Lighter exchange with dynamic grid spacing based on Bollinger Bands, automatic stop-loss management, and intelligent order placement based on trend strength and price volatility
This workflow is designed for experienced traders who want to implement a sophisticated grid trading strategy on Lighter exchange. It's suitable for users who understand grid trading concepts and want automated risk management with dynamic grid spacing and stop-loss protection.
Grid trading requires constant monitoring and adjustment of orders based on market conditions. This workflow automates:
Binance - Kline data: Returns OHLCV candles for a symbol and interval with optional time range, limit (default 5), and proxy
Lighter - Get ticker: Returns an approximate ticker derived from top-of-book using symbol and optional proxy
Lighter - Order book: Fetches order book levels for a symbol with optional limit and proxy
Lighter - List open orders: Fetches active open orders for an account and symbol
TA Indicators - SuperTrend: Calculates SuperTrend indicator values based on high, low, and close prices
TA Indicators - Bollinger Bands: Calculates Bollinger Bands with configurable period and standard deviation
TA Indicators - ATR: Calculates Average True Range (ATR) for volatility measurement
TA Indicators - ADX: Calculates Average Directional Index (ADX) to measure trend strength
Lighter - Create Order: Places a LIMIT or MARKET order using symbol, side, type, size and API credentials
Lighter - Cancel Order: Cancels an existing order using orderId
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.