Step1: Clone Repo

Make a fork of the Repo. Including cloning locally and adding an upstream.

Review Github’s instructions on how to make a pull request from a fork.

After that, you will get the following directory structure:

crawlers/indicators/spiders

One indicator corresponds to one file, and the original files of all indicators are placed in it.

crawlers/utils

Many public methods that crawlers need to use are placed here. Such as data formatting, Redis tools, etc.

Create new indicator

We need create a new folder in crawlers/indicators/spiders

For Example: mainstream_coin_long_short_ratio.

This folder needs to contain thress basic files:

  • Definition.md - This file contains background information about the indicator.

  • indicator_name.py - This file contains indicator logic code.

  • __init__.py - This file is to config your inidicator spider.

Last updated