Fixed string names of some marketmaker elements.

This commit is contained in:
Geoff Taylor 2022-01-20 09:21:22 +00:00
parent 7d0b65e926
commit 0554a15854
4 changed files with 4 additions and 4 deletions

View File

@ -54,4 +54,4 @@ class QuoteSingleSideElement(Element):
return new_orders
def __str__(self) -> str:
return "« 𝚀𝚞𝚘𝚝𝚎𝚂𝚒𝚗𝚐𝚕𝚎𝚂𝚒𝚍𝚎𝙴𝚕𝚎𝚖𝚎𝚗𝚝 »"
return "« QuoteSingleSideElement »"

View File

@ -99,4 +99,4 @@ class RatiosElement(Element):
spread_ratios = ", ".join(map(str, self.spread_ratios)) or "None"
position_size_ratios = ", ".join(map(str, self.position_size_ratios)) or "None"
from_description = "from bid/ask" if self.from_bid_ask else "from mid price"
return f"« 𝚁𝚊𝚝𝚒𝚘𝚜𝙴𝚕𝚎𝚖𝚎𝚗𝚝 using ratios - spread(s): {spread_ratios} {from_description}, position size(s): {position_size_ratios} »"
return f"« RatiosElement using ratios - spread(s): {spread_ratios} {from_description}, position size(s): {position_size_ratios} »"

View File

@ -60,4 +60,4 @@ class RoundToLotSizeElement(Element):
return new_orders
def __str__(self) -> str:
return "« 𝚁𝚘𝚞𝚗𝚍𝚃𝚘𝙻𝚘𝚝𝚂𝚒𝚣𝚎𝙴𝚕𝚎𝚖𝚎𝚗𝚝 »"
return "« RoundToLotSizeElement »"

View File

@ -86,4 +86,4 @@ class TopOfBookElement(Element):
return new_orders
def __str__(self) -> str:
return f"« 𝚃𝚘𝚙𝙾𝚏𝙱𝚘𝚘𝚔𝙴𝚕𝚎𝚖𝚎𝚗𝚝 [adjustment ticks: {self.adjustment_ticks}] »"
return f"« TopOfBookElement [adjustment ticks: {self.adjustment_ticks}] »"