Skip to content

Print

Print a message to the console.

tm.print(message: str)
ParameterArgument typeDescriptionDefault Value
messagestrThe message to print to the console-

None

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