How to Scraping and Sorting the Prices According to the Quantity Amount of ETH from API? | Sololearn: Learn to code for FREE!

+33

How to Scraping and Sorting the Prices According to the Quantity Amount of ETH from API?

URL of API: https://bittrex.com/api/v1.1/public/getorderbook?market=BTC-ETH&type=both Image of API: https://s26.postimg.org/5ome3wqzt/Screenshot_93.png Design Demo: https://s26.postimg.org/d1x6p4lnt/Screenshot_92.png Short Term Trading style: filter: if (Size >= 50ETH) sort_descending(Bids_Price); sort_ascending(Asks_Price); Long Term trading style: sort_descending(Bids_Size); sort_ascending(Asks_Size); Solution by Calvin: https://code.sololearn.com/WZJptnbEAWex/?ref=app Please upvote his code to appreciate his effort.

10/1/2017 9:46:35 PM

Adi Pratama, S.Kom.

9 Answers

New Answer

+3

@Adi Pratama Please check out this version, with sortable descending/ascending toggled by touching the table heading price/volume. (see the little arrow) 0 https://code.sololearn.com/WZJptnbEAWex/?ref=app Hopefully you can play Ping-Pong now 😁

+5

F&O futures & options

+3

J-C..... ping-pong () for F&O real time! 😎? @adi

+2

@Adi Pratama Is this what you want? Please double check the output. https://code.sololearn.com/W4scmeR0D7P7/?ref=app

+1

Set to public now 🙂 Why the asking price is so low in highest volume? Maybe need some filtering...

+1

There is no ETH price in the api.

+1

So Asks is sell data, and Bids is buy data? I just interchange the data.

0

-1

hey, your c++, I got a possible solution to a long standing problem I've had but it's in c++. take a look at my new question. thanks.