fullPartialPositionTPSLSwitch method

Future<Map<String, dynamic>?> fullPartialPositionTPSLSwitch({
  1. required String symbol,
  2. required String tpSlMode,
})

Full/Partial Position TP/SL Switch : Switch mode between Full or Partial https://bybit-exchange.github.io/docs/inverse/#t-switchmode

Implementation

Future<Map<String, dynamic>?> fullPartialPositionTPSLSwitch(
    {required String symbol, required String tpSlMode}) async {
  log.i('Switch Full/Partial position TP/SL.');
  return await rest.fullPartialPositionTPSLSwitch(
    symbol: symbol,
    tpSlMode: tpSlMode,
  );
}