Fix posting trades
This commit is contained in:
@@ -97,7 +97,7 @@ def execute_strategy(callback, strategy):
|
|||||||
direction=direction,
|
direction=direction,
|
||||||
)
|
)
|
||||||
new_trade.save()
|
new_trade.save()
|
||||||
posted, info = new_trade.post()
|
info = new_trade.post()
|
||||||
log.debug(f"Posted trade: {posted} - {info}")
|
log.debug(f"Posted trade: {posted} - {info}")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ GetAllAssetsSchema = {
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"id": "id",
|
"id": "id",
|
||||||
"class": "class",
|
"class": "class_",
|
||||||
"exchange": "exchange",
|
"exchange": "exchange",
|
||||||
"symbol": "symbol",
|
"symbol": "symbol",
|
||||||
"name": "name",
|
"name": "name",
|
||||||
|
|||||||
Reference in New Issue
Block a user