Print a message to the console.
Method
Section titled “Method”tm.print(message: str)Inputs
Section titled “Inputs”| Parameter | Argument type | Description | Default Value |
|---|---|---|---|
| message | str | The message to print to the console | - |
Outputs
Section titled “Outputs”None
Example usage
Section titled “Example usage”import tradomate as tm
@tm.strategy()def my_strategy(config: tm.TradomateConfig, data: tm.TradomateData):
# Print a message tm.print("Hello world!")