Bitcoin Forum
June 25, 2018, 04:04:27 PM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 [4] 5 6 7 »  All
  Print  
Author Topic: [ANN] Bittrex.com (US-based, exchange) now open to the public  (Read 31323 times)
Toorop
Jr. Member
*
Offline Offline

Activity: 32
Merit: 0


View Profile
April 29, 2014, 08:46:48 AM
 #61

Just wondering if anybody have a wrapper for Bittrex?

I've started one in Go, but due to some problems with there API and the lack of support from bittrex (no response after 5 days) i've put the dev in pause.

See : https://github.com/Toorop/go-bittrex

Edit: richiela reply to me via twitter. I will finish Bittrex lib for Go asap

Rent your rig at the best price : http://wat.tf/br
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
adaseb
Legendary
*
Offline Offline

Activity: 1638
Merit: 1058



View Profile
April 30, 2014, 11:07:00 PM
 #62

A Python wrapper for your API would be lovely.

Take poloniex as an inspiration:
http://pastebin.com/SB5c4Yr1

Another option would be to fork this
BTCE https://github.com/alanmcintyre/btce-api

because there are already versions for
BTER https://github.com/hsharrison/bter-api  and
CRYPTSY https://github.com/hsharrison/python-cryptsy



Just wondering if anybody have a wrapper for Bittrex?

Trying to copy and paste the Crytpsy and Poloniex ones and don't know what I am doing not being a programmer.

What language?  I'm sure I can whip something up for ya....

For Python would be best since the other exchanges use the same language.

.FORTUNE.JACK.
      ▄▄███████▄▄
   ▄████▀▀ ▄ ██████▄
  ████ ▄▄███ ████████
 █████▌▐███▌ ▀▄ ▀█████
███████▄██▀▀▀▀▄████████
█████▀▄▄▄▄█████████████
████▄▄▄▄ █████████████
 ██████▌ ███▀████████
  ███████▄▀▄████████
   ▀█████▀▀███████▀
      ▀▀██████▀▀
         
         █
...FortuneJack.com                                             
...THE BIGGEST BITCOIN GAMBLING SITE
       ▄▄█████████▄▄
    ▄█████████████████▄
  ▄█████████████████████▄
 ▄██
█████████▀███████████▄
██████████▀   ▀██████████
█████████▀       ▀█████████
████████           ████████
████████▄   ▄ ▄   ▄████████
██████████▀   ▀██████████
 ▀██
█████████████████████▀
  ▀██
███████████████████▀
    ▀█████████████████▀
       ▀▀█████████▀▀
#JACKMATE
WIN 1 BTC
▄█████████████████████████▄
███████████████████████████
███████████████████████████
██████████▀█████▀██████████
███████▀░░▀░░░░░▀░░▀███████
██████▌░░░░░░░░░░░░░▐██████
██████░░░░██░░░██░░░░██████
█████▌░░░░▀▀░░░▀▀░░░░▐█████
██████▄░░▄▄▄░░░▄▄▄░░▄██████
████████▄▄███████▄▄████████

███████████████████████████
███████████████████████████
▀█████████████████████████▀
adaseb
Legendary
*
Offline Offline

Activity: 1638
Merit: 1058



View Profile
April 30, 2014, 11:08:41 PM
 #63

Anyway to modify the one that was used by Cryptsy/Poloniex to use with Bittrex?



Same code below

Quote
import urllib
import urllib2
import json
import time
import hmac,hashlib

def createTimeStamp(datestr, format="%Y-%m-%d %H:%M:%S"):
    return time.mktime(time.strptime(datestr, format))

