• About
  • FAQ
  • Earn Bitcoin while Surfing the net
  • Buy & Sell Crypto on Paxful
Newsletter
Approx Foundation
  • Home
    • Home – Layout 1
  • Bitcoin
  • Ethereum
  • Regulation
  • Market
  • Blockchain
  • Business
  • Guide
  • Contact Us
No Result
View All Result
  • Home
    • Home – Layout 1
  • Bitcoin
  • Ethereum
  • Regulation
  • Market
  • Blockchain
  • Business
  • Guide
  • Contact Us
No Result
View All Result
Approx Foundation
No Result
View All Result
Home Bitcoin

Can’t use Bittrex Exchange python-bittrex api call: no output

Moussa by Moussa
July 29, 2026
in Bitcoin
0
How do Bitcoin mining pools typically handle payout frequency versus thresholds?
189
SHARES
1.5k
VIEWS
Share on FacebookShare on Twitter


I’m completely new to python (and programming), and I know this question will sound very dumb to most of you people. I’m experimenting on getting datas from the cryptocurrencies exchenge bittrex and put it into variables into my script for further calculations. I’m trying to make this unofficial repository working to fetch datas from their api. While I have no problems with the public datas (fetching with curl), I can’t get this piece of python to work, and thus I can’t fetch balances nor any other private datas.

In order to install it I made the following:

wget https://github.com/ericsomdahl/python-bittrex/archive/master.zip
unzip master.zip
cd python-bittrex-master
python setup.py install

The following files were created:

ls -la /usr/local/lib/python2.7/dist-packages/bittrex/
total 48
drwxr-sr-x 2 root staff  4096 Sep 30 15:04 .
drwxrwsr-x 3 root staff  4096 Sep 30 15:04 ..
-rw-rw-r-- 1 root staff 15357 Sep 12 18:34 bittrex.py
-rw-r--r-- 1 root staff 17302 Sep 30 15:04 bittrex.pyc
-rw-rw-r-- 1 root staff     0 Sep 12 18:34 __init__.py
-rw-r--r-- 1 root staff   145 Sep 30 15:04 __init__.pyc

Then I created this test files, but they are both producing no output:

cat get_balances.py 
#!/usr/bin/env python 
from bittrex.bittrex import Bittrex
api = Bittrex('fXXXXXXXXXXXXXXXXXXXXXXXXXd', '1XXXXXXXXXXXXXXXXXXXXXXXXX0')
api.get_balances() 

and

cat get_markets.py 
#!/usr/bin/env python 
from bittrex.bittrex import Bittrex    
api = Bittrex('fXXXXXXXXXXXXXXXXXXXXXXXXXd', '1XXXXXXXXXXXXXXXXXXXXXXXXX0')    
api.get_markets()

Before I did python setup.py install the output was: ImportError: cannot import name Bittrex

I tried to troubleshoot it running with python -v in front but it did produce 500 lines of output that I didn’t manage to understand, I’d share it of course if someone asks for it.

While I’m writing I’m sure I’m missing something very trivial, sorry if it’s a dumb question, but documentation is lacking any principle, it’s very few and it assumes that who is integrating this code is a developer; and I’m not.

Following suggestions from another forum I did:

root@my:/home/me/test/python-bittrex-master# pip install bittrex
Downloading/unpacking bittrex
  Downloading bittrex-0.1.4.tar.gz
  Running setup.py (path:/tmp/pip_build_root/bittrex/setup.py) egg_info for package bittrex

Downloading/unpacking requests==2.7.0 (from bittrex)
  Downloading requests-2.7.0-py2.py3-none-any.whl (470kB): 470kB downloaded
Installing collected packages: bittrex, requests
  Running setup.py install for bittrex

  Found existing installation: requests 2.2.1
    Not uninstalling requests at /usr/lib/python2.7/dist-packages, owned by OS
Successfully installed bittrex requests
Cleaning up...


python get_balances.py 
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning

So there is a warning, but still no output.

If you try the code I pasted as is, it should return “invalid api”, while it throws no output on my system. How to troubleshoot this?



Source link

Related articles

Zcash Price Slides 23% as Grayscale ETF Hits Reverse

Zcash Price Slides 23% as Grayscale ETF Hits Reverse

