already went to the documentation but couldn't find my answers.
What is the difference between amout and remainingAmount ? What about when it's buy, and when it's sell ? I thought I could think of a meaning, but remainingAmount is not even the lesser one when the values are different, as I would expect.
Also :
Can you buy X and sell Y in the same tick ?
Can you buy X and sell X in the same tick ?
Thank You!!!
I didn't find the right solution from the Internet.