• 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

Can Singapore Create an ASEAN Blackrock?

Can Singapore Create an ASEAN Blackrock?

July 29, 2026
The Truth About Net Bitcoin Per Share And Accretion

The Truth About Net Bitcoin Per Share And Accretion

July 29, 2026
Share76Tweet47

Related Posts

Can Singapore Create an ASEAN Blackrock?

Can Singapore Create an ASEAN Blackrock?

by Moussa
July 29, 2026
0

Singapore’s sovereign wealth fund Temasek is engineering what the Financial Times calls an ‘Asian BlackRock’ – and the structural logic...

The Truth About Net Bitcoin Per Share And Accretion

The Truth About Net Bitcoin Per Share And Accretion

by Moussa
July 29, 2026
0

Strategy initiated open-market repurchases of STRC last week (July 20 through July 26, 2026), buying 288,930 shares for ~$25 million...

If You Don’t Hold the Keys, You Don’t Own the Bitcoin

If You Don’t Hold the Keys, You Don’t Own the Bitcoin

by Moussa
July 29, 2026
0

There is a difference between owning bitcoin and owning a claim on bitcoin, and most people who think they hold...

How do Bitcoin mining pools typically handle payout frequency versus thresholds?

earnings – 🚀 Free Crypto Claim Yours Now

by Moussa
July 29, 2026
0

Hi Bilal Sinclair, Want free crypto? It takes just 5 minutes with Trust Wallet. No catch, no investment needed. Just...

US Congressman Moves to Ban Staff From Trading on Prediction Markets

Crypto News Today (July 29): BTC Reclaims $64K Ahead of FOMC, 1inch Launches New DeFi Liquidity Layer, and Ionic Digital Shares Jump 25% on Nasdaq Debut

by Moussa
July 29, 2026
0

In crypto news today (July 29), Bitcoin climbed +1% overnight, reclaiming $64,000 ahead of today’s FOMC meeting, in which a...

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

© 2024 APPROX FOUNDATION - The Crypto Currency News