inja icon indicating copy to clipboard operation
inja copied to clipboard

External data

Open ludekvodicka opened this issue 6 years ago • 2 comments

Hi Pantor!

I'm working on another project where we would like to visualize some data (trading data). I would like to use Inja again, but we have an issue with external data passing.

It's a high amount of trading data (date, open/close/high/low, volume, etc) for a large period of time. Converting these data to nlohman Json takes a lot of time (~16sec vs 0.2sec when filling structs).

Because I didn't follow Inja development last year, is there currently any way how to pass external data directly (by any callback, ...) without the necessity to convert it to Json?

Thanks

ludekvodicka avatar Jun 17 '19 12:06 ludekvodicka

Hi! I'm afraid this is not possible at the moment, but it would definitely be nice to have.

pantor avatar Jun 25 '19 07:06 pantor

@ludekvodicka, can you pre-create the JSON object and then just update the content?

davidschachter avatar Jul 24 '19 01:07 davidschachter