Swordtail fish are sturdy tropical fish that can tolerate a wide range of water temperatures. They should do fine in any water temperature between 65- 82⁰Fahrenheit. Even though they are adaptable and quite durable, avoid sudden and violent temperature drops in temperature, as this can harm your fish and make their immune system vulnerable.
Swordtail prefer very hard water from 12–30 dGH and an ideal water pHanywhere between 7.0 and 8.4. In general, they prefer moderately alkaline, hard water.
You can give them quality flake food or live foods like bloodworms, daphnia, brine shrimp.
Swordtail fish are a peaceful and active species. They are very social and enjoy good company, especially when housed with other swordtails or similar passive species. The swordtail fish can make a great companion in similar cousins, such as platies, mollies, or angelfish. Peaceful types of corydoras are also great as their companions. Some larger types of tetras can be great, too, but keep them in schools of five or more to prevent possible harassment.
Male swordtail fish are almost always aggressive towards other males of the same species. If your tank isn’t huge, you should definitely opt to keep only one male along with two or three females in one tank.