109 lines
3.2 KiB
HTML
109 lines
3.2 KiB
HTML
<p class="subtitle">Close positions</p>
|
|
<div class="columns">
|
|
<div class="column">
|
|
<button
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
|
hx-delete="#"
|
|
hx-trigger="click"
|
|
hx-target="#modals-here"
|
|
hx-swap="innerHTML"
|
|
hx-confirm="Are you sure you wish to close all positions?"
|
|
class="button is-danger is-fullwidth">
|
|
<span class="icon-text">
|
|
<span class="icon">
|
|
<i class="fa-solid fa-xmark"></i>
|
|
</span>
|
|
<span>All</span>
|
|
</span>
|
|
</button>
|
|
</div>
|
|
<div class="column">
|
|
<button
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
|
hx-delete="#"
|
|
hx-trigger="click"
|
|
hx-target="#modals-here"
|
|
hx-swap="innerHTML"
|
|
hx-confirm="Are you sure you wish to close all profitable positions?"
|
|
class="button is-success is-fullwidth">
|
|
<span class="icon-text">
|
|
<span class="icon">
|
|
<i class="fa-solid fa-xmark"></i>
|
|
</span>
|
|
<span>Winners</span>
|
|
</span>
|
|
</button>
|
|
</div>
|
|
<div class="column">
|
|
<button
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
|
hx-delete="#"
|
|
hx-trigger="click"
|
|
hx-target="#modals-here"
|
|
hx-swap="innerHTML"
|
|
hx-confirm="Are you sure you wish to close all losing positions?"
|
|
class="button is-danger is-fullwidth">
|
|
<span class="icon-text">
|
|
<span class="icon">
|
|
<i class="fa-solid fa-xmark"></i>
|
|
</span>
|
|
<span>Losers</span>
|
|
</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<p class="subtitle">Break even</p>
|
|
<div class="columns">
|
|
<div class="column">
|
|
<button
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
|
hx-delete="#"
|
|
hx-trigger="click"
|
|
hx-target="#modals-here"
|
|
hx-swap="innerHTML"
|
|
hx-confirm="Are you sure you wish set all the SLs for profitable positions to the entry price, and all the TPs for losing positions to the entry price"
|
|
class="button is-info is-fullwidth">
|
|
<span class="icon-text">
|
|
<span class="icon">
|
|
<i class="fa-solid fa-xmark"></i>
|
|
</span>
|
|
<span>All</span>
|
|
</span>
|
|
</button>
|
|
</div>
|
|
<div class="column">
|
|
<button
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
|
hx-delete="#"
|
|
hx-trigger="click"
|
|
hx-target="#modals-here"
|
|
hx-swap="innerHTML"
|
|
hx-confirm="Are you sure you wish set all the SLs for profitable positions to the entry price?"
|
|
class="button is-success is-fullwidth">
|
|
<span class="icon-text">
|
|
<span class="icon">
|
|
<i class="fa-solid fa-xmark"></i>
|
|
</span>
|
|
<span>Winners</span>
|
|
</span>
|
|
</button>
|
|
</div>
|
|
<div class="column">
|
|
<button
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
|
hx-delete="#"
|
|
hx-trigger="click"
|
|
hx-target="#modals-here"
|
|
hx-swap="innerHTML"
|
|
hx-confirm="Are you sure you wish set all the TPs for losing positions to the entry price?"
|
|
class="button is-warning is-fullwidth">
|
|
<span class="icon-text">
|
|
<span class="icon">
|
|
<i class="fa-solid fa-xmark"></i>
|
|
</span>
|
|
<span>Losers</span>
|
|
</span>
|
|
</button>
|
|
</div>
|
|
</div> |