Skip to content

Commit

Permalink
Removed more diagnostics code.
Browse files Browse the repository at this point in the history
Changes to be committed:
	modified:   Base/Library/CONDccxt.py
	modified:   Base/Library/CONDmimic.py
  • Loading branch information
rapmd73 committed May 7, 2024
1 parent 37e7ae7 commit aa9826d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions Base/Library/CONDccxt.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,8 @@ def OrderProcessor(Orphan):
result=relay.SendWebhook(newOrder)
oid=relay.GetOrderID(result)
if oid!=None:
relay.JRLog.Write(LogMSG,stdOut=False)
resp=relay.GetOrderDetails(id=oid,symbol=relay.Order['Asset'])
# Order must be closed as it succedded
relay.JRLog.Write(json.dumps(resp),stdOut=False)
sprice=float(resp['price'])

# find trade close time and duration
Expand Down
1 change: 0 additions & 1 deletion Base/Library/CONDmimic.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ def OrderProcessor(Orphan):
resp=relay.GetOrderDetails(id=oid,symbol=relay.Order['Asset'])
# Order must be closed as it succedded
newOrder['ID']=oid
relay.JRLog.Write(json.dumps(resp),stdOut=False)
sprice=float(resp['Price'])

# find trade close time and duration
Expand Down

0 comments on commit aa9826d

Please sign in to comment.