A custom command you can easily add to any script to sync open positions with exchange on start for example.
Tested working with Binance, not sure about others.
Simple Usage – give the command the position Id’s for the positions you want to sync and save the id’s, done.
local shortPosId = Load('shortPosId', NewGuid())
local longPosId = Load('longPosId', NewGuid())
if Load('syncdone', true) then
CC_SyncPositions(true, shortPosId, longPosId)
Mandala Trading Competition Promotion Type: contest Expires: June 9, 2023Trading volume competition, win up to $10,000 USDT and bounties.
Earn Up to 200 BMEX Tokens Promotion Type: contest Expires: March 31, 202315 BMEX @ $20,000, 25 BMEX @ $50,000, 50 [email protected] $200,000, 100 BMEX @ $400,000, 200 BMEX @ $600,000 in monthly derivatives volume