code: def updateratio(ctx, symbol, ratio, account):
      
      from bitshares.dex import Dex
  
      dex = Dex(bitshares_instance=ctx.bitshares)
      print_tx(dex.adjust_collateral_ratio(symbol, ratio, account=account))
docs: Update the collateral ratio of a call positions