This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
NewerOlder