class poloniex:
    def __init__(self, APIKey, Secret):
        self.APIKey = APIKey
        self.Secret = Secret

    def post_process(self, before):
        after = before

        # Add timestamps if there isnt one but is a datetime
        if('return' in after):
            if(isinstance(after['return'], list)):
                for x in xrange(0, len(after['return'])):
                    if(isinstance(after['return']
  • , dict)):
                        if('datetime' in after['return']
  • and 'timestamp' not in after['return']
  • ):
                            after['return']
  • ['timestamp'] = float(createTimeStamp(after['return']
  • ['datetime']))
                           
        return after

    def api_query(self, command, req={}):

        if(command == "returnTicker" or command == "return24Volume"):
            ret = urllib2.urlopen(urllib2.Request('https://poloniex.com/public?command=' + command))
            return json.loads(ret.read())
        elif(command == "returnOrderBook"):
            ret = urllib2.urlopen(urllib2.Request('http://poloniex.com/public?command=' + command + '&currencyPair=' + str(req['currencyPair'])))
            return json.loads(ret.read())
        elif(command == "returnMarketTradeHistory"):
            ret = urllib2.urlopen(urllib2.Request('http://poloniex.com/public?command=' + "returnTradeHistory" + '&currencyPair=' + str(req['currencyPair'])))
            return json.loads(ret.read())
        else:
            req['command'] = command
            req['nonce'] = int(time.time()*1000)
            post_data = urllib.urlencode(req)

            sign = hmac.new(self.Secret, post_data, hashlib.sha512).hexdigest()
            headers = {
                'Sign': sign,
                'Key': self.APIKey
            }

            ret = urllib2.urlopen(urllib2.Request('https://poloniex.com/tradingApi', post_data, headers))
            jsonRet = json.loads(ret.read())
            return self.post_process(jsonRet)


    def returnTicker(self):
        return self.api_query("returnTicker")

    def return24Volume(self):
        return self.api_query("return24Volume")

    def returnOrderBook (self, currencyPair):
        return self.api_query("returnOrderBook", {'currencyPair': currencyPair})

    def returnMarketTradeHistory (self, currencyPair):
        return self.api_query("returnMarketTradeHistory", {'currencyPair': currencyPair})


    # Returns all of your balances.
    # Outputs:
    # {"BTC":"0.59098578","LTC":"3.31117268", ... }
    def returnBalances(self):
        return self.api_query('returnBalances')

    # Returns your open orders for a given market, specified by the "currencyPair" POST parameter, e.g. "BTC_XCP"
    # Inputs:
    # currencyPair  The currency pair e.g. "BTC_XCP"
    # Outputs:
    # orderNumber   The order number
    # type          sell or buy
    # rate          Price the order is selling or buying at
    # Amount        Quantity of order
    # total         Total value of order (price * quantity)
    def returnOpenOrders(self,currencyPair):
        return self.api_query('returnOpenOrders',{"currencyPair":currencyPair})


    # Returns your trade history for a given market, specified by the "currencyPair" POST parameter
    # Inputs:
    # currencyPair  The currency pair e.g. "BTC_XCP"
    # Outputs:
    # date          Date in the form: "2014-02-19 03:44:59"
    # rate          Price the order is selling or buying at
    # amount        Quantity of order
    # total         Total value of order (price * quantity)
    # type          sell or buy
    def returnTradeHistory(self,currencyPair):
        return self.api_query('returnTradeHistory',{"currencyPair":currencyPair})

    # Places a buy order in a given market. Required POST parameters are "currencyPair", "rate", and "amount". If successful, the method will return the order number.
    # Inputs:
    # currencyPair  The curreny pair
    # rate          price the order is buying at
    # amount        Amount of coins to buy
    # Outputs:
    # orderNumber   The order number
    def buy(self,currencyPair,rate,amount):
        return self.api_query('buy',{"currencyPair":currencyPair,"rate":rate,"amount":amount})

    # Places a sell order in a given market. Required POST parameters are "currencyPair", "rate", and "amount". If successful, the method will return the order number.
    # Inputs:
    # currencyPair  The curreny pair
    # rate          price the order is selling at
    # amount        Amount of coins to sell
    # Outputs:
    # orderNumber   The order number
    def sell(self,currencyPair,rate,amount):
        return self.api_query('sell',{"currencyPair":currencyPair,"rate":rate,"amount":amount})

    # Cancels an order you have placed in a given market. Required POST parameters are "currencyPair" and "orderNumber".
    # Inputs:
    # currencyPair  The curreny pair
    # orderNumber   The order number to cancel
    # Outputs:
    # succes        1 or 0
    def sell(self,currencyPair,orderNumber):
        return self.api_query('cancelOrder',{"currencyPair":currencyPair,"orderNumber":orderNumber})

    # Immediately places a withdrawal for a given currency, with no email confirmation. In order to use this method, the withdrawal privilege must be enabled for your API key. Required POST parameters are "currency", "amount", and "address". Sample output: {"response":"Withdrew 2398 NXT."}
    # Inputs:
    # currency      The currency to withdraw
    # amount        The amount of this coin to withdraw
    # address       The withdrawal address
    # Outputs:
    # response      Text containing message about the withdrawal
    def sell(self, currency, amount, address):
        return self.api_query('withdraw',{"currency":currency, "amount":amount, "address":address})

.FORTUNE.JACK.
      ▄▄███████▄▄
   ▄████▀▀ ▄ ██████▄
  ████ ▄▄███ ████████
 █████▌▐███▌ ▀▄ ▀█████
███████▄██▀▀▀▀▄████████
█████▀▄▄▄▄█████████████
████▄▄▄▄ █████████████
 ██████▌ ███▀████████
  ███████▄▀▄████████
   ▀█████▀▀███████▀
      ▀▀██████▀▀
         
         █
