Turns out that formula is right. And the fee wasn't $564 that came from other fees. It was like $385. I am asking tradezero to see if they can waive some of this fee for someone ignorant but I doubt it. They probably just made this fee to cheat unexpected customers.