Skip to content

Commit

Permalink
Bug fixes.
Browse files Browse the repository at this point in the history
Changes to be committed:
	modified:   Base/CCXT-PlaceOrder.future
	modified:   Base/CCXT-PlaceOrder.margin
	modified:   Base/CCXT-PlaceOrder.spot
	modified:   Base/CCXT-PlaceOrder.swap
	modified:   Base/JackrabbitOliverTwist
	modified:   Base/Library/CONDoanda.py
	modified:   Base/Library/JRRccxt.py
	modified:   Base/Library/JRRmimic.py
	modified:   Base/Library/JRRoanda.py
	modified:   Base/MIMIC-PlaceOrder
	modified:   Extras/AnalyzeAsset
	modified:   Extras/CodeProofs/BuyEveryMinute
	new file:   Extras/CodeProofs/readProxyMarkets
	deleted:    Extras/CodeProofs/timedList
	modified:   Extras/ListMarkets
	modified:   Extras/otcWatch
  • Loading branch information
rapmd73 committed Mar 20, 2024
1 parent f70c53e commit e490a64
Show file tree
Hide file tree
Showing 21 changed files with 4,954 additions and 838 deletions.
2 changes: 1 addition & 1 deletion Base/CCXT-PlaceOrder.future
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def main():
if "permissions" in relay.Markets[relay.Order['Asset']]['info']:
marketType=' '.join(relay.Markets[relay.Order['Asset']]['info']['permissions']).lower()

if relay.Order['Market'] not in marketType:
if relay.Order['Market'].lower() not in marketType:
relay.JRLog.Error(relay.Exchange, f"wrong market type: {relay.Order['Market']}, asset is {marketType}")

# Check for order type override
Expand Down
2 changes: 1 addition & 1 deletion Base/CCXT-PlaceOrder.margin
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def main():
if "permissions" in relay.Markets[relay.Order['Asset']]['info']:
marketType=' '.join(relay.Markets[relay.Order['Asset']]['info']['permissions']).lower()

if relay.Order['Market'] not in marketType:
if relay.Order['Market'].lower() not in marketType:
relay.JRLog.Error(relay.Exchange, f"wrong market type: {relay.Order['Market']}, asset is {marketType}")

# Check for order type override
Expand Down
2 changes: 1 addition & 1 deletion Base/CCXT-PlaceOrder.spot
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def main():
if "permissions" in relay.Markets[relay.Order['Asset']]['info']:
marketType=' '.join(relay.Markets[relay.Order['Asset']]['info']['permissions']).lower()

if relay.Order['Market'] not in marketType:
if relay.Order['Market'].lower() not in marketType:
relay.JRLog.Error(relay.Exchange, f"wrong market type: {relay.Order['Market']}, asset is {marketType}")

# Check for order type override
Expand Down
2 changes: 1 addition & 1 deletion Base/CCXT-PlaceOrder.swap
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def main():
if "permissions" in relay.Markets[relay.Order['Asset']]['info']:
marketType=' '.join(relay.Markets[relay.Order['Asset']]['info']['permissions']).lower()

if relay.Order['Market'] not in marketType:
if relay.Order['Market'].lower() not in marketType:
relay.JRLog.Error(relay.Exchange, f"wrong market type: {relay.Order['Market']}, asset is {marketType}")

# Check for order type override
Expand Down
Loading

0 comments on commit e490a64

Please sign in to comment.