diff --git a/v2realbot/static/index.html b/v2realbot/static/index.html
index 3d8f445..5889221 100644
--- a/v2realbot/static/index.html
+++ b/v2realbot/static/index.html
@@ -43,7 +43,7 @@
-
+
diff --git a/v2realbot/static/js/mytables.js b/v2realbot/static/js/mytables.js
index 2552c99..39eea32 100644
--- a/v2realbot/static/js/mytables.js
+++ b/v2realbot/static/js/mytables.js
@@ -190,17 +190,20 @@ $(document).ready(function () {
console.log(filterList)
console.log(minsize)
var row = ""
- var puvodni = parseFloat($('#trade-timestamp').val())
+ //zakrouhleno na milisekundy
+ var puvodni = parseFloat(parseInt(parseFloat($('#trade-timestamp').val())*1000))/1000
+ console.log(puvodni)
$('#trades-data-table').html(row);
data.forEach((tradeLine) => {
//console.log(JSON.stringify(tradeLine))
date = new Date(tradeLine.timestamp)
timestamp = date.getTime()/1000
+ console.log(timestamp)
- //trade contains filtered condition
- bg = (findCommonElements3(filterList, tradeLine.conditions) ? 'style="background-color: #e6e6e6;"' : '')
+ //trade contains filtered condition or size
' + timestamp + ' | ' + tradeLine.price + ' | ' +
+ row += '| ' + timestamp + ' | ' + tradeLine.price + ' | ' +
'' + tradeLine.size + ' | ' + tradeLine.id + ' | ' +
'' + tradeLine.conditions + ' | ' + tradeLine.tape + ' | ' +
'' + tradeLine.timestamp + ' |
';
diff --git a/v2realbot/static/js/mywebsocket.js b/v2realbot/static/js/mywebsocket.js
index 32cfc28..5b503c3 100644
--- a/v2realbot/static/js/mywebsocket.js
+++ b/v2realbot/static/js/mywebsocket.js
@@ -84,7 +84,9 @@ function connect(event) {
logcnt++;
row = ''+logLine.time + " " + logLine.event + ' - '+ (logLine.message == undefined ? "" : logLine.message) +'
'
str_row = JSON.stringify(logLine.details, null, 2)
- row_detail = ''
+ //row_detail = ''
+
+ row_detail = ''
var lines = document.getElementById('lines')
var line = document.createElement('div')
diff --git a/v2realbot/static/main.css b/v2realbot/static/main.css
index 0a786e8..8e2458c 100644
--- a/v2realbot/static/main.css
+++ b/v2realbot/static/main.css
@@ -83,4 +83,8 @@ pre {
#trades-data {
height: 350px;
overflow: auto;
+}
+
+.highlighted {
+ font-weight: bold;
}
\ No newline at end of file