Toggle navigation
Toggle navigation
This project
Loading...
Sign in
정홍주
/
Coin-trade-assistant
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
정홍주
2021-06-07 07:26:44 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e4a7ce1406d89a1522f7cfc47009a8f42a1d4976
e4a7ce14
1 parent
7c5252af
Complete Kimchi -premium function
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
app.js
app.js
View file @
e4a7ce1
...
...
@@ -111,8 +111,12 @@ function compare_price(replyToken, message, upbitPrice){
{
"type"
:
"text"
,
"text"
:
"Upbit : "
+
String
(
upbitPrice
)
+
"원"
}
]
},
{
"type"
:
"text"
,
"text"
:
"김치프리미엄 : "
+
String
(((
upbitPrice
-
binancePrice
)
/
upbitPrice
*
100
).
toFixed
(
2
))
+
"%"
}
]
}
},(
error
,
response
,
body
)
=>
{
console
.
log
(
body
)
...
...
Please
register
or
login
to post a comment