you pay funding fee only to keep your short position. You earn funding fee by keeping long position .