Skip to content

Cloid¤

hl.Cloid ¤

Cloid(raw_cloid: str)

A Cloid (client order id) allows for a client to track specific orders.

Methods:

Name Description
from_int

Create a Cloid from an integer.

from_str

Create a Cloid from a string.

to_raw

Get the raw cloid as a string.

from_int staticmethod ¤

from_int(cloid: int) -> Cloid

Create a Cloid from an integer.

from_str staticmethod ¤

from_str(cloid: str) -> Cloid

Create a Cloid from a string.

to_raw ¤

to_raw() -> str

Get the raw cloid as a string.