If using AlphaBot, prefix all commands with x
.
Switch to all instrument :
instrument *
replace buyusd amount: buy amount/askprice
replace sellusd amount: sell amount/bidprice
replace p: position list
replace i x: instrument x
replace o: order list
replace sl price: stop price
replace tp price: sell price ro
replace mrbuy amount sloss tprofit: let distance lastprice-sloss, buy amount/askprice, wait fill, stop sloss, set ro, sell 50%possize distance+lastprice, sell 100%possize tprofit
replace mrsell amount sloss tprofit: let distance lastprice-sloss, sell amount/bidprice, wait fill, stop sloss, set ro, buy 50%possize distance+lastprice, buy 100%possize tprofit
replace mrbuysplit amount sloss tprofit: let distance lastprice-sloss, buy amount/askprice, wait fill, stop sloss, wait 1, set ro, sell 50%possize distance+lastprice, split sell 51%possize into 3 from distance+lastprice to tprofit
replace mrsellsplit amount sloss tprofit: let distance lastprice-sloss, sell amount/bidprice, wait fill, stop sloss, wait 1, set ro, buy 50%possize distance+lastprice, split buy 51%possize into 3 from distance+lastprice to tprofit
instrument cusdt-perp