Skip to content

Commit dd9dc93

Browse files
committed
Auto-generate SDK for CoinAPI Exchange Rates API REST Realtime
1 parent 3cf9cc5 commit dd9dc93

File tree

27 files changed

+115
-115
lines changed

27 files changed

+115
-115
lines changed

coinapi/exchange-rates-api-rest-realtime/sdk/csharp/APIBricks.CoinAPI.ExchangeRatesAPI.Realtime.REST.V1.sln

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio 2012
33
VisualStudioVersion = 12.0.0.0
44
MinimumVisualStudioVersion = 10.0.0.1
5-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "APIBricks.CoinAPI.ExchangeRatesAPI.Realtime.REST.V1", "src\APIBricks.CoinAPI.ExchangeRatesAPI.Realtime.REST.V1\APIBricks.CoinAPI.ExchangeRatesAPI.Realtime.REST.V1.csproj", "{6B635E08-8763-4429-A9C2-BA5705DFC6E4}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "APIBricks.CoinAPI.ExchangeRatesAPI.Realtime.REST.V1", "src\APIBricks.CoinAPI.ExchangeRatesAPI.Realtime.REST.V1\APIBricks.CoinAPI.ExchangeRatesAPI.Realtime.REST.V1.csproj", "{AA15C9AF-A355-461A-BE0D-3FF02E34D258}"
66
EndProject
77
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "APIBricks.CoinAPI.ExchangeRatesAPI.Realtime.REST.V1.Test", "src\APIBricks.CoinAPI.ExchangeRatesAPI.Realtime.REST.V1.Test\APIBricks.CoinAPI.ExchangeRatesAPI.Realtime.REST.V1.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
88
EndProject
@@ -12,10 +12,10 @@ Global
1212
Release|Any CPU = Release|Any CPU
1313
EndGlobalSection
1414
GlobalSection(ProjectConfigurationPlatforms) = postSolution
15-
{6B635E08-8763-4429-A9C2-BA5705DFC6E4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16-
{6B635E08-8763-4429-A9C2-BA5705DFC6E4}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{6B635E08-8763-4429-A9C2-BA5705DFC6E4}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{6B635E08-8763-4429-A9C2-BA5705DFC6E4}.Release|Any CPU.Build.0 = Release|Any CPU
15+
{AA15C9AF-A355-461A-BE0D-3FF02E34D258}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16+
{AA15C9AF-A355-461A-BE0D-3FF02E34D258}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{AA15C9AF-A355-461A-BE0D-3FF02E34D258}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{AA15C9AF-A355-461A-BE0D-3FF02E34D258}.Release|Any CPU.Build.0 = Release|Any CPU
1919
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2020
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
2121
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU

coinapi/exchange-rates-api-rest-realtime/sdk/csharp/api/openapi.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,34 +15,34 @@ security:
1515
- APIKey: []
1616
- JWT: []
1717
tags:
18-
- description: "\n<span data-status-page=\"28924\"></span>\nExchange rate is defined\
18+
- description: "\r\n<span data-status-page=\"28924\"></span>\r\nExchange rate is defined\
1919
\ as (VWAP-24H) last 24 hour (rolling window over time) Volume Weighted Average\
2020
\ Price across multiple data sources listed on our platform. We are selecting\
2121
\ and managing the data sources that are used in the calculation based on multiple\
22-
\ factors to provide data of highest quality. \n\nAlgorithm is described below:\n\
23-
\n 1. Exchange rates are produced from quotes, trades, and metadata datasets.\n\
24-
\ 1. Symbols that are not data_type = \"SPOT\" are excluded from the calculation.\n\
25-
\ 1. Symbols from the data sources that were marked by us as not legitimate are\
26-
\ excluded from the calculation.\n 1. Quotes data where the spread is outside\
22+
\ factors to provide data of highest quality. \r\n\r\nAlgorithm is described below:\r\
23+
\n\r\n 1. Exchange rates are produced from quotes, trades, and metadata datasets.\r\
24+
\n 1. Symbols that are not data_type = \"SPOT\" are excluded from the calculation.\r\
25+
\n 1. Symbols from the data sources that were marked by us as not legitimate\
26+
\ are excluded from the calculation.\r\n 1. Quotes data where the spread is outside\
2727
\ the range of ```<0$; 67%>``` are discarded. `spreadPrc = (ask - bid) / ((ask\
28-
\ + bid) / 2)`\n 1. The midpoint from the quote data is used as a pricing reference\
29-
\ and it's weighted by the passive cumulative volume resting on the best prices.\n\
30-
\ 1. Volume from the trades is used to weight the midpoint prices in the VWAP24\
31-
\ algorithm.\n 1. Midpoint data that has not been updated in the last 5 minutes\
32-
\ and 1 second is discarded.\n 1. The last 24-hour volume for each symbol is\
28+
\ + bid) / 2)`\r\n 1. The midpoint from the quote data is used as a pricing reference\
29+
\ and it's weighted by the passive cumulative volume resting on the best prices.\r\
30+
\n 1. Volume from the trades is used to weight the midpoint prices in the VWAP24\
31+
\ algorithm.\r\n 1. Midpoint data that has not been updated in the last 5 minutes\
32+
\ and 1 second is discarded.\r\n 1. The last 24-hour volume for each symbol is\
3333
\ updated every 4 hours when approximately 20% of the data in the sliding window\
34-
\ changes (also, the list of eligible markets is updated at the same time).\n\
34+
\ changes (also, the list of eligible markets is updated at the same time).\r\n\
3535
\ 1. Everywhere in the algorithm below, we are using asset pairs only from exchanges\
3636
\ that have the highest legitimacy rank, and the rest of the exchanges are discarded.\
3737
\ As we establish the highest-ranking exchanges that have this data for each asset\
3838
\ pair, we ensure that the highest quality data is used for each of them. The\
39-
\ rank used for asset pairing is carried over to the following steps.\n 1. Every\
40-
\ 1 second, we update VWAP24 data for every asset pair across all data sources.\n\
41-
\ 1. For each asset pair, we also discard data that is outside the 3 sigma range\
42-
\ if there are at least 3 exchanges for this asset pair.\n 1. From the VWAP24\
39+
\ rank used for asset pairing is carried over to the following steps.\r\n 1.\
40+
\ Every 1 second, we update VWAP24 data for every asset pair across all data sources.\r\
41+
\n 1. For each asset pair, we also discard data that is outside the 3 sigma range\
42+
\ if there are at least 3 exchanges for this asset pair.\r\n 1. From the VWAP24\
4343
\ data, we are creating a tree structure where node/vertex = asset and edge =\
44-
\ rate.\n 1. By traversing the tree structure using the BFS algorithm and our\
45-
\ secret sauce, we are able to establish the final exchange rates.\n "
44+
\ rate.\r\n 1. By traversing the tree structure using the BFS algorithm and our\
45+
\ secret sauce, we are able to establish the final exchange rates.\r\n "
4646
name: Exchange Rates
4747
- description: <span data-status-page="28923"></span>
4848
name: Metadata
@@ -612,7 +612,7 @@ paths:
612612
examples:
613613
Example response:
614614
value:
615-
time: 2025-09-11T06:06:43.4239322Z
615+
time: 2025-09-12T06:13:09.7718345Z
616616
asset_id_base: BTC
617617
asset_id_quote: USD
618618
rate: 10000.0
@@ -622,7 +622,7 @@ paths:
622622
examples:
623623
Example response:
624624
value:
625-
time: 2025-09-11T06:06:43.4239322Z
625+
time: 2025-09-12T06:13:09.7718345Z
626626
asset_id_base: BTC
627627
asset_id_quote: USD
628628
rate: 10000.0
@@ -632,7 +632,7 @@ paths:
632632
examples:
633633
Example response:
634634
value:
635-
time: 2025-09-11T06:06:43.4239322Z
635+
time: 2025-09-12T06:13:09.7718345Z
636636
asset_id_base: BTC
637637
asset_id_quote: USD
638638
rate: 10000.0
@@ -642,7 +642,7 @@ paths:
642642
examples:
643643
Example response:
644644
value:
645-
time: 2025-09-11T06:06:43.4239322Z
645+
time: 2025-09-12T06:13:09.7718345Z
646646
asset_id_base: BTC
647647
asset_id_quote: USD
648648
rate: 10000.0

coinapi/exchange-rates-api-rest-realtime/sdk/csharp/src/APIBricks.CoinAPI.ExchangeRatesAPI.Realtime.REST.V1/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ outputDir: out
1111

1212
# https://openapi-generator.tech/docs/generators/csharp
1313
additionalProperties:
14-
packageGuid: '{6B635E08-8763-4429-A9C2-BA5705DFC6E4}'
14+
packageGuid: '{AA15C9AF-A355-461A-BE0D-3FF02E34D258}'
1515

1616
# https://openapi-generator.tech/docs/integrations/#github-integration
1717
# gitHost:

coinapi/exchange-rates-api-rest-realtime/sdk/eiffel/api_client.ecf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="ISO-8859-1"?>
2-
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-21-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-21-0 http://www.eiffel.com/developers/xml/configuration-1-21-0.xsd" name="openapi_eiffel_client" uuid="56db8f60-bfcd-47e6-bfda-48a702691128" library_target="openapi_eiffel_client">
2+
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-21-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-21-0 http://www.eiffel.com/developers/xml/configuration-1-21-0.xsd" name="openapi_eiffel_client" uuid="1ac7c0b0-74a2-474e-8434-e70561708cef" library_target="openapi_eiffel_client">
33
<target name="openapi_eiffel_client">
44
<root all_classes="true"/>
55
<file_rule>

coinapi/exchange-rates-api-rest-realtime/sdk/eiffel/test/api_test.ecf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="ISO-8859-1"?>
2-
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-21-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-21-0 http://www.eiffel.com/developers/xml/configuration-1-21-0.xsd" name="test" uuid="77c453ae-efc0-4975-8123-6f163f6c05c9">
2+
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-21-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-21-0 http://www.eiffel.com/developers/xml/configuration-1-21-0.xsd" name="test" uuid="ed832788-6019-4334-989a-f3710c7d0aff">
33
<target name="test">
44
<root feature="make" class="APPLICATION"/>
55
<file_rule>

coinapi/exchange-rates-api-rest-realtime/sdk/go/api/openapi.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,34 +15,34 @@ security:
1515
- APIKey: []
1616
- JWT: []
1717
tags:
18-
- description: "\n<span data-status-page=\"28924\"></span>\nExchange rate is defined\
18+
- description: "\r\n<span data-status-page=\"28924\"></span>\r\nExchange rate is defined\
1919
\ as (VWAP-24H) last 24 hour (rolling window over time) Volume Weighted Average\
2020
\ Price across multiple data sources listed on our platform. We are selecting\
2121
\ and managing the data sources that are used in the calculation based on multiple\
22-
\ factors to provide data of highest quality. \n\nAlgorithm is described below:\n\
23-
\n 1. Exchange rates are produced from quotes, trades, and metadata datasets.\n\
24-
\ 1. Symbols that are not data_type = \"SPOT\" are excluded from the calculation.\n\
25-
\ 1. Symbols from the data sources that were marked by us as not legitimate are\
26-
\ excluded from the calculation.\n 1. Quotes data where the spread is outside\
22+
\ factors to provide data of highest quality. \r\n\r\nAlgorithm is described below:\r\
23+
\n\r\n 1. Exchange rates are produced from quotes, trades, and metadata datasets.\r\
24+
\n 1. Symbols that are not data_type = \"SPOT\" are excluded from the calculation.\r\
25+
\n 1. Symbols from the data sources that were marked by us as not legitimate\
26+
\ are excluded from the calculation.\r\n 1. Quotes data where the spread is outside\
2727
\ the range of ```<0$; 67%>``` are discarded. `spreadPrc = (ask - bid) / ((ask\
28-
\ + bid) / 2)`\n 1. The midpoint from the quote data is used as a pricing reference\
29-
\ and it's weighted by the passive cumulative volume resting on the best prices.\n\
30-
\ 1. Volume from the trades is used to weight the midpoint prices in the VWAP24\
31-
\ algorithm.\n 1. Midpoint data that has not been updated in the last 5 minutes\
32-
\ and 1 second is discarded.\n 1. The last 24-hour volume for each symbol is\
28+
\ + bid) / 2)`\r\n 1. The midpoint from the quote data is used as a pricing reference\
29+
\ and it's weighted by the passive cumulative volume resting on the best prices.\r\
30+
\n 1. Volume from the trades is used to weight the midpoint prices in the VWAP24\
31+
\ algorithm.\r\n 1. Midpoint data that has not been updated in the last 5 minutes\
32+
\ and 1 second is discarded.\r\n 1. The last 24-hour volume for each symbol is\
3333
\ updated every 4 hours when approximately 20% of the data in the sliding window\
34-
\ changes (also, the list of eligible markets is updated at the same time).\n\
34+
\ changes (also, the list of eligible markets is updated at the same time).\r\n\
3535
\ 1. Everywhere in the algorithm below, we are using asset pairs only from exchanges\
3636
\ that have the highest legitimacy rank, and the rest of the exchanges are discarded.\
3737
\ As we establish the highest-ranking exchanges that have this data for each asset\
3838
\ pair, we ensure that the highest quality data is used for each of them. The\
39-
\ rank used for asset pairing is carried over to the following steps.\n 1. Every\
40-
\ 1 second, we update VWAP24 data for every asset pair across all data sources.\n\
41-
\ 1. For each asset pair, we also discard data that is outside the 3 sigma range\
42-
\ if there are at least 3 exchanges for this asset pair.\n 1. From the VWAP24\
39+
\ rank used for asset pairing is carried over to the following steps.\r\n 1.\
40+
\ Every 1 second, we update VWAP24 data for every asset pair across all data sources.\r\
41+
\n 1. For each asset pair, we also discard data that is outside the 3 sigma range\
42+
\ if there are at least 3 exchanges for this asset pair.\r\n 1. From the VWAP24\
4343
\ data, we are creating a tree structure where node/vertex = asset and edge =\
44-
\ rate.\n 1. By traversing the tree structure using the BFS algorithm and our\
45-
\ secret sauce, we are able to establish the final exchange rates.\n "
44+
\ rate.\r\n 1. By traversing the tree structure using the BFS algorithm and our\
45+
\ secret sauce, we are able to establish the final exchange rates.\r\n "
4646
name: Exchange Rates
4747
- description: <span data-status-page="28923"></span>
4848
name: Metadata
@@ -612,7 +612,7 @@ paths:
612612
examples:
613613
Example response:
614614
value:
615-
time: 2025-09-11T06:06:43.4239322Z
615+
time: 2025-09-12T06:13:09.7718345Z
616616
asset_id_base: BTC
617617
asset_id_quote: USD
618618
rate: 10000.0
@@ -622,7 +622,7 @@ paths:
622622
examples:
623623
Example response:
624624
value:
625-
time: 2025-09-11T06:06:43.4239322Z
625+
time: 2025-09-12T06:13:09.7718345Z
626626
asset_id_base: BTC
627627
asset_id_quote: USD
628628
rate: 10000.0
@@ -632,7 +632,7 @@ paths:
632632
examples:
633633
Example response:
634634
value:
635-
time: 2025-09-11T06:06:43.4239322Z
635+
time: 2025-09-12T06:13:09.7718345Z
636636
asset_id_base: BTC
637637
asset_id_quote: USD
638638
rate: 10000.0
@@ -642,7 +642,7 @@ paths:
642642
examples:
643643
Example response:
644644
value:
645-
time: 2025-09-11T06:06:43.4239322Z
645+
time: 2025-09-12T06:13:09.7718345Z
646646
asset_id_base: BTC
647647
asset_id_quote: USD
648648
rate: 10000.0

coinapi/exchange-rates-api-rest-realtime/sdk/groovy/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This Groovy package, using the [http-builder-ng library](https://http-builder-ng
66

77
- API version: v1
88
- Package version: v1
9-
- Build date: 2025-09-11T06:08:55.849250591Z[Etc/UTC]
9+
- Build date: 2025-09-12T06:13:48.418433313Z[Etc/UTC]
1010
- Generator version: 7.14.0
1111
- Build package: org.openapitools.codegen.languages.GroovyClientCodegen
1212
For more information, please visit [https://www.coinapi.io](https://www.coinapi.io)

0 commit comments

Comments
 (0)