Implement strategies and posting trades
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
<div class="buttons">
|
||||
<button
|
||||
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
||||
hx-get="#trade-edit"
|
||||
hx-get="#"
|
||||
hx-trigger="click"
|
||||
hx-target="#{{ type }}s-here"
|
||||
class="button is-info">
|
||||
@@ -50,7 +50,7 @@
|
||||
</span>
|
||||
</button>
|
||||
{% if type == 'page' %}
|
||||
<a href="#trade-info">
|
||||
<a href="{% url 'position_action' type=type account_id=item.account_id asset_id=item.asset_id %}">
|
||||
<button
|
||||
class="button is-success">
|
||||
<span class="icon-text">
|
||||
@@ -63,7 +63,7 @@
|
||||
{% else %}
|
||||
<button
|
||||
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
||||
hx-get="#trade-info"
|
||||
hx-get="{% url 'position_action' type=type account_id=item.account_id asset_id=item.asset_id %}"
|
||||
hx-trigger="click"
|
||||
hx-target="#{{ type }}s-here"
|
||||
class="button is-success">
|
||||
|
||||
Reference in New Issue
Block a user