I met an issue when I use EnterShortLimit in script editor. I found when the script is running, there are two orders filled but the quantity I set is 1. I then checked the order lists and log. I found one order is what I expect with "Sell short" action type but the other order's action type is "Sell". I screenshot the log and order lists. Could you please explain this and tell me how to submit 1 order only? Thanks!
Here is the format I'm using: EnterShortLimit(1, Close[0], @"Long1");
Comment