File tree Expand file tree Collapse file tree 3 files changed +21
-4
lines changed
Expand file tree Collapse file tree 3 files changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,7 @@ http://127.0.0.1:8000/api/v1/openapi.json
112112| [ Zagreb Stock Exchange] ( https://www.zse.hr/en ) | XZAG | 🇭🇷 Croatia | Europe |
113113| [ Ljubljana Stock Exchange] ( https://ljse.si/en ) | XLJU | 🇸🇮 Slovenia | Europe |
114114| [ Bratislava Stock Exchange] ( https://www.bsse.sk/bcpb/en ) | XBRA | 🇸🇰 Slovakia | Europe |
115+ | [ Belgrade Stock Exchange] ( https://www.belex.rs/eng ) | XBEL | 🇷🇸 Serbia | Europe |
115116| [ Budapest Stock Exchange] ( https://bse.hu ) | XBUD | 🇭🇺 Hungary | Europe |
116117| [ Moscow Exchange] ( https://www.moex.com/en ) | XMOS | 🇷🇺 Russia | Europe |
117118| [ Astana International Exchange] ( https://www.aix.kz ) | AIXK | 🇰🇿 Kazakhstan | Europe |
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ def test_api_version(client):
99def test_markets_all (client ):
1010 response = client .get ("/api/v1/markets" )
1111 assert response .status_code == 200
12- assert len (response .json ()) == 65
12+ assert len (response .json ()) == 66
1313
1414
1515def test_markets_one_mic (client ):
@@ -33,7 +33,7 @@ def test_status_all(client):
3333 response = client .get ("/api/v1/markets/status" )
3434 assert response .status_code == 200
3535 print (response .json ())
36- assert len (response .json ()) == 65
36+ assert len (response .json ()) == 66
3737
3838
3939def test_status_one_mic (client ):
@@ -56,7 +56,7 @@ def test_status_bad_mic(client):
5656def test_hours_all (client ):
5757 response = client .get ("/api/v1/markets/hours?start=2024-07-03&end=2024-07-03" )
5858 assert response .status_code == 200
59- assert len (response .json ()) == 65
59+ assert len (response .json ()) == 66
6060
6161
6262def test_hours_one_mic (client ):
Original file line number Diff line number Diff line change @@ -700,7 +700,7 @@ def load(self):
700700 'XBRA' : {
701701 'mic' : 'XBRA' ,
702702 'name' : 'Bratislava Stock Exchange' ,
703- 'acronym' : None ,
703+ 'acronym' : 'BSSE' ,
704704 'lei' : '097900BIIX0000168239' ,
705705 'url' : 'https://www.bsse.sk/bcpb/en' ,
706706 'city' : 'Bratislava' ,
@@ -713,6 +713,22 @@ def load(self):
713713 'currency_symbol' : '€' ,
714714 'dst_transitions' : 'true' ,
715715 },
716+ 'XBEL' : {
717+ 'mic' : 'XBEL' ,
718+ 'name' : 'Belgrade Stock Exchange' ,
719+ 'acronym' : 'BELEX' ,
720+ 'lei' : '097900BIIX0000168239' ,
721+ 'url' : 'https://www.belex.rs/eng' ,
722+ 'city' : 'Belgrade' ,
723+ 'country' : 'Serbia' ,
724+ 'country_code' : 'RS' ,
725+ 'region' : 'Europe' ,
726+ 'flag' : '🇷🇸' ,
727+ 'currency_name' : "Dinar" ,
728+ 'currency_code' : 'RSD' ,
729+ 'currency_symbol' : 'РСД' ,
730+ 'dst_transitions' : 'true' ,
731+ },
716732 'ASEX' : {
717733 'mic' : 'ASEX' ,
718734 'name' : 'Athens Stock Exchange' ,
You can’t perform that action at this time.
0 commit comments