You must be legally allowed to trade on the exchange and the assets it offers. Some countries don’t allow cryptocurrency trading, for instance. The exchange must have a Public API available. One cannot build a bot without an endpoint to send requests to .