Strat: Bigger Extender
Alert: 1 Alert configured sending code to Alertatron
Alert code sent:
FTXAPIName(BTC-PERP) {
market(side=sell, amount=10%);
wait(1s);
stopOrder(position=0, [email protected]);
}
bot
So I end up with 2 trades…
Obv’s, if I increase the amount = 500% then the 2nd order fails with an exchange msg "Not enough margin", so its definately being received by the exchange.
The same happesn with TP code like this where I end up with 9 placed orders:
limit(side=buy, amount=33%p, reduceOnly=true, [email protected]#LongTP1#); # Create a limit order to sell 33% at the TP1 level (passed on via Strat)
limit(side=buy, amount=33%p, reduceOnly=true, [email protected]#LongTP2#); # Create a limit order to sell 33% at the TP2 level (passed on via Strat)
limit(position=0, reduceOnly=true, [email protected]#LongTP#); } # Create a limit order to sell 100% remaining at the TP3 level (passed on via Strat)
I’ve tried removing the strat and the alerts completely and re-adding them, to no avail.