pythongithubvolatility

import library from Github


I am new to Python and I am trying to import a library from Github, and the below one is the package i am trying to load on Jupyter:

https://github.com/jasonstrimpel/volatility-trading

I tried to do this yet with no luck.

from setuptools import setup

setup(
    name='volatility-trading',
    version='0.0.1',
    url='https://github.com/jasonstrimpel/volatility-trading/',
    license='GPL-3.0-or-later',
    packages=['volatility','volatility/models'],

Would be awesome if anyone of you can give me a hand. Many thanks for helping.


Solution

  • i don't know if you have installed it after 2 years. however here is how to install:

    1. Clone the project from the url to somewhere on your PC:

    git clone https://github.com/jasonstrimpel/volatility-trading

    1. cd to the "volatility-trading" folder then run the following command:

    pip install .

    Hope it helps you.