Skip to content

Commit f728722

Browse files
authored
Create l3
Add l3
1 parent 1d75e58 commit f728722

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

l3

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
1. Znaleźć w internecie API ze źródłem danych o rynkach finansowych, przykłady:
2+
https://bittrex.github.io/api/v1-1
3+
https://bitbay.net/en/public-api
4+
https://www.tradingview.com/rest-api-spec/#section/Authentication
5+
6+
Stworzyć prostą funkcję, która łączy się z danym API, pobiera listę ofert kupna oraz listę ofert sprzedaży i printuje do konsoli. (5pkt)
7+
8+
2. Odświeża (pobiera) ją co 5 sekund, następnie kalkuluje różnicę pomiędzy kupnem a sprzedażą i podaje ją w procentach (np. 1 - (cena sprzedaży - cena kupna) / cena kupna)
9+
(5pkt)
10+

0 commit comments

Comments
 (0)