Fix posting trades

Mark Veidemanis 2 years ago
parent 60979652d9
commit 6dd2997a74
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -97,7 +97,7 @@ def execute_strategy(callback, strategy):
direction=direction,
)
new_trade.save()
posted, info = new_trade.post()
info = new_trade.post()
log.debug(f"Posted trade: {posted} - {info}")

@ -30,7 +30,7 @@ GetAllAssetsSchema = {
[
{
"id": "id",
"class": "class",
"class": "class_",
"exchange": "exchange",
"symbol": "symbol",
"name": "name",

Loading…
Cancel
Save