You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

109 lines
3.1 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-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-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-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-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-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>