/spasm-tradingview-example

An example using the tradingview chart library inside a D application

Primary LanguageJavaScript

Example showcasing use of lightweight-charts library in spasm

This repo contains example D bindings to the lightweight-charts library from tradingview. The library is written in Typescript, but with a little js glue code and some D bindings, we can use it from within D+wasm.

Demo

demo

Bindings

See tradingview.js for the JS glue code, and app.d for the D bindings.

Future

I have started work on a generator to create D bindings from typescript definition files.