Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

When we launch new UI, ONLY return ticker passed in on getMarket in returnTicker #21

Open
JonathonDunford opened this issue Feb 10, 2018 · 0 comments

Comments

@JonathonDunford
Copy link
Contributor

JonathonDunford commented Feb 10, 2018

We currently need all tickers in every getMarket call because of old ED code.

When we launch new UI, specify the token when grabbing tickers and returnTicker will only show data of that passed in token.

# get all tickers
tickers = await get_tickers()

 # if token is passed in
    if token:
        

Should become

 # if token is passed in
if token:
        
        # get ticker for passed in token
        tickers = await get_tickers(token)

else:
        # get all tickers
        tickers = await get_tickers()

in get_market() in websocket_server.py

@JonathonDunford JonathonDunford changed the title FUTURE: When we launch new UI, ONLY return ticker passed in on getMarket in returnTicker When we launch new UI, ONLY return ticker passed in on getMarket in returnTicker Feb 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant