🔎 FindMyOrder#
User Guide#
Refer to FindMyOrder for more information.
FindMyOrder#
- class findmyorder.main.FindMyOrder[source]#
Class to find and parse trading order
- Parameters:
None –
- Returns:
None
- search(my_string
str) -> bool
- identify_order(my_string
str) -> dict
- get_order(msg
str) -> dict
- replace_instrument(order
dict) -> None
Initializes the class instance.
- Parameters:
self (ClassName) – The class instance.
- Returns:
None
- __init__()[source]#
Initializes the class instance.
- Parameters:
self (ClassName) – The class instance.
- Returns:
None
- async search(my_string: str) bool[source]#
Search an order.
- Parameters:
my_string (str) – Message
- Returns:
bool
- async identify_order(my_string: str) dict[source]#
Identify an order and return a dictionary with the order parameters
- Parameters:
my_string (str) – Message
- Returns:
dict