The legality of placing a whale wall varies by jurisdiction and context. It is generally legal to place large orders, but using these orders to manipulate the market can be illegal or considered unethical in many financial systems.