Skip to content
 
 

Latest commit

 

History

19 提交

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

仓库 files navigation

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

关于

Python Library for Cryptsy's V2 API

Resources

Stars

0 stars

关注者

1 watching

复刻s

发布

贡献者

Languages