Skip to content
This repository was archived by the owner on Jun 12, 2018. It is now read-only.
This repository was archived by the owner on Jun 12, 2018. It is now read-only.

getmarketsummary returns a random market #84

Description

@cryptodoctor

Whenever I call get_marketsummary(market) I do not get the requested market summary returned. Instead I get a completely random market summary.

import bittrex
from bittrex.bittrex import Bittrex, API_V2_0

my_bittrex = Bittrex(None, None, api_version=API_V2_0)  # or defaulting to v1.1 as Bittrex(None, None)

def get_price(market):
    return my_bittrex.get_marketsummary(market)

print(str(get_price('BTC-LTC')))

What gets returned is a random market summary such as:
{'success': True, 'message': '', 'result': {'MarketName': 'BTC-2GIVE', 'High': 8.4e-07, 'Low': 6.5e-07, 'Volume': 22415588.14212696, 'Last': 7.8e-07, 'BaseVolume': 16.67671564, 'TimeStamp': '2017-12-17T07:08:27.897', 'Bid': 7.8e-07, 'Ask': 8e-07, 'OpenBuyOrders': 298, 'OpenSellOrders': 1491, 'PrevDay': 7e-07, 'Created': '2016-05-16T06:44:15.287'}}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions