Mainly on their own reading Ta-lib code in some of the experience. Version is 0.4.0
Environment construction
- Installation
Microsoft Visual Studio 2015
Solution Explorer
Select the project you want to debug in (for example, Gen_code), and then right-clickSet as StartUp Project
- Select the item you want to debug (for example, Gen_code), then right-click
Properties
on the left Debugging
, and then change the value on the right to Working Directory
**$ (OutDir) * *
Code Analysis
The Gen_code Src/tools/gen_code directory contains the Gen_code tool, which generates the corresponding TABLE_*.C based on Src/ta_func/ta_ (representing a- z) in Src/ta_abstract/tables . C (* represents a specific technical analysis function).
- Gen_code will determine if the src/ta_func/ta_*.c file already exists, update the appropriate file if it already exists, and generate the corresponding template directly if it does not exist.
- Note: The src/ta_abstract/tables/table_*.c contains only the corresponding input and output variables, and does not contain the specific implementation content, such as Ta_add, which does not contain how to implement Add.
- How-to Add a TA function:http://ta-lib.org/d_misc/how-to_function.html
- Ta-lib/C + + API documentation: 9855119
Ta-lib Environment Construction and Code analysis