gui js refactors + ilogs database
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<!doctype html>
|
||||
<html lang="en" data-bs-theme="light">
|
||||
<html lang="en" data-bs-theme="dark">
|
||||
<head>
|
||||
<!-- Required meta tags -->
|
||||
<meta charset="utf-8">
|
||||
@@ -51,12 +51,16 @@
|
||||
<button onclick="sendMessage(event)" id="bt.send" class="btn btn-outline-success btn-sm">Send</button>
|
||||
</form>
|
||||
</div>
|
||||
<div id="statusHeader" data-bs-toggle="collapse" data-bs-target="#statusStratvars">
|
||||
<div id="statusHeader" data-bs-toggle="collapse" data-bs-target="#statusDetail">
|
||||
<div id="statusRegime" class="headerItem"></div>
|
||||
<div id="statusName" class="headerItem"></div>
|
||||
<div id="statusMode" class="headerItem"></div>
|
||||
<div id="statusAccount" class="headerItem"></div>
|
||||
<pre id="statusStratvars" class="headerItem collapse"></pre>
|
||||
<div id="statusIlog" class="headerItem"></div>
|
||||
<div id="statusDetail" class="headerItem collapse">
|
||||
<pre id="statusStratvars" class="headerItem"></pre>
|
||||
<pre id="statusSettings" class="headerItem"></pre>
|
||||
</div>
|
||||
</div>
|
||||
<div id="chart" style="display: None; float: left; "></div>
|
||||
<div class="legend" id="legend"></div>
|
||||
@@ -95,16 +99,18 @@
|
||||
<button id="button_pause" class="btn btn-outline-success btn-sm">Pause/Unpause</button>
|
||||
<button id="button_stop" class="btn btn-outline-success btn-sm">Stop</button>
|
||||
<button id="button_stopall" class="btn btn-outline-success btn-sm">Stop All</button>
|
||||
<button id="button_refresh" class="btn btn-outline-success btn-sm">Refresh</button>
|
||||
<button id="button_refresh" class="refresh btn btn-outline-success btn-sm">Refresh</button>
|
||||
</div>
|
||||
<table id="runnerTable" class="table-striped table-bordered dataTable" style="width:100%; border-color: #dce1dc;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<th>StratId</th>
|
||||
<th>Started</th>
|
||||
<th>Mode</th>
|
||||
<th>Symbol</th>
|
||||
<th>Account</th>
|
||||
<th>Account</th>
|
||||
<th>ilog</th>
|
||||
<th>Paused</th>
|
||||
<th>Profit</th>
|
||||
<th>Trades</th>
|
||||
@@ -152,6 +158,7 @@
|
||||
<button id="button_edit_arch" class="btn btn-outline-success btn-sm">Edit</button>
|
||||
<button id="button_delete_arch" class="btn btn-outline-success btn-sm">Delete</button>
|
||||
<button id="button_show_arch" class="btn btn-outline-success btn-sm">Show</button>
|
||||
<button id="button_refresh" class="refresh btn btn-outline-success btn-sm">Refresh</button>
|
||||
<!-- <button id="button_stopall" class="btn btn-outline-success btn-sm">Stop All</button>
|
||||
<button id="button_refresh" class="btn btn-outline-success btn-sm">Refresh</button> -->
|
||||
</div>
|
||||
@@ -159,20 +166,22 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<th>StratId</th>
|
||||
<th>Name</th>
|
||||
<th>Symbol</th>
|
||||
<th>Sym</th>
|
||||
<th>Note</th>
|
||||
<th>started</th>
|
||||
<th>stopped</th>
|
||||
<th>mode</th>
|
||||
<th>account</th>
|
||||
<th>bt_from</th>
|
||||
<th>bt_to</th>
|
||||
<th>bt_to</th>
|
||||
<th>ilog</th>
|
||||
<th>stratvars</th>
|
||||
<th>profit</th>
|
||||
<th>tradecnt</th>
|
||||
<th>end_pos</th>
|
||||
<th>end_pos_avgp</th>
|
||||
<th>trade</th>
|
||||
<th>pos</th>
|
||||
<th>pos_avgp</th>
|
||||
<th>open</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -216,7 +225,7 @@
|
||||
<input type="text" class="form-control" id="editidarchive" name="id" placeholder="id" readonly>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="note" class="form-label">note</label>
|
||||
<label for="editnote" class="form-label">note</label>
|
||||
<textarea class="form-control" rows="2" id="editnote" name="note"></textarea>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
@@ -245,6 +254,7 @@
|
||||
<button id="button_copy" class="btn btn-outline-success btn-sm">Copy JSON</button>
|
||||
<button id="button_delete" class="btn btn-outline-success btn-sm">Delete</button>
|
||||
<button id="button_run" class="btn btn-outline-success btn-sm">Run Strategy</button>
|
||||
<button id="button_refresh" class="refresh btn btn-outline-success btn-sm">Refresh</button>
|
||||
<table id="stratinTable" class="table-striped table-bordered dataTable" style="width:100%; border-color: #dce1dc;">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -418,8 +428,16 @@
|
||||
<input type="number" class="form-control" id="cash" name="cash" placeholder="cash" value="100000">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="cash" class="form-label">Subscribe for RT</label>
|
||||
<input type="checkbox" class="form-check-input mt-0" id="subscribe" name="subscribe" aria-label="Real time subscribe">
|
||||
<label for="ilog_save" class="form-label">Enable logs</label>
|
||||
<input type="checkbox" class="form-check" id="ilog_save" name="ilog_save" aria-label="Enable logs">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="subscribe" class="form-label">Subscribe for RT</label>
|
||||
<input type="checkbox" class="form-check" id="subscribe" name="subscribe" aria-label="Real time subscribe">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="note" class="form-label">note</label>
|
||||
<textarea class="form-control" rows="1" id="note" name="note"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
@@ -433,6 +451,14 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="configContainer" class="flex-items">
|
||||
<label data-bs-toggle="collapse" data-bs-target="#configInner" aria-expanded="true">
|
||||
<h4><span class="badge secondary-bg">Config</span></h4>
|
||||
</label>
|
||||
<div id="configInner" class="collapse show">
|
||||
config options
|
||||
</div>
|
||||
</div>
|
||||
<div id="bottomContainer" class="flex-items" style="height: 800px">
|
||||
<BR>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user