Skip to content

Instantly share code, notes, and snippets.

Jordan Baucke jordanbaucke

Block or report user

Report or block jordanbaucke

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jordanbaucke
jordanbaucke / testbfx.py
Created Jun 19, 2013
bfx-python-example-run
View testbfx.py
from bitfinex import Bitfinex
import os
with open(os.path.expanduser('~/.bfx_test_account_key.txt'), 'r') as f:
KEY, SECRET = f.read().strip().splitlines()
print (KEY, SECRET)
bfx = Bitfinex()
bfx.key = KEY
bfx.secret = SECRET
@jordanbaucke
jordanbaucke / bitfinex-python.py
Created Jun 19, 2013
Python example code for an authenticated call to Bitfinex API v1
View bitfinex-python.py
import requests # pip install requests
import json
import base64
import hashlib
import time #for nonce
api_key = ''
api_secret = ''
#url = 'https://bitfinex.com/api/v1/order/new'
@jordanbaucke
jordanbaucke / bitfinex-node.js
Created Jun 19, 2013
NodeJs example code for Bitfinex API v1 Authenticated call
View bitfinex-node.js
var https = require('https');
var crypto = require('crypto');
var url = 'https://bitfinex.com/api/v1/balances';
var subPath = '/balances';
var api_key = '';
var api_secret = '';
var path = '/api/v1' + subPath;
You can’t perform that action at this time.