+ 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.

1st Oct 2017, 9:46 PM
Adi Pratama
Adi Pratama - avatar
9 Answers
+ 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 šŸ˜
27th Sep 2017, 2:12 PM
CalviÕ²
CalviÕ² - avatar
+ 5
F&O futures & options
30th Sep 2017, 5:18 PM
Daljeet Singh
Daljeet Singh - avatar
+ 3
J-C..... ping-pong () for F&O real time! šŸ˜Ž? @adi
28th Sep 2017, 6:40 PM
Daljeet Singh
Daljeet Singh - avatar
+ 2
@Adi Pratama Is this what you want? Please double check the output. https://code.sololearn.com/W4scmeR0D7P7/?ref=app
26th Sep 2017, 11:45 PM
CalviÕ²
CalviÕ² - avatar
+ 1
Set to public now šŸ™‚ Why the asking price is so low in highest volume? Maybe need some filtering...
27th Sep 2017, 12:02 AM
CalviÕ²
CalviÕ² - avatar
+ 1
There is no ETH price in the api.
27th Sep 2017, 1:51 AM
CalviÕ²
CalviÕ² - avatar
+ 1
So Asks is sell data, and Bids is buy data? I just interchange the data.
27th Sep 2017, 1:54 AM
CalviÕ²
CalviÕ² - avatar
0
zahd
27th Sep 2017, 5:24 PM
Ų¹Ł„ŪŒ Ų­Ų³Ł†ŪŒ
Ų¹Ł„ŪŒ Ų­Ų³Ł†ŪŒ - avatar
- 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.
2nd Oct 2017, 4:31 AM
jason :)