Type/to search
Built-in Functions
Global
Log
Market
Trade
Account
Futures
Exchange
IO
Network
Storage
Threads
exchange.Go
EventLoop
ctx.subscribe
ctx.poll
ctx.order
ctx.cancel
ctx.submit
Subscription
threading
Thread
Thread.peekMessage
Thread.postMessage
Thread.join
Thread.terminate
Thread.getData
Thread.setData
Thread.id
Thread.name
Thread.eventLoop
ThreadLock
ThreadEvent
ThreadCondition
ThreadDict
Server
TA
Talib
OS
Structures
Built-in Variables and Constants
Conventions
Exchanges

Represents one thread; created or returned through threading.Thread(), threading.getThread(), threading.mainThread(), threading.currentThread().

In this sectionRead the whole section

NameDescription
Thread.peekMessageReceives messages from a thread.
Thread.postMessageSends messages to a thread.
Thread.joinWaits for a thread to exit and reclaims its system resources.
Thread.terminateForcibly terminates a thread and releases the hardware resources occupied when the thread was created.
Thread.getDataAccesses variables recorded in the thread environment.
Thread.setDataStores variables in the thread environment.
Thread.idReturns the threadId of the current multi-threaded object instance.
Thread.nameReturns the name of the current multi-threaded object instance.
Thread.eventLoopListens for events received by the current thread (the thread of the caller).