While25 - Programmable Trading Platform
Home
SDK
BlogCardsSupportDownload
While25

A programmable trading platform.

Download While25Book a call

Order managementRisk managementChartsAI assistantCompare

Python SDKSDKDownload

AboutBlogWhile CardsCareersSupportContact

Interactive BrokersAlpacaZerodhaUpstoxAll brokers

TermsPrivacyLicenceRiskAIAcceptable useNotices

While25 is software. It is not a broker, dealer, exchange or investment adviser, and nothing on this site is a recommendation to buy or sell any instrument. Orders you place route to your own brokerage account; While25 never holds funds or securities.

Trading carries risk of loss, including losses greater than your deposit on leveraged products. Backtests and simulations do not predict future returns. Broker and exchange names are trademarks of their owners. We plan to add Coinbase, Binance and Robinhood; you cannot connect them yet.

© 2026 While25

while25
Start here
  • Quickstart
  • Writing a module
Declaring
  • Module types
  • Subscriptions
  • Inputs
  • Plots & style
Calling
  • Market data
  • Instrument rules
  • Options, futures & combos
  • Portfolio
  • Orders
  • Chart
  • Panels & UI
  • Workspace
  • Context
  • Errors
Contents · Plots & style
Start here
  • Quickstart
  • Writing a module
Declaring
  • Module types
  • Subscriptions
  • Inputs
  • Plots & style
Calling
  • Market data
  • Instrument rules
  • Options, futures & combos
  • Portfolio
  • Orders
  • Chart
  • Panels & UI
  • Workspace
  • Context
  • Errors
SDK/Declaring/Plots & style
← PreviousInputsNext →Market data

Plots & style

An indicator declares its shape; While25 renders it. Every value here is a default the user can override in the settings dialog, exactly as for a built-in.
PYPlot(name, color="", width=1, style="solid", plot_type="line", color_down="", opacity=1.0, overlay=None, visible=True)
One line. name is both the key compute() returns and the label in the legend.
style: solid · dotted · dashed · large-dashed · sparse-dotted
plot_type: line · histogram · area · stepline
Colours are CSS strings. width 1–4, opacity0–1 — outside those it raises, naming the field.
PYFill(upper, lower, color="", opacity=0.08)
A translucent band between two named plots — a Bollinger envelope.
PYLevel(value, color="", width=1, style="dashed")
A horizontal reference line — RSI’s 30 and 70.
PYBand(top, bottom, color="", opacity=0.06)
Shading between two levels — an overbought zone.
← PreviousInputsNext →Market data
The SDK itself has no dependencies, so you can write and unit-test a module on a plain Python install before it ever touches the platform. numpy and pandas are available in the runtime. Get the desktop app to run it — Python runs beside the engine, which a browser cannot host.