diff --git a/Base/JackrabbitOliverTwist b/Base/JackrabbitOliverTwist index eac207a..2f764e2 100755 --- a/Base/JackrabbitOliverTwist +++ b/Base/JackrabbitOliverTwist @@ -285,8 +285,8 @@ def ProcessOrphan(**kwargs): Processor=importlib.import_module(f"COND{Orphan['Framework']}") State=Processor.OrderProcessor(Orphan) - except: - JRLog.Write(f"Broke: {Orphan['Key']}") + except Exception as err: + JRLog.Write(f"Broke: {Orphan['Key']}, {err}") otLock=JRRsupport.Locker("OliverTwist",ID=Orphan['lID']) Memory=JRRsupport.Locker(Orphan['Key'],ID=Orphan['mID']) diff --git a/Base/Library/CONDmimic.py b/Base/Library/CONDmimic.py index 66b5287..670d43f 100755 --- a/Base/Library/CONDmimic.py +++ b/Base/Library/CONDmimic.py @@ -179,12 +179,12 @@ def OrderProcessor(Orphan): rpl=0 if dir=='long': - if ticker['Bid']>tp + if ticker['Bid']>tp: rpl=round((abs(amount)*sprice)-(abs(amount)*price),8) if sl!=0 and ticker['Bid']sl rpl=round((abs(amount)*sprice)-(abs(amount)*price),8) diff --git a/x1 b/x1 new file mode 100755 index 0000000..7f0ed7d --- /dev/null +++ b/x1 @@ -0,0 +1,4 @@ +#!/bin/bash + +curl -vv http://65.21.116.92:11434/api/generate -d '{"model": "matrix4","prompt": "Why is the sky blue?"}' +