MCPcopy
hub / github.com/Mathieu2301/TradingView-API / delete

Method delete

src/chart/session.js:546–552  ·  view source on GitHub ↗

Delete the chart session

()

Source from the content-addressed store, hash-verified

544
545 /** Delete the chart session */
546 delete() {
547 if (this.#replayMode) this.#client.send('replay_delete_session', [this.#replaySessionID]);
548 this.#client.send('chart_delete_session', [this.#chartSessionID]);
549 delete this.#client.sessions[this.#chartSessionID];
550 delete this.#client.sessions[this.#replaySessionID];
551 this.#replayMode = false;
552 }
553};

Callers 7

replayMode.test.tsFile · 0.45
indicators.test.tsFile · 0.45
SimpleChart.jsFile · 0.45
Errors.jsFile · 0.45

Calls 1

sendMethod · 0.80

Tested by

no test coverage detected