Fix posting trades

This commit is contained in:
Mark Veidemanis 2022-11-06 07:20:32 +00:00
parent 60979652d9
commit 6dd2997a74
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
2 changed files with 2 additions and 2 deletions

View File

@ -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}")

View File

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