Ta-lib use on OHLC trading data - best way to implement in an InfluxDB workflow?

Hallo!

I am very new to both Goang (Go) and InfluxDB, but really enjoying both a lot :slight_smile:

With Stockmarket/Crypto data that I aggregated into 5, 15, 30 and 1 hour OHLC data in InfluxDB, what would be the best way to calculate some Technical Analysis data from the OHLC data?

TA-Lib has been ported to pure Go. Would I be able to use this from within InfluxDB to create a new Database/Bucket, calculated using Ta-lib?

What would be the best strategy to do this?

And once the TA analysis generates a trigger, how can I send a trigger/action to a script to action the buy/sell on an exchange? The actual mechanic of doing that I already have a Go script for, but the logic to action that buy/sell after a trigger was generated in InfluxDB (or Grafana?) is kind of not clear to me.

Thanks for listening to my ramblings :slight_smile:

Here is the link to the TA-Lib in Go:

Cheers!