Skip to content

Print

Print a message to the console.

Method

tm.print(message: str)

Inputs

ParameterArgument typeDescriptionDefault Value
messagestrThe message to print to the console-

Outputs

None

Example usage

strategy.py
import tradomate as tm
@tm.strategy()
def my_strategy(config: tm.TradomateConfig, data: tm.TradomateData):
# Print a message
tm.print("Hello world!")