How to develop an indicator
Getting Started Instructions
Last updated
Getting Started Instructions
Last updated
Steps to develop indicators on KingData:
Fork the indicators repository (button towards the top right of the repo page).
Add a new folder in /crawlers/indicators/spiders/
with the new indicator name.
Write the indicator's description file in the new folder: definition.md
.
Create a new crawler file in this directory to realize the indicator requirement logic of definition.md
.
Write broadcast template to render the params that logic code return.
Test and submit the changes on your fork to the indicators repository as a Pull Request with a brief description of the changes you made.
Waiting for someone to comment or merge your merge request. There is no need to have someone check your PR as it is regularly monitored.
Once your PR is merged, please give the front-end team 24 hours to load your listing on the UI.
Development Language:Python 3.10.4, Our recommendation is to follow the Hitchhiker's Guide to Python.
Crawler framework:Scrapy 2.7.1 Our recommendation is to follow the Guide to Scrapy.