Lu-Yi-Hsun / iqoptionapi

IQ Option API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sort by popularity

kkagill opened this issue · comments

Can I get a list of assets sorted by popularity?

So maybe I_want_money.get_assets_popularity('digital')
would return an array.

['EUR/USD, 'USD/JPY', 'EUR/JPY', 'AUD/CAD', .........]

image

@kkagill What do you mean by list and array?
Why do you need it? This is not an issue with the API and hence should not be here. You can contact the author of the repository. The issue section is for the issues.
As you are getting an array, you can convert is to a list easily, I guess.

commented

I will try how to sort that

@JafferWilson So much negative spirit in you when you are posting comments to other people's issues. Yeah, this could be not an issue with the API, but I'm asking for a new feature.

@Lu-Yi-Hsun Thank you. Indeed the owner of the repo.

@kkagill I do not mean to offend you. But the sorting is something that you can do on the application level as well.

@JafferWilson How? that sorting should be api driven from iq option. You can't just do it on the application level

commented

@kkagill try the last version

this sample can get the popularity by top_assets_updated() api

https://github.com/Lu-Yi-Hsun/iqoptionapi#get-popularity-by-top_assets_updated-api