While bot trading is legal in both cryptocurrency and stock markets, not all brokers allow it. However, it is important to note that any activities deemed illegal in traditional trading are also illegal in cryptocurrency trading.