Ta-lib Environment Construction and Code analysis

Source: Internet
Author: User

Mainly on their own reading Ta-lib code in some of the experience. Version is 0.4.0

Environment construction
    • InstallationMicrosoft Visual Studio 2015
    • Solution ExplorerSelect 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.