• 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

Doppler Finance Brings Institutional DeFi to cbXRP on Base

Doppler Finance Brings Institutional DeFi to cbXRP on Base

July 30, 2026
Spanish Bank Banco Santander Reveals $4.3M Bitcoin Position

Spanish Bank Banco Santander Reveals $4.3M Bitcoin Position

July 30, 2026
Share76Tweet47

Related Posts

Doppler Finance Brings Institutional DeFi to cbXRP on Base

Doppler Finance Brings Institutional DeFi to cbXRP on Base

by Moussa
July 30, 2026
0

In XRP news today, Coinbase Wrapped XRP (cbXRP) just became significantly more useful. Doppler Finance, an institutional-grade yield infrastructure protocol,...

Spanish Bank Banco Santander Reveals $4.3M Bitcoin Position

Spanish Bank Banco Santander Reveals $4.3M Bitcoin Position

by Moussa
July 30, 2026
0

Spain’s largest bank, Banco Santander, has revealed a $4.3 million investment in Bitcoin.  According to a Securities and Exchange Commission...

Robinhood Pulls in $1.31B Q2 Revenue as 44% Trading Surge Fuels Record Profit

Robinhood Pulls in $1.31B Q2 Revenue as 44% Trading Surge Fuels Record Profit

by Moussa
July 30, 2026
0

Key TakeawaysRobinhood posted $1.31B in Q2 revenue on July 29, driven by strong trading volume.Event contracts on Robinhood surged over...

Crypto News Today (July 29): BTC Loses $64K Following FOMC, Tether Expands into Africa, and the US Targets Iran’s Crypto

by Moussa
July 30, 2026
0

In crypto news today (July 30), Bitcoin climbed -0.5% overnight, dropping below $64,000 following yesterday’s FOMC meeting, in which a...

Pass Clarity Act Or Lose Ground To Singapore, UAE

Pass Clarity Act Or Lose Ground To Singapore, UAE

by Moussa
July 30, 2026
0

Crypto investment firm Digital Currency Group is the latest big name to throw its weight behind the Clarity Act.  In...

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

© 2024 APPROX FOUNDATION - The Crypto Currency News