A python package for providing fintech indicators
Project description
Install JupyterHub
curl -L https://tljh.jupyter.org/bootstrap.py | sudo -E python3 - --admin tljhadmin --version 1.0.0b1
Edit ~/.profile, add the following to the end
export PATH=/opt/tljh/user/bin/:$PATH
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
nvm install 20.17.0
nvm alias default 20.17.0
curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash -
sudo apt install -y nodejs
wget https://github.com/apache/rocketmq-client-cpp/releases/download/2.0.0/rocketmq-client-cpp-2.0.0.amd64.deb
sudo dpkg -i rocketmq-client-cpp-2.0.0.amd64.deb
sudo -E /opt/tljh/user/bin/python3 -m pip install backtrader matplotlib dash pandas psutil ffquant numpy confluent-kafka
sudo -E /opt/tljh/user/bin/python -m pip install jupyterlab-git==0.44.0
sudo -E /opt/tljh/user/bin/jupyter lab build
sudo systemctl restart jupyterhub jupyter-tljhadmin
Visit http://192.168.25.144 in your browser
Log in as tljhadmin and set your password
Let new user register with username and password
sudo tljh-config set auth.type nativeauthenticator.NativeAuthenticator
sudo tljh-config reload
BE CAREFULL!!! When this feature is enabled, the admin user has to go through the sign-up process. Username must be the same with the one used in the installation command.
Admin user authorizes user registration at http://192.168.25.144/hub/authorize
Disable Terminal
Log in as admin. Open the terminal and execute commands:
jupyter notebook --generate-config
sudo mv /home/jupyter-tljhadmin/.jupyter/jupyter_notebook_config.py /opt/tljh/user/etc/jupyter/
Edit /opt/tljh/user/etc/jupyter/jupyter_notebook_config.py and change c.NotebookApp.terminals_enabled to False.
sudo systemctl restart jupyterhub jupyter-tljhadmin
Disable Culling Idle Servers
sudo tljh-config set services.cull.max_age 0
sudo tljh-config set services.cull.timeout 31536000
sudo systemctl restart jupyterhub jupyter-tljhadmin
Compile ffquant and upload to PyPi
python -m pip install setuptools wheel twine
Increase version number in setup.py
python setup.py sdist bdist_wheel
python -m twine upload dist/*
Ask Joanthan for PyPi API token.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ffquant-1.7.9.tar.gz.
File metadata
- Download URL: ffquant-1.7.9.tar.gz
- Upload date:
- Size: 22.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b2077c5a4dbc2369ba54f731ab4ce603f6265d7241d8e1bffbcdb295633369c
|
|
| MD5 |
b5d18cbd94edd636bc7947d3d6f1dd54
|
|
| BLAKE2b-256 |
16257efd062606286cb4864ae10186eaacf19a1a8e0c8f65b3006a9fdb21aa0f
|
File details
Details for the file ffquant-1.7.9-py3-none-any.whl.
File metadata
- Download URL: ffquant-1.7.9-py3-none-any.whl
- Upload date:
- Size: 38.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1b7b846c1702dfbd940dd9797acf656b17f9aa137c5a4aa6c984677010c437d
|
|
| MD5 |
efb30d7d05dd3b27217be46c5717d7cd
|
|
| BLAKE2b-256 |
7c13f119d332683ce6401fc40d212285dca81349d6c814876c2e99da06371b15
|