Avoid creating a new Service object for each API call

Issue #456 resolved
Desrever Nu created an issue

The way we structured the TradeInterface at the moment is not efficient .

We create a new "Service" object for each query.

@Override
    public String query(String base, String method, TreeMap<String, String> args, boolean isGet) {
        PeatioService query = new PeatioService(base, method, args, keys);
        ...

Comments (4)

  1. Log in to comment