Skip to content

Latest commit

 

History

History
55 lines (41 loc) · 895 Bytes

README.md

File metadata and controls

55 lines (41 loc) · 895 Bytes

CryptsyPythonV2

Python Library for Cryptsy's V2 API

Requirements

Examples

Print Last Hours Worth of OHLC

from Cryptsy import Cryptsy
from pprint import pprint
import time

c = Cryptsy("", "")
ohlc = c.market_ohlc(132, start=0, stop=time.time(), interval="minute", limit=60)
pprint(ohlc)

List Currencies

from Cryptsy import Cryptsy
from pprint import pprint

c = Cryptsy("", "")
currencies = c.currencies()
pprint(currencies)

Create Converter Quote with 2% fee.

from Cryptsy import Cryptsy
from pprint import pprint

c = Cryptsy("", "")
quote = c.convert_create(3, 132, sendingamount=1, tradekey="", feepercent=2)
pprint(quote)

rename config.example.py to config.py

example .gitignore: *.swp *.pyc *~ config.py temp_temp