jaybiz / Publications
Forum
OrderType() always returns OP_BUY for sell orders. [SOLVED]
[Solved: turns out I had created an enum called "OrderType" in another file which was shadowing and wreaking havoc. ] Hi all, I'm stuck. For some reason my OP_BUYs are working, but when I try to open a OP_SELL, OrderType() always reports 0. I'd be super-grateful if someone can help me with this