Fixed string names of some marketmaker elements.
This commit is contained in:
parent
7d0b65e926
commit
0554a15854
|
@ -54,4 +54,4 @@ class QuoteSingleSideElement(Element):
|
|||
return new_orders
|
||||
|
||||
def __str__(self) -> str:
|
||||
return "« 𝚀𝚞𝚘𝚝𝚎𝚂𝚒𝚗𝚐𝚕𝚎𝚂𝚒𝚍𝚎𝙴𝚕𝚎𝚖𝚎𝚗𝚝 »"
|
||||
return "« QuoteSingleSideElement »"
|
||||
|
|
|
@ -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} »"
|
||||
|
|
|
@ -60,4 +60,4 @@ class RoundToLotSizeElement(Element):
|
|||
return new_orders
|
||||
|
||||
def __str__(self) -> str:
|
||||
return "« 𝚁𝚘𝚞𝚗𝚍𝚃𝚘𝙻𝚘𝚝𝚂𝚒𝚣𝚎𝙴𝚕𝚎𝚖𝚎𝚗𝚝 »"
|
||||
return "« RoundToLotSizeElement »"
|
||||
|
|
|
@ -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}] »"
|
||||
|
|
Loading…
Reference in New Issue