ChartnautDocs

FrameEvent

A message the frame posts to your page (window.parent.postMessage, to your registered origins only). A hint: a type and ids, flat. See "Events the frame posts to your page" for which fields each type carries.

object
source"chartnaut"Required
typestringRequired
One of needs_link signed_in ready fill order close account breach session_end locked unlocked continued_elsewhere error device_unsupported
session_idstring
Pattern ^ses_[0-9]+$
position_idintegerNullable
order_idintegerNullable
changestring
One of created price_changed cancelled
partialboolean
atnumber or string

account: replay time in unix seconds. breach: the bar's replay time, ISO 8601.

breach_idstringNullable

brk_…

rule_typestring
actionstring
One of record block_order close_and_end complete
statusstring
One of ended breached completed_to_target
codestring

error from the sign-in page, when the browser can't hold the frame's sign-in. Other sign-in-page errors carry no code.

One of partitioned_unsupported cookie_not_stored
reasonstring

error from the backtest screen. signed_out: get a new frame token.

One of signed_out wrong_mode before_history invalid_session no_access error