Skip to content

Commit 1e0cdcb

Browse files
authored
Merge pull request #139 from s4w3d0ff/dev
make chart.py work for python2
2 parents 6f110ee + 6490e90 commit 1e0cdcb

File tree

4 files changed

+28
-6
lines changed

4 files changed

+28
-6
lines changed

CONTRIBUTING.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Contributing
2+
3+
### Users can contribute to this repository in a variety of ways:
4+
5+
#### Have a feature you want implemented?
6+
7+
Open an [issue](https://github.com/s4w3d0ff/python-poloniex/issues) stating what feature you wish to implement, [pull requests](https://github.com/s4w3d0ff/python-poloniex/pulls) are encouraged and will speed up the implication.
8+
9+
#### Found a bug that needs fixing?
10+
11+
If you know how to fix it, a [pull requests](https://github.com/s4w3d0ff/python-poloniex/pulls) is encouraged, otherwise open an issue and provide details on the events leading up to the bug, and include a traceback of the error.
12+
13+
#### Want to improve documentation?
14+
15+
Take a look at the [Wiki](https://github.com/s4w3d0ff/python-poloniex/wiki) and docstrings. Improvement is always welcome.
16+
17+
#### Want to just show support?
18+
19+
You can simply star/fork [this repository at github.com](https://github.com/s4w3d0ff/python-poloniex/), and/or donate to the following:
20+
21+
BTC: `1A7K4kgXLSSzvDRjvoGwomvhrNU4CKezEp`

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
[![python](https://img.shields.io/badge/python-2.7%20%26%203-blue.svg)![licence](https://img.shields.io/badge/licence-GPL%20v2-blue.svg)](https://github.com/s4w3d0ff/python-poloniex/blob/master/LICENSE) [![release](https://img.shields.io/github/release/s4w3d0ff/python-poloniex.svg)![release build](https://travis-ci.org/s4w3d0ff/python-poloniex.svg?branch=v0.4.5)](https://github.com/s4w3d0ff/python-poloniex/releases)
1+
[![python](https://img.shields.io/badge/python-2.7%20%26%203-blue.svg)![licence](https://img.shields.io/badge/licence-GPL%20v2-blue.svg)](https://github.com/s4w3d0ff/python-poloniex/blob/master/LICENSE) [![release](https://img.shields.io/github/release/s4w3d0ff/python-poloniex.svg)![release build](https://travis-ci.org/s4w3d0ff/python-poloniex.svg?branch=v0.4.6)](https://github.com/s4w3d0ff/python-poloniex/releases)
22
[![master](https://img.shields.io/badge/branch-master-blue.svg)![master build](https://api.travis-ci.org/s4w3d0ff/python-poloniex.svg?branch=master)](https://github.com/s4w3d0ff/python-poloniex/tree/master) [![dev](https://img.shields.io/badge/branch-dev-blue.svg)![dev build](https://api.travis-ci.org/s4w3d0ff/python-poloniex.svg?branch=dev)](https://github.com/s4w3d0ff/python-poloniex/tree/dev)
3-
Inspired by [this](http://pastebin.com/8fBVpjaj) wrapper written by 'oipminer'
4-
3+
Inspired by [this](http://pastebin.com/8fBVpjaj) wrapper written by 'oipminer'
4+
> I (s4w3d0ff) am not affiliated with, nor paid by [Poloniex](https://poloniex.com). I have been an active trader there since 2014 and love python. I found the linked python wrapper on the poloniex support page to be incomplete and buggy so I decided to write this wrapper and create this git repository. If you wish to contribute to this repository please read [CONTRIBUTING.md](https://github.com/s4w3d0ff/python-poloniex/blob/master/CONTRIBUTING.md). All and any help is appreciated.
55
## Install latest release:
66
Python 2:
77
```
8-
pip install https://github.com/s4w3d0ff/python-poloniex/archive/v0.4.5.zip
8+
pip install https://github.com/s4w3d0ff/python-poloniex/archive/v0.4.6.zip
99
```
1010

1111
Python 3:
1212
```
13-
pip3 install https://github.com/s4w3d0ff/python-poloniex/archive/v0.4.5.zip
13+
pip3 install https://github.com/s4w3d0ff/python-poloniex/archive/v0.4.6.zip
1414
```
1515

1616
## Usage:

examples/chart/chart.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from __future__ import print_function
12
from time import time
23
import logging
34
from operator import itemgetter

poloniex/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Poloniex API wrapper tested on Python 2.7.6 & 3.4.3
22
# https://github.com/s4w3d0ff/python-poloniex
3-
# BTC: 15D8VaZco22GTLVrFMAehXyif6EGf8GMYV
3+
# BTC: 1A7K4kgXLSSzvDRjvoGwomvhrNU4CKezEp
44
# TODO:
55
# [x] PEP8
66
# [x] Add better logger access

0 commit comments

Comments
 (0)