The Undefeated Posted September 5, 2017 Share Posted September 5, 2017 Is there a way to find out if a sale is completed or aborted? Both return the same GE Box status. Quote Link to comment Share on other sites More sharing options...
Deceiver Posted September 5, 2017 Share Posted September 5, 2017 could maybe get the color of the green/red bar and if it matches do x Quote Link to comment Share on other sites More sharing options...
Butters Posted September 5, 2017 Share Posted September 5, 2017 Actually a good question, I was using Status.PENDING_BUY or Status.PENDING_SALE after aborting a sale/buy. But works kinda funky. Quote Link to comment Share on other sites More sharing options...
Eagle Scripts Posted September 5, 2017 Share Posted September 5, 2017 I'd say looking into its colours Quote Link to comment Share on other sites More sharing options...
The Undefeated Posted September 5, 2017 Author Share Posted September 5, 2017 (edited) Hmm. getAmountTraded returns the total amount bought so you could use that, but getAmountRemaining will just return the amount it would buy in total even if it's completely bought already. Edited September 5, 2017 by The Undefeated Quote Link to comment Share on other sites More sharing options...
Antonio Kala Posted September 5, 2017 Share Posted September 5, 2017 (edited) Collect to inventory and check inv to see if you got back what you had in the offer. Edited September 5, 2017 by Antonio Kala Quote Link to comment Share on other sites More sharing options...
Alek Posted September 5, 2017 Share Posted September 5, 2017 Yeah, use colors instead of our hooks which give you the precise information... Quote Link to comment Share on other sites More sharing options...