Skip to content

Commit

Permalink
strategy, simulator: removing some warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
sklbancor committed Jan 29, 2023
1 parent 0b67252 commit 1f15e17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion carbon/helpers/strategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def rescale_strat(self, newspot=100, oldspot=100, force=False):
"""
if not self.rescale:
if not force:
print("[rescale_strat] not rescaling", newspot, oldspot, self)
#print("[rescale_strat] not rescaling", newspot, oldspot, self)
return _copy(self)
else:
print("[rescale_strat] forcing rescale", newspot, oldspot, self)
Expand Down
3 changes: 2 additions & 1 deletion carbon/simulators/carbon_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ def _add_order_sell_tkn(
#print("[_add_order_sell_tkn] y_int", y_int)
#assert y_int is None, "yint != None not operational yet"
if not y_int is None:
print("[_add_order_sell_tkn] WARNING. YINT != 0 NOT FULLY OPERATIONAL")
#print("[_add_order_sell_tkn] WARNING. YINT != 0 NOT FULLY OPERATIONAL")
pass
# create order tracking ids
if id1 is None:
id1 = self._posid
Expand Down

0 comments on commit 1f15e17

Please sign in to comment.