There's a limit, though — you can only earn 50 Coins per day. To earn the daily maximum, the Pokemon needs to be in the gym for 8 hours and 20 minutes. With this in mind, you can strategize about which Pokemon you place where and when.