Skip to content

Commit

Permalink
Bug fix in Mimic wallet. Wasn't creating empty base wallet as needed.
Browse files Browse the repository at this point in the history
Changes to be committed:
	modified:   Base/Library/JRRmimic.py
  • Loading branch information
rapmd73 committed Mar 25, 2024
1 parent 4675fea commit 083cf9d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Base/Library/JRRmimic.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,11 @@ def PlaceOrder(self,**kwargs):
if ro==True and action=='sell':
amount=self.Wallet['Wallet'][base]

# Create base if not present

if base not in self.Wallet['Wallet']:
self.Wallet['Wallet'][base]=0

# Handle long/short flipping

result=None
Expand Down

0 comments on commit 083cf9d

Please sign in to comment.