October 4, 2026
Crypto Market News Today, December 17: Fidelity Says Bitcoin Is the Gold Standard as They Scoop The Bottom Price and Hal Finney–Satoshi Talk Returns

Trump AI News: Jay Clayton Lined Up as New AI Czar, Heading up Super Intelligence Taskforce

October 4, 2026
Share76Tweet47

Related Posts

Zcash Price Slides 23% as Grayscale ETF Hits Reverse

Zcash Price Slides 23% as Grayscale ETF Hits Reverse

by Moussa
October 4, 2026
0

Key TakeawaysZcash price fell roughly 23% from ZEC’s Sept. 27 peak of $1,697 per unit.Grayscale’s ZCSH lost around $93 million...

Crypto Market News Today, December 17: Fidelity Says Bitcoin Is the Gold Standard as They Scoop The Bottom Price and Hal Finney–Satoshi Talk Returns

Trump AI News: Jay Clayton Lined Up as New AI Czar, Heading up Super Intelligence Taskforce

by Moussa
October 4, 2026
0

In Trump AI news, The Wall Street Journal reported on October 3 that Director of National Intelligence Jay Clayton will...

Latam Cartels Tap Crypto to Expand Their Illicit Workflows

Latam Cartels Tap Crypto to Expand Their Illicit Workflows

by Moussa
October 4, 2026
0

Key TakeawaysLatam cartels operate crypto mining farms, making illicit funds appear legitimate to evade law enforcement.Criminal groups built fintech networks...

Saylor Stirs Strategy Bitcoin Buy Speculation

Saylor Stirs Strategy Bitcoin Buy Speculation

by Moussa
October 4, 2026
0

Key TakeawaysSaylor’s latest orange message raises the prospect of further buying.The shared chart values 847,666 BTC at approximately $72.29 billion.Strategy’s...

Up and Onwards – Week In Review

Up and Onwards – Week In Review

by Moussa
October 4, 2026
0

Bitcoin’s recovery is looking better against gold as well as dollars. Tuur Demeester highlighted a break above resistance at 18...

Load More

youssufi.com

sephina.com

[vc_row full_width="stretch_row" parallax="content-moving" vc_row_background="" background_repeat="no-repeat" background_position="center center" footer_scheme="dark" css=".vc_custom_1517813231908{padding-top: 60px !important;padding-bottom: 30px !important;background-color: #191818 !important;background-position: center;background-repeat: no-repeat !important;background-size: cover !important;}" footer_widget_title_color="#fcbf46" footer_button_bg="#fcb11e"][vc_column width="1/4"]

We bring you the latest in Crypto News

[/vc_column][vc_column width="1/4"][vc_wp_categories]
[/vc_column][vc_column width="1/4"][vc_wp_tagcloud taxonomy="post_tag"][/vc_column][vc_column width="1/4"]

Newsletter

[vc_raw_html]JTNDcCUzRSUzQ2RpdiUyMGNsYXNzJTNEJTIydG5wJTIwdG5wLXN1YnNjcmlwdGlvbiUyMiUzRSUwQSUzQ2Zvcm0lMjBtZXRob2QlM0QlMj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ydG5wLXByaXZhY3klMjIlM0UlQzIlQTBCeSUyMGNvbnRpbnVpbmclMkMlMjB5b3UlMjBhY2NlcHQlMjB0aGUlMjBwcml2YWN5JTIwcG9saWN5JTNDJTJGbGFiZWwlM0UlM0MlMkZkaXYlM0UlM0NkaXYlMjBjbGFzcyUzRCUyMnRucC1maWVsZCUyMHRucC1maWVsZC1idXR0b24lMjIlM0UlM0NpbnB1dCUyMGNsYXNzJTNEJTIydG5wLXN1Ym1pdCUyMiUyMHR5cGUlM0QlMjJzdWJtaXQlMjIlMjB2YWx1ZSUzRCUyMlN1YnNjcmliZSUyMiUyMCUzRSUwQSUzQyUyRmRpdiUzRSUwQSUzQyUyRmZvcm0lM0UlMEElM0MlMkZkaXYlM0UlM0NiciUyRiUzRSUzQyUyRnAlM0U=[/vc_raw_html][/vc_column][/vc_row]
No Result
View All Result
  • Contact Us
  • Homepages
  • Business
  • Guide

© 2024 APPROX FOUNDATION - The Crypto Currency News