/CryptsyPythonV2

Python Library for Cryptsy's V2 API

Primary LanguagePython

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)