New Module to access the exchanges

This commit is contained in:
Luis Fernando Molina committed 2018-09-16 15:20:28 +02:00
1 parent 9f74ed7c59
commit 2dda1e3e37
12 files changed
+10170 -503

No files matched your search

+1 -1
View File
@@ -711,7 +711,7 @@ function onBrowserRequest(request, response) {
let exchangeKey = session.exchangeKeys[0].key; // 0 because we only deal with one exchange for now.
let exchangeSecret = session.exchangeKeys[0].secret;
const POLONIEX_CLIENT_MODULE = require('./Server/Exchange/' + 'PoloniexAPIClient');
const POLONIEX_CLIENT_MODULE = require('./Server/Exchange/' + 'ExchangeAPI');
let poloniexApiClient = POLONIEX_CLIENT_MODULE.newPoloniexAPIClient(exchangeKey, exchangeSecret);
switch (requestParameters[2]) {