GRVT Dual Account Position Management - Monitors two accounts, closes positions when negative PnL exceeds threshold, and transfers profit between accounts
This workflow is designed for traders managing dual accounts on GRVT exchange who want automated risk management. It monitors positions across two accounts and automatically closes positions when negative PnL exceeds a threshold, with automatic profit transfer between accounts.
When managing multiple trading accounts, traders need:
This workflow automates the entire process:
Configure trading parameters:
Configure Account1 credentials:
account1_apiKey: Account1 API keyaccount1_secret: Account1 secret (hex format)account1_accountId: Account1 account IDaccount1_accountAddress: Account1 account address for transfersConfigure Account2 credentials:
account2_apiKey: Account2 API keyaccount2_secret: Account2 secret (hex format)account2_accountId: Account2 account IDaccount2_accountAddress: Account2 account address for transfersStart the workflow: The workflow will automatically:
GRVT - Fetch Positions: Retrieves current positions for an account using apiKey, secret, accountId, and symbol
GRVT - Create Order: Creates a signed order (EIP-712) using apiKey, secret, accountId, symbol, type (MARKET), side (BUY/SELL), and size
GRVT - Transfer: Transfers tokens between GRVT accounts using apiKey, secret, fromAccountId, fromSubAccountId, toAccountId, toSubAccountId, currency, and numTokens
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.