graph LR
Start(["`Start`"])
1["`<strong>set</strong><br>config`"]
2["`<strong>lighter</strong><br>get positions`"]
3{"`<strong>if</strong><br>If exists positon`"}
4["`<strong>lighter</strong><br>close position on lighter`"]
5["`<strong>lighter</strong><br>place order on lighter`"]
6["`<strong>paradex</strong><br>close position on paradex`"]
10["`<strong>paradex</strong><br>place inverse order on paradex`"]
8["`<strong>lighter</strong><br>place order on lighter1`"]
9["`<strong>paradex</strong><br>place inverse order on paradex1`"]
7["`<strong>wait</strong><br>Wait 30 seconds`"]
Start ---> 1
1 ---> 2
2 ---> 3
3 -->|true| 4
3 -->|false| 5
4 ---> 6
5 ---> 10
6 ---> 7
8 ---> 9
7 ---> 8
Automated hedging strategy that closes existing positions and opens opposite positions on Lighter and Paradex exchanges to maintain market-neutral exposure
This workflow is designed for advanced traders who want to implement cross-exchange hedging strategies between Lighter and Paradex. It's suitable for users who understand hedging concepts and want to maintain market-neutral positions across multiple exchanges.
Cross-exchange hedging requires monitoring positions on multiple platforms and executing opposite trades simultaneously. This workflow automates:
Lighter - Get Positions: Returns current positions for the specified account index
Lighter - Create Order: Places a LIMIT or MARKET order using symbol, side, type, size and API credentials
Paradex - Place order: Places a LIMIT or MARKET order using symbol, side, type, size and Starknet credentials
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.