Post
Topic
Board Project Development
Re: [ANN] jCryptoTrader BETA - open source trading client
by
efc17
on 11/07/2014, 12:51:17 UTC
Hi

Running on win 7 32bit.

I can't enter more than 1 rule.  2nd rule removes the 1st etc.

 MarketRule rule = ruleIterator.next();
                    if (rule.condition.isSatisfied(ruleData)) {
                        if (rule.action != null) {
                            rule.action.apiWorker = worker;
                            Thread actionThread = new Thread(rule.action);
                            actionThread.run();
                        }
                        if (callback != null) {
                            callback.onSuccess(rule);
                        }
                        if (executionType == MarketRuleExecutionType.ONLY_FIRST_SATISFIED) {
                            this.clear();
                            break;
                        }
                        ruleIterator.remove(); // Rule executed
                    }

How to change this I have absolutely 0 experience in Java.

Nice app.  I really appreciate something like this being open source.  If I could set 2 No. rules ie.  One sell @ x.xx and one buy @ x.xx It would be perfect for what I want to do at Cryptsy.

/*edit:  Also cancel order does not work from the GUI and I have to do it at Cryptsy,  could any experienced developer have quick look at this if you get a moment.  As it would take me forever (and I still wouldn't solve it).  failing that I may ask some colleagues at work if they wouldn't mind taking a look at the code.*/

Can anyone offer some advice on this please?

Thanks