Skip to content

Commit

Permalink
Buf fixes.
Browse files Browse the repository at this point in the history
Changes to be committed:
	modified:   Base/JackrabbitOliverTwist
	modified:   Base/Library/CONDmimic.py
  • Loading branch information
rapmd73 committed May 5, 2024
1 parent 8355046 commit 65359ae
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Base/JackrabbitOliverTwist
Original file line number Diff line number Diff line change
Expand Up @@ -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'])
Expand Down
4 changes: 2 additions & 2 deletions Base/Library/CONDmimic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)*price)-(abs(amount)*sprice),8)
else:
if ticker['Ask']<tp
if ticker['Ask']<tp:
rpl=round((abs(amount)*price)-(abs(amount)*sprice),8)
if sl!=0 and ticker['Ask']>sl
rpl=round((abs(amount)*sprice)-(abs(amount)*price),8)
Expand Down
4 changes: 4 additions & 0 deletions x1
Original file line number Diff line number Diff line change
@@ -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?"}'

0 comments on commit 65359ae

Please sign in to comment.