...FortuneJack.com                                             
...THE BIGGEST BITCOIN GAMBLING SITE
       ▄▄█████████▄▄
    ▄█████████████████▄
  ▄█████████████████████▄
 ▄██
█████████▀███████████▄
██████████▀   ▀██████████
█████████▀       ▀█████████
████████           ████████
████████▄   ▄ ▄   ▄████████
██████████▀   ▀██████████
 ▀██
█████████████████████▀
  ▀██
███████████████████▀
    ▀█████████████████▀
       ▀▀█████████▀▀
#JACKMATE
WIN 1 BTC
▄█████████████████████████▄
███████████████████████████
███████████████████████████
██████████▀█████▀██████████
███████▀░░▀░░░░░▀░░▀███████
██████▌░░░░░░░░░░░░░▐██████
██████░░░░██░░░██░░░░██████
█████▌░░░░▀▀░░░▀▀░░░░▐█████
██████▄░░▄▄▄░░░▄▄▄░░▄██████
████████▄▄███████▄▄████████

███████████████████████████
███████████████████████████
▀█████████████████████████▀
Toorop
Jr. Member
*
Offline Offline

Activity: 32
Merit: 0


View Profile
May 13, 2014, 08:07:58 AM
 #64

Edit: richiela reply to me via twitter. I will finish Bittrex lib for Go asap

Done !

Changelog :
- implements v1.1 Bittrex API
- implements new HMAC Authentification

Source : Go binding for the Bittrex crypto-currency exchange API
Doc : https://godoc.org/github.com/Toorop/go-bittrex

Rent your rig at the best price : http://wat.tf/br
kingscrown
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500


http://fuk.io - check it out!


View Profile WWW
June 05, 2014, 12:28:11 AM
 #65

decent exchange. will help you guys with promotion.
sent PM.

komodovpn
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
June 05, 2014, 12:49:52 AM
 #66

Add Honorcoin! Cheesy

[ Minerals ] - The most fair distribution crypto
goodluck0319
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


The revolutionary trading ecosystem


View Profile
June 05, 2014, 03:00:55 PM
 #67

it is sooooo slow to transfer bitcoin into exchange. Cry Huh

|
|
QRX|
|
QURREX - QRXTest MVP |Source
www.qurrex.com

████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████

████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████
Starscream
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250



View Profile
June 19, 2014, 12:20:16 PM
 #68

Did this exchange really take a turn and made an agreement to monopolize the alt-coin scene together with the big pools? Is this how things are handled now?
Halofire
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1000


@halofirebtc


View Profile
June 22, 2014, 08:25:19 PM
 #69

Is it possible to request a certain 4 day market history from bittrex, or how can we view it?
Not the last 4 days either, I mean like if I wanted to see the market history for example: from april 14-18?
I don't need those specific dates, but shows what I mean.

Thanks! Smiley

OC Development - oZwWbQwz6LAkDLa2pHsEH8WSD2Y3LsTgFt
SMC Development - SgpYdoVz946nLBF2hF3PYCVQYnuYDeQTGu
Friendly reminder: Back up your wallet.dat files!!
ocminer
Legendary
*
Offline Offline

Activity: 2142
Merit: 1212



View Profile WWW
June 22, 2014, 08:26:43 PM
 #70

Did this exchange really take a turn and made an agreement to monopolize the alt-coin scene together with the big pools? Is this how things are handled now?

Can you explain this any further ??!

suprnova pools - reliable mining pools - #suprnova on freenet
https://www.suprnova.cc - FOLLOW us @ Twitter ! twitter.com/SuprnovaPools
Amph
Legendary
*
Offline Offline

Activity: 1918
Merit: 1001



View Profile
July 10, 2014, 09:26:30 PM
 #71

can you add the login history option plz, like mintpal did
adaseb
Legendary
*
Offline Offline

Activity: 1638
Merit: 1058



View Profile
July 11, 2014, 10:51:46 PM
 #72

Can somebody here please post the Python wrapper for Bittrex?

Since V1.0 is ending on July 20

.FORTUNE.JACK.
      ▄▄███████▄▄
   ▄████▀▀ ▄ ██████▄
  ████ ▄▄███ ████████
 █████▌▐███▌ ▀▄ ▀█████
███████▄██▀▀▀▀▄████████
█████▀▄▄▄▄█████████████
████▄▄▄▄ █████████████
 ██████▌ ███▀████████
  ███████▄▀▄████████
   ▀█████▀▀███████▀
      ▀▀██████▀▀
         
         █
...FortuneJack.com                                             
...THE BIGGEST BITCOIN GAMBLING SITE
       ▄▄█████████▄▄
    ▄█████████████████▄
  ▄█████████████████████▄
 ▄██
█████████▀███████████▄
██████████▀   ▀██████████
█████████▀       ▀█████████
████████           ████████
████████▄   ▄ ▄   ▄████████
██████████▀   ▀██████████
 ▀██
█████████████████████▀
  ▀██
███████████████████▀
    ▀█████████████████▀
       ▀▀█████████▀▀
#JACKMATE
WIN 1 BTC
▄█████████████████████████▄
███████████████████████████
███████████████████████████
██████████▀█████▀██████████
███████▀░░▀░░░░░▀░░▀███████
██████▌░░░░░░░░░░░░░▐██████
██████░░░░██░░░██░░░░██████
█████▌░░░░▀▀░░░▀▀░░░░▐█████
██████▄░░▄▄▄░░░▄▄▄░░▄██████
████████▄▄███████▄▄████████

███████████████████████████
███████████████████████████
▀█████████████████████████▀
drakoin
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
July 14, 2014, 11:00:14 PM
 #73

A Python wrapper for your API would be lovely.

Take poloniex as an inspiration:
http://pastebin.com/SB5c4Yr1

Another option would be to fork this
BTCE https://github.com/alanmcintyre/btce-api

because there are already versions for
BTER https://github.com/hsharrison/bter-api  and
CRYPTSY https://github.com/hsharrison/python-cryptsy



I made a new version of that Poloniex API wrapper, with two more functions, and some bugs fixed:
https://bitcointalk.org/index.php?topic=463202.msg7847379#msg7847379


no sign of a signature
gaalx
Sr. Member
****
Offline Offline

Activity: 411
Merit: 250



View Profile
July 16, 2014, 02:25:17 PM
 #74

https://github.com/T...ples/bittrex.go
 
work example:
package main
 
import (
    "fmt"
    "github.com/toorop/go-bittrex"
)
 
const (
    API_KEY = ""
    API_SECRET = ""
)
 
func main() {
    // Bittrex client
    bittrex := bittrex.New(API_KEY, API_SECRET)
 
     // Get Ticker (BTC-VTC)
    /*
        ticker, err := bittrex.GetTicker("BTC-DRK")
        fmt.Println(err, ticker)
    */
}
 
keys - https://bittrex.com/Home/Api
Programming language, I so understood, GO.
 
It is request for receipt of initial information on a rate:
Judging by documentation the answer in a type shall come:
/public/getticker
Used to get the current tick values for a market.
Parameters parameter required description market required a string literal for the market (ex: BTC-LTC)
Request:https://bittrex.com/...ublic/getticker
Response{
    "success" : true,
    "message" : "",
    "result" : {
        "Bid" : 2.05670368,
        "Ask" : 3.35579531,
        "Last" : 3.35579531
    }
}
Here and the question how to give a rate and to appropriate it to any variable or it already in ticker,err  , and here err is a type shows on a data file and ticker, bid will issue me result about a purchase price?

UrbanoGT
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
July 29, 2014, 11:15:43 PM
 #75

i NEED PYTHON API FOR V1.1 . BOUNTY 0.005BTC
sdersdf2
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
August 24, 2014, 03:59:45 PM
 #76

We're looking for IPO coins to partner with.  If you are interested, please let me know.


Could you explain the original intent of this message?

xrnath
Member
**
Offline Offline

Activity: 80
Merit: 10


View Profile
September 03, 2014, 01:15:20 AM
 #77

Hi team, could we please get an update on site availability. bittrex.com appears to be offline. TYIA.

http://downforeveryoneorjustme.com/bittrex.com
Quote
It's not just you! http://bittrex.com looks down from here.
Ingramtg
Legendary
*
Offline Offline

Activity: 897
Merit: 1000



View Profile
September 03, 2014, 01:33:39 AM
 #78

We're looking for IPO coins to partner with.  If you are interested, please let me know.


Could you explain the original intent of this message?



for money Cheesy
xrnath
Member
**
Offline Offline

Activity: 80
Merit: 10


View Profile
September 03, 2014, 01:50:36 AM
 #79

Hi team, could we please get an update on site availability. bittrex.com appears to be offline. TYIA.

http://downforeveryoneorjustme.com/bittrex.com
Quote
It's not just you! http://bittrex.com looks down from here.

bittrex.com is back online.
drakoin
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
October 18, 2014, 10:46:59 PM
 #80

feature request: One more column in "Your open orders"
https://bittrex.com/History


Please multiply/divide "BID/ASK" and "Units Total"
into one more column "BTC value"
- then I can order by that column, and quickly see
how much BTC I have locked into what.

Thanks a lot!

Tip me for my work: 19ff2KsUxD7B3EumxhrKRJ5qDP7yc8YQfD

no sign of a signature
Pages: « 1 2 3 [4] 5 6 7 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!