Cryptocurrency exchange Binance has introduced a function to help its API users prevent self-trading on their platform.