Category: Algo Trading

  • Placing a TP profit and Stop loss order using CCXT and BINANCE

    Placing a TP profit and Stop loss order using CCXT and BINANCE

    After trying many different ways of doing this with ByBit I gave Binance a shot. This seems to work fine and means that I dont have to worry about cancelling the tp/sl order if the other order is triggered!

  • By-bit spot stop loss and take profit orders.- My findings!

    By-bit spot stop loss and take profit orders.- My findings!

    After trying so many different ways to place these types of orders on the exchange, and no real success, I ended up doing this: First we need to place our order. We can do so like this: Notice we have saved our order into a csv called “orders.csv”? We can now use this to check…

  • Solving Issues with Bybit v5 Python API

    Solving Issues with Bybit v5 Python API

    Introduction: Recently, I encountered an issue while using the Bybit v5 Python API. After running for a few hours, the API would stop working properly and I would receive an error message stating “invalid request, please check your server timestamp or recv_window param”. After some investigation, I discovered that the solution was to sync the…