TulipCharts / tulipy

[NOT ACTIVELY MAINTAINED] Tulipy - Financial Technical Analysis Indicator Library (Python bindings for Tulip Charts)
https://github.com/TulipCharts/tulipindicators
GNU Lesser General Public License v3.0
330 stars 83 forks source link

How to add New Indicator - noob question #50

Open krazykoder opened 11 months ago

krazykoder commented 11 months ago

Hi, I am a noob on C<->Python porting / binding. I am wondering that if I need to add a new indicator to this library and recompile to make it available (importable) in python where should I write the code. I do see there is a Makefile. From what I could understand tiamalgamation.c has all the indicator definitions, functions and headers. However at the top of the file its written -> this is generated and do not modify.

IF you can guide me where to start and how to make this process work, I would love to add 10 new indicators for my specific use and contribute to your original lib as well if you want.

thank you

codeplea commented 11 months ago

The indicator would need to be added to its own C file in the C repo. Read this for more info: https://github.com/TulipCharts/tulipindicators/blob/master/CONTRIBUTING