SSL + ATR + WAE v2 passes order values that Exchange (Bybit) does not allow

Community / Features & BugsCategory: BugsSSL + ATR + WAE v2 passes order values that Exchange (Bybit) does not allow
Jason asked 4 months ago

see example below (may apply to other strategies):

API Entry – Long
================

APIname(btcusdt) {

stop(if=positionLong);

cancel(which=all);

exchangeSettings(leverage=isolated,leverage=4);

market(side=buy, amount=200%b);

wait(2s);

limit(side=sell, amount=41%p, reduceOnly=true, offset=**@21761.766**);

limit(side=sell, amount=75%p, reduceOnly=true, offset=**@21936.37368**);

limit(side=sell, amount=100%p, reduceOnly=true, offset=**@22125.532**);

stopOrder(side=sell, amount=100%p, offset=**@20970.04**);

}

bot
===

Jason
replied 4 months ago

Apologies this is not the issue, the problem was with my orders above the limit orders, LamboRambo helped me resolve it.

Liked it? Take a second to support on Patreon!