Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lbank
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rongjun
lbank
Commits
0a640f0f
Commit
0a640f0f
authored
Sep 07, 2018
by
zihan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整手续费
parent
14fed6fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
lbankCollector.js
lbankCollector.js
+1
-2
No files found.
lbankCollector.js
View file @
0a640f0f
...
@@ -86,7 +86,7 @@ class BiboxCollector extends BaseCollector{
...
@@ -86,7 +86,7 @@ class BiboxCollector extends BaseCollector{
return
symbolDetail
.
pair
;
return
symbolDetail
.
pair
;
}
}
getFeeRate
(
fromCurrency
,
toCurrency
){
getFeeRate
(
fromCurrency
,
toCurrency
){
return
0.00
1
;
return
0.00
06
;
}
}
processAmount
(
fromCurrency
,
toCurrency
,
amount
){
processAmount
(
fromCurrency
,
toCurrency
,
amount
){
//有可能会由于数值过小,传进来的amount被表示为科学计数法法
//有可能会由于数值过小,传进来的amount被表示为科学计数法法
...
@@ -109,7 +109,6 @@ class BiboxCollector extends BaseCollector{
...
@@ -109,7 +109,6 @@ class BiboxCollector extends BaseCollector{
getCurrencyMaxReturnAmount
(
currency
){
getCurrencyMaxReturnAmount
(
currency
){
// const balance = this.getCurrencyBalance(currency);
// const balance = this.getCurrencyBalance(currency);
// return Math.min(Strategy3MaxAmountMap[currency],balance);
// return Math.min(Strategy3MaxAmountMap[currency],balance);
//todo 当前没有底仓暂时先不考虑底仓的情况
return
Strategy3MaxAmountMap
[
currency
];
return
Strategy3MaxAmountMap
[
currency
];
}
}
getDepthPrintStr
(
fromCurrency
,
toCurrency
,
depth
=
1
){
getDepthPrintStr
(
fromCurrency
,
toCurrency
,
depth
=
1
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment