Skip to content
pulling crypto premium data using python
Python R Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__pycache__
backup
crypto_premium_shiny
.DS_Store
.gitignore
README.md

README.md

crypto_premium_python_script

Pulling crypto premiums from okex using python. This script will be a baseline for building some data viz later on...most likely will build it in flask.

Also thinking of doing the same thing in R, just to test out the R + shiny performance.

crypto_premium_shiny_frontend

Biggest pain in the world link. I spent all day trying to figure out why my reticulate package wasn't working.....then I realized I can't use python3!!!!!

I just quickly created a python 2.7 virtualenv from this link and got it all working

development notes:

Reticulate usages

Run 1 file at a time: py_run_file("okex_shiny.py")

Run 1 file, but execute one of the functions:

okex <- import_from_path('okex', path = ".", convert = TRUE)
okex$csv_data()

Import the modulem, then have another script that references it

	okex <- import_from_path('okex', path = ".", convert = TRUE)
	py_run_file("okex_shiny.py")
You can’t perform that action at this time.