Skip to main content

Python Arbitrage KRW

Project description

## Ubuntu Config:

ls -ld .?* # to list hidden files

echo 'export PS1="\[\033[1;36m\]\h\[\033[0m\] \[\033[1;36m\]\u\[\033[0m\]:\[\033[1;36m\]\W\[\033[0m\]$ "' >> ~\.bashrc
source ~\.bashrc
# add this to ~\.bashrc in Ubuntu
export PS1="\[\033[1;36m\]\!\[\033[0m\] \[\033[1;36m\]\u\[\033[0m\]:\[\033[1;36m\]\W\[\033[0m\]$ "
# add this to ~\.bash_profile in OS X

echo 'alias py="python3"' >> ~/.bash_aliases
source ~/.bash_aliases

#change timezone
sudo dpkg-reconfigure tzdata

## Dropbox

- Install Dropbox:
cd ~ && wget -O - "" | tar xzf -

- Run dropbox in background:
setsid ~/.dropbox-dist/dropboxd

## python3 (Ubuntu 17.10 already have it)

# install pip (Ubuntu)
sudo apt-get update
sudo apt install python3-venv python3-pip
py -m pip install --upgrade pip
py -m pip install setuptools

### Install 3rd party package

- Korbit API wrapper:
*-- download and pip install zip file*
py -m pip install git+
py -m pip uninstall korbit-python # to uninstall

- Bitstamp API wrapper:
*-- download or *
py -m pip install BitstampClient

- GDAX API wrapper:
*-- download and pip install zip file*
py -m pip install git+

- Bithumb: Splinter + Chrome

-- splinter:
py -m pip install splinter
-- Chrome and Chromedriver:
# Versions

# Install dependencies.
sudo apt-get update
sudo apt-get install -y unzip openjdk-8-jre-headless xvfb libxi6 libgconf-2-4

# Install Chrome.
sudo curl -sS -o - | apt-key add
sudo echo "deb stable main" >> /etc/apt/sources.list.d/google-chrome.list
sudo apt-get -y update
sudo apt-get -y install google-chrome-stable

# Install ChromeDriver.
unzip ~/ -d ~/
rm ~/
sudo mv -f ~/chromedriver /usr/local/bin/chromedriver
sudo chown root:root /usr/local/bin/chromedriver
sudo chmod 0755 /usr/local/bin/chromedriver
### Others:
py -m pip install beautifulsoup4
py -m pip install pyotp
py -m pip install pymongo

.. :changelog:

Release History



- Warn user about possible slowdown when using cryptography version < 1.3.4
- Check for invalid host in proxy URL, before forwarding request to adapter.
- Fragments are now properly maintained across redirects. (RFC7231 7.1.2)


- Parsing empty ``Link`` headers with ``parse_header_links()`` no longer return one bogus entry
- Fixed issue where loading the default certificate bundle from a zip archive
would raise an ``IOError``
- Fixed issue with unexpected ``ImportError`` on windows system which do not support ``winreg`` module
- DNS resolution in proxy bypass no longer includes the username and password in
the request. This also fixes the issue of DNS queries failing on macOS.

1.0 (2018-02-22)

* Birth!

Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.0

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sunson-1.0.1.tar.gz (15.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page