PyneCore built-in library reference — functions, variables, and constants
ta
Technical analysis indicators and functions
math
Mathematical functions and constants
str
String manipulation functions
color
Color functions and color constants
array
Dynamic array operations
matrix
Two-dimensional matrix operations
map
Key-value map operations
request
Data requests from other symbols and timeframes
strategy
Strategy order management — entry, exit, close, and order functions
strategy.closedtrades
Information about closed trades in a strategy
strategy.opentrades
Information about open trades in a strategy
strategy.risk
Strategy risk management rules
label
Chart labels — create, modify, and style text labels
line
Chart lines — create and modify line drawings
box
Chart boxes — create and modify rectangular drawings
table
Data tables — create and populate on-chart tables
polyline
Multi-segment line drawings
linefill
Fill areas between two lines
syminfo
Symbol information — ticker, exchange, currency, session, etc.
timeframe
Timeframe detection and conversion utilities
barstate
Bar state flags — first bar, last bar, new bar, etc.
chart
Chart properties — type, colors, visible range
session
Trading session detection
log
Logging functions for debugging
runtime
Runtime error handling