Fix posting trades
This commit is contained in:
parent
60979652d9
commit
6dd2997a74
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue