Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: HMAC/ Hashlib Tutorial Request
Post: RE: HMAC/ Hashlib Tutorial Request

This is my best attempt so far: bittrex_exchange = requests.get('https://api.bittrex.com/api/v1.1/public/getmarketsummaries').json() bittrex_public_key = '000000002345' bittrex_secret_key = '...
dn237 Web Scraping & Web Development 4 2,459 Nov-20-2019, 07:56 AM
    Thread: HMAC/ Hashlib Tutorial Request
Post: RE: HMAC/ Hashlib Tutorial Request

(Nov-17-2019, 04:02 PM)Larz60+ Wrote: There's already one in the python documentation: https://docs.python.org/3.8/library/hashlib.html It's extremely unhelpful. There is no material explaining this...
dn237 Web Scraping & Web Development 4 2,459 Nov-19-2019, 05:53 AM
    Thread: HMAC/ Hashlib Tutorial Request
Post: HMAC/ Hashlib Tutorial Request

I'm requesting a tutorial/ help on how to create a new HMAC using SHA512 to send a get request to Bittrex.com's API to place a buy/sell/etc order/request. I know how to do requests that are public bu...
dn237 Web Scraping & Web Development 4 2,459 Nov-17-2019, 12:06 PM
    Thread: Python Rest API Public/Secret Keys Authentication Nonce
Post: How to buy Bitcoin on an exchange using their API ...

How can I buy say Bitcoin from Bittrex.com using Python and their API? Bittrex's API documentation: https://bittrex.github.io/api/v1-1 The public requests are easy for me to understand. I can do them...
dn237 Web Scraping & Web Development 1 2,913 Oct-31-2019, 02:07 AM
    Thread: Python 3.8 or 3.? Trouble installing packages
Post: RE: Python 3.8 or 3.? Trouble installing packages

Thanks. I just glanced over that and will look through it more and try to understand it, but just from glancing at it I did not understand all of the sudo stuff going on there. I did this multiple ti...
dn237 General Coding Help 5 6,788 Oct-25-2019, 01:29 AM
    Thread: Python 3.8 or 3.? Trouble installing packages
Post: Python 3.8 or 3.? Trouble installing packages

I have been working on writing a trading bot in PyCharm lately. I was getting close to finishing then Python and/or Pip updated so after seeing a suggestion in the command prompt and/or PyCharm to upd...
dn237 General Coding Help 5 6,788 Oct-24-2019, 05:45 PM
    Thread: Python Rest API Public/Secret Keys Authentication Nonce
Post: Python Rest API Public/Secret Keys Authentication ...

I'm trying to figure out how to write a request to tell my program to say for example buy Bitcoin, on a crypto exchange called Bittrex. This is their API documentation: https://bittrex.github.io/api...
dn237 Web Scraping & Web Development 1 2,913 Oct-18-2019, 04:54 PM
    Thread: List of dictionaries: use key-value instead of index?
Post: RE: List of dictionaries: use key-value instead of...

(Jun-02-2019, 10:18 PM)metulburr Wrote: (Jun-02-2019, 06:18 PM)dn237 Wrote: Assume there is no way to know what index each colorkey is located at, but you need to retrieve or get or return each di...
dn237 General Coding Help 6 3,884 Jun-03-2019, 01:51 PM
    Thread: List of dictionaries: use key-value instead of index?
Post: RE: List of dictionaries: use key-value instead of...

(Jun-02-2019, 06:23 PM)Yoriz Wrote: Loop through the list of dict's, checking if status is on and is registered is yes and add the ones that are to a new list. I don't need that dictionary if it is ...
dn237 General Coding Help 6 3,884 Jun-02-2019, 06:33 PM
    Thread: List of dictionaries: use key-value instead of index?
Post: List of dictionaries: use key-value instead of ind...

If you have a list of dictionaries, and need any dictionary but do not know what index that dictionary is located at, then how can you instead use the key or key value pair to find that dictionary? T...
dn237 General Coding Help 6 3,884 Jun-02-2019, 06:18 PM
    Thread: Search a List of Dictionaries by Key-Value Pair; Return Dictionary/ies Containing KV
Post: RE: Search a List of Dictionaries by Key-Value Pai...

(May-28-2019, 01:25 PM)buran Wrote: please, both of you, note that if market['IsActive'] == True and market['IsRestricted'] == False:is better as if market['IsActive'] and not market['IsRestricte...
dn237 General Coding Help 19 6,696 May-28-2019, 01:30 PM
    Thread: Search a List of Dictionaries by Key-Value Pair; Return Dictionary/ies Containing KV
Post: RE: Search a List of Dictionaries by Key-Value Pai...

That's what I've been trying to figure out how to do! Thanks! You're awesome! I will study for loops more now to understand this better.
dn237 General Coding Help 19 6,696 May-28-2019, 01:21 PM
    Thread: Search a List of Dictionaries by Key-Value Pair; Return Dictionary/ies Containing KV
Post: RE: Search a List of Dictionaries by Key-Value Pai...

(May-28-2019, 12:49 PM)heiner55 Wrote: I thought I have done this: for market in markets: if market['IsActive'] == True and market['IsRestricted'] == False: ticker = market['BaseCur...
dn237 General Coding Help 19 6,696 May-28-2019, 01:07 PM
    Thread: Search a List of Dictionaries by Key-Value Pair; Return Dictionary/ies Containing KV
Post: RE: Search a List of Dictionaries by Key-Value Pai...

I'm really grateful for someone trying to understand that mess of a post I made earlier but I think I was more tired than I realized and just posted a confusing mess lol. That's not what I am looking...
dn237 General Coding Help 19 6,696 May-28-2019, 12:43 PM
    Thread: Search a List of Dictionaries by Key-Value Pair; Return Dictionary/ies Containing KV
Post: RE: Search a List of Dictionaries by Key-Value Pai...

Bittrex_Markets = requests.get("https://api.bittrex.com/api/v1.1/public/getmarkets").json() Print (Bittrex_Markets) >>> {'success': True, 'message': '', 'result': [{'MarketCurrency': 'LTC', ...
dn237 General Coding Help 19 6,696 May-28-2019, 09:10 AM
    Thread: Search a List of Dictionaries by Key-Value Pair; Return Dictionary/ies Containing KV
Post: Search a List of Dictionaries by Key-Value Pair; R...

Bittrex_Markets = requests.get("https://api.bittrex.com/api/v1.1/public/getmarkets").json() print (Bittrex_Markets) >>> Editing post it was way too long first time
dn237 General Coding Help 19 6,696 May-28-2019, 08:14 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020