Commit c97f8248 by zihan

参数调整

parent 97c9b684
......@@ -130,7 +130,7 @@ class KucoinCollector extends BaseCollector{
}
getFeeRate(fromCurrency,toCurrency){
// return 0.0007;
return 0.001;
return 0.0008;
}
processAmount(fromCurrency,toCurrency,amount){
const detail = this._getSymbolDetail(fromCurrency,toCurrency);
......
......@@ -125,7 +125,7 @@ class BiboxStrategy3 extends Strategy3 {
}
_isFeeDeducedByOther() {
return false;
return true;
}
_getTrades(order, callback) {
......
......@@ -43,7 +43,7 @@ function testCollector(){
// const strategy3 = new BiboxStrategy3(collector);
// strategy3.run();
}
testCollector();
// testCollector();
function printCurrency(){
const currentArray = [,'ETH','BTC','LTC','BCH','USDT','USD','RMB',"RCN","WINGS","TRX","LEND","CMT","POWR","HSR","GAS","RDN","TNT","OAX"
......@@ -94,7 +94,10 @@ function printCurrency(){
,'AC3','TTT','XNK','KCS','VET','TMT','IOG','EDN','USE','OLT','TFD','ZINC','UT','DAG','EDR','LALA','NUSD','USDC','CS','AOA','ETN'
,'DACC','DOCK','GO','APH','BAX','DEB','LYM','OMX','SHL','MOBI','OPEN','SOUL','TOMO','SPHTX','PRL','BPT','POLY','CXO'
,'ING','COFI','DRGN','PARETO','ADB','HKN','ARY','GAT','PHX','CV','EXY','MWAT','J8T','LOCI','AXPR','PLAY','PURA','GLA'
,'HAV','BNTY','ELIX','AIX','XLR','RHOC','FLIXX','ONION','HC','PBL','HST'];
,'HAV','BNTY','ELIX','AIX','XLR','RHOC','FLIXX','ONION','HC','PBL','HST','BCHSV','SNX','GGC','SUSD','META','BCHABC'
,'PAX','MHC','CSP','LOKI','NRG','AVA','FET','ANKR','DX','RBTC','RIF','TRTL','MTV','ODE','CRO','SPND','TRY','NIX'
,'ATOM','SNTR','OCEAN','CHR','FX','NIM','COTI','JAR','AERGO','ONOT','XYO','VNX','PAL','GMB','KAT','OPQ','FTM'
,'VSYS','BTT','SOLVE','GRIN'];
const api = new biboxApi('','');
api.fetchSymbols((error,data)=>{
if (!error) {
......@@ -121,7 +124,7 @@ function printCurrency(){
}
})
}
// printCurrency()
printCurrency()
function testOrder(){
const Order = require('./order_kucoin');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment