Skip to content

Commit effe5c9

Browse files
committed
Auto-generate SDK for CoinAPI Exchange Rates API REST Historical
1 parent f40457a commit effe5c9

29 files changed

+113
-113
lines changed

coinapi/exchange-rates-api-rest-historical/sdk/csharp/APIBricks.CoinAPI.ExchangeRatesAPI.Historical.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.Historical.REST.V1", "src\APIBricks.CoinAPI.ExchangeRatesAPI.Historical.REST.V1\APIBricks.CoinAPI.ExchangeRatesAPI.Historical.REST.V1.csproj", "{91DEF12A-DDED-4885-9CE1-01323D53CE0F}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "APIBricks.CoinAPI.ExchangeRatesAPI.Historical.REST.V1", "src\APIBricks.CoinAPI.ExchangeRatesAPI.Historical.REST.V1\APIBricks.CoinAPI.ExchangeRatesAPI.Historical.REST.V1.csproj", "{D1139B56-C83F-4CE8-8A08-0215158B1D04}"
66
EndProject
77
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "APIBricks.CoinAPI.ExchangeRatesAPI.Historical.REST.V1.Test", "src\APIBricks.CoinAPI.ExchangeRatesAPI.Historical.REST.V1.Test\APIBricks.CoinAPI.ExchangeRatesAPI.Historical.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-
{91DEF12A-DDED-4885-9CE1-01323D53CE0F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16-
{91DEF12A-DDED-4885-9CE1-01323D53CE0F}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{91DEF12A-DDED-4885-9CE1-01323D53CE0F}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{91DEF12A-DDED-4885-9CE1-01323D53CE0F}.Release|Any CPU.Build.0 = Release|Any CPU
15+
{D1139B56-C83F-4CE8-8A08-0215158B1D04}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16+
{D1139B56-C83F-4CE8-8A08-0215158B1D04}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{D1139B56-C83F-4CE8-8A08-0215158B1D04}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{D1139B56-C83F-4CE8-8A08-0215158B1D04}.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-historical/sdk/csharp/api/openapi.yaml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -14,34 +14,34 @@ servers:
1414
security:
1515
- APIKey: []
1616
tags:
17-
- description: "\n<span data-status-page=\"28924\"></span>\nExchange rate is defined\
17+
- description: "\r\n<span data-status-page=\"28924\"></span>\r\nExchange rate is defined\
1818
\ as (VWAP-24H) last 24 hour (rolling window over time) Volume Weighted Average\
1919
\ Price across multiple data sources listed on our platform. We are selecting\
2020
\ and managing the data sources that are used in the calculation based on multiple\
21-
\ factors to provide data of highest quality. \n\nAlgorithm is described below:\n\
22-
\n 1. Exchange rates are produced from quotes, trades, and metadata datasets.\n\
23-
\ 1. Symbols that are not data_type = \"SPOT\" are excluded from the calculation.\n\
24-
\ 1. Symbols from the data sources that were marked by us as not legitimate are\
25-
\ excluded from the calculation.\n 1. Quotes data where the spread is outside\
21+
\ factors to provide data of highest quality. \r\n\r\nAlgorithm is described below:\r\
22+
\n\r\n 1. Exchange rates are produced from quotes, trades, and metadata datasets.\r\
23+
\n 1. Symbols that are not data_type = \"SPOT\" are excluded from the calculation.\r\
24+
\n 1. Symbols from the data sources that were marked by us as not legitimate\
25+
\ are excluded from the calculation.\r\n 1. Quotes data where the spread is outside\
2626
\ the range of ```<0$; 67%>``` are discarded. `spreadPrc = (ask - bid) / ((ask\
27-
\ + bid) / 2)`\n 1. The midpoint from the quote data is used as a pricing reference\
28-
\ and it's weighted by the passive cumulative volume resting on the best prices.\n\
29-
\ 1. Volume from the trades is used to weight the midpoint prices in the VWAP24\
30-
\ algorithm.\n 1. Midpoint data that has not been updated in the last 5 minutes\
31-
\ and 1 second is discarded.\n 1. The last 24-hour volume for each symbol is\
27+
\ + bid) / 2)`\r\n 1. The midpoint from the quote data is used as a pricing reference\
28+
\ and it's weighted by the passive cumulative volume resting on the best prices.\r\
29+
\n 1. Volume from the trades is used to weight the midpoint prices in the VWAP24\
30+
\ algorithm.\r\n 1. Midpoint data that has not been updated in the last 5 minutes\
31+
\ and 1 second is discarded.\r\n 1. The last 24-hour volume for each symbol is\
3232
\ updated every 4 hours when approximately 20% of the data in the sliding window\
33-
\ changes (also, the list of eligible markets is updated at the same time).\n\
33+
\ changes (also, the list of eligible markets is updated at the same time).\r\n\
3434
\ 1. Everywhere in the algorithm below, we are using asset pairs only from exchanges\
3535
\ that have the highest legitimacy rank, and the rest of the exchanges are discarded.\
3636
\ As we establish the highest-ranking exchanges that have this data for each asset\
3737
\ pair, we ensure that the highest quality data is used for each of them. The\
38-
\ rank used for asset pairing is carried over to the following steps.\n 1. Every\
39-
\ 1 second, we update VWAP24 data for every asset pair across all data sources.\n\
40-
\ 1. For each asset pair, we also discard data that is outside the 3 sigma range\
41-
\ if there are at least 3 exchanges for this asset pair.\n 1. From the VWAP24\
38+
\ rank used for asset pairing is carried over to the following steps.\r\n 1.\
39+
\ Every 1 second, we update VWAP24 data for every asset pair across all data sources.\r\
40+
\n 1. For each asset pair, we also discard data that is outside the 3 sigma range\
41+
\ if there are at least 3 exchanges for this asset pair.\r\n 1. From the VWAP24\
4242
\ data, we are creating a tree structure where node/vertex = asset and edge =\
43-
\ rate.\n 1. By traversing the tree structure using the BFS algorithm and our\
44-
\ secret sauce, we are able to establish the final exchange rates.\n "
43+
\ rate.\r\n 1. By traversing the tree structure using the BFS algorithm and our\
44+
\ secret sauce, we are able to establish the final exchange rates.\r\n "
4545
name: Exchange Rates
4646
- description: <span data-status-page="28923"></span>
4747
name: Metadata
@@ -504,7 +504,7 @@ paths:
504504
examples:
505505
Example response:
506506
value:
507-
time: 2025-09-11T06:07:44.6937913Z
507+
time: 2025-09-12T06:08:34.5629547Z
508508
asset_id_base: BTC
509509
asset_id_quote: USD
510510
rate: 10000.0
@@ -514,7 +514,7 @@ paths:
514514
examples:
515515
Example response:
516516
value:
517-
time: 2025-09-11T06:07:44.6937913Z
517+
time: 2025-09-12T06:08:34.5629547Z
518518
asset_id_base: BTC
519519
asset_id_quote: USD
520520
rate: 10000.0
@@ -524,7 +524,7 @@ paths:
524524
examples:
525525
Example response:
526526
value:
527-
time: 2025-09-11T06:07:44.6937913Z
527+
time: 2025-09-12T06:08:34.5629547Z
528528
asset_id_base: BTC
529529
asset_id_quote: USD
530530
rate: 10000.0

coinapi/exchange-rates-api-rest-historical/sdk/csharp/src/APIBricks.CoinAPI.ExchangeRatesAPI.Historical.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: '{91DEF12A-DDED-4885-9CE1-01323D53CE0F}'
14+
packageGuid: '{D1139B56-C83F-4CE8-8A08-0215158B1D04}'
1515

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

coinapi/exchange-rates-api-rest-historical/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="93b3b35b-3509-4147-9f34-432932eb5ab0" 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="e86b8eec-36e2-431f-9453-3258256c533a" library_target="openapi_eiffel_client">
33
<target name="openapi_eiffel_client">
44
<root all_classes="true"/>
55
<file_rule>

coinapi/exchange-rates-api-rest-historical/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="617df97d-1378-4287-a964-a8f2575cbe21">
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="9da41cac-82dc-4571-9351-f3092a0b8ae8">
33
<target name="test">
44
<root feature="make" class="APPLICATION"/>
55
<file_rule>

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

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -14,34 +14,34 @@ servers:
1414
security:
1515
- APIKey: []
1616
tags:
17-
- description: "\n<span data-status-page=\"28924\"></span>\nExchange rate is defined\
17+
- description: "\r\n<span data-status-page=\"28924\"></span>\r\nExchange rate is defined\
1818
\ as (VWAP-24H) last 24 hour (rolling window over time) Volume Weighted Average\
1919
\ Price across multiple data sources listed on our platform. We are selecting\
2020
\ and managing the data sources that are used in the calculation based on multiple\
21-
\ factors to provide data of highest quality. \n\nAlgorithm is described below:\n\
22-
\n 1. Exchange rates are produced from quotes, trades, and metadata datasets.\n\
23-
\ 1. Symbols that are not data_type = \"SPOT\" are excluded from the calculation.\n\
24-
\ 1. Symbols from the data sources that were marked by us as not legitimate are\
25-
\ excluded from the calculation.\n 1. Quotes data where the spread is outside\
21+
\ factors to provide data of highest quality. \r\n\r\nAlgorithm is described below:\r\
22+
\n\r\n 1. Exchange rates are produced from quotes, trades, and metadata datasets.\r\
23+
\n 1. Symbols that are not data_type = \"SPOT\" are excluded from the calculation.\r\
24+
\n 1. Symbols from the data sources that were marked by us as not legitimate\
25+
\ are excluded from the calculation.\r\n 1. Quotes data where the spread is outside\
2626
\ the range of ```<0$; 67%>``` are discarded. `spreadPrc = (ask - bid) / ((ask\
27-
\ + bid) / 2)`\n 1. The midpoint from the quote data is used as a pricing reference\
28-
\ and it's weighted by the passive cumulative volume resting on the best prices.\n\
29-
\ 1. Volume from the trades is used to weight the midpoint prices in the VWAP24\
30-
\ algorithm.\n 1. Midpoint data that has not been updated in the last 5 minutes\
31-
\ and 1 second is discarded.\n 1. The last 24-hour volume for each symbol is\
27+
\ + bid) / 2)`\r\n 1. The midpoint from the quote data is used as a pricing reference\
28+
\ and it's weighted by the passive cumulative volume resting on the best prices.\r\
29+
\n 1. Volume from the trades is used to weight the midpoint prices in the VWAP24\
30+
\ algorithm.\r\n 1. Midpoint data that has not been updated in the last 5 minutes\
31+
\ and 1 second is discarded.\r\n 1. The last 24-hour volume for each symbol is\
3232
\ updated every 4 hours when approximately 20% of the data in the sliding window\
33-
\ changes (also, the list of eligible markets is updated at the same time).\n\
33+
\ changes (also, the list of eligible markets is updated at the same time).\r\n\
3434
\ 1. Everywhere in the algorithm below, we are using asset pairs only from exchanges\
3535
\ that have the highest legitimacy rank, and the rest of the exchanges are discarded.\
3636
\ As we establish the highest-ranking exchanges that have this data for each asset\
3737
\ pair, we ensure that the highest quality data is used for each of them. The\
38-
\ rank used for asset pairing is carried over to the following steps.\n 1. Every\
39-
\ 1 second, we update VWAP24 data for every asset pair across all data sources.\n\
40-
\ 1. For each asset pair, we also discard data that is outside the 3 sigma range\
41-
\ if there are at least 3 exchanges for this asset pair.\n 1. From the VWAP24\
38+
\ rank used for asset pairing is carried over to the following steps.\r\n 1.\
39+
\ Every 1 second, we update VWAP24 data for every asset pair across all data sources.\r\
40+
\n 1. For each asset pair, we also discard data that is outside the 3 sigma range\
41+
\ if there are at least 3 exchanges for this asset pair.\r\n 1. From the VWAP24\
4242
\ data, we are creating a tree structure where node/vertex = asset and edge =\
43-
\ rate.\n 1. By traversing the tree structure using the BFS algorithm and our\
44-
\ secret sauce, we are able to establish the final exchange rates.\n "
43+
\ rate.\r\n 1. By traversing the tree structure using the BFS algorithm and our\
44+
\ secret sauce, we are able to establish the final exchange rates.\r\n "
4545
name: Exchange Rates
4646
- description: <span data-status-page="28923"></span>
4747
name: Metadata
@@ -504,7 +504,7 @@ paths:
504504
examples:
505505
Example response:
506506
value:
507-
time: 2025-09-11T06:07:44.6937913Z
507+
time: 2025-09-12T06:08:34.5629547Z
508508
asset_id_base: BTC
509509
asset_id_quote: USD
510510
rate: 10000.0
@@ -514,7 +514,7 @@ paths:
514514
examples:
515515
Example response:
516516
value:
517-
time: 2025-09-11T06:07:44.6937913Z
517+
time: 2025-09-12T06:08:34.5629547Z
518518
asset_id_base: BTC
519519
asset_id_quote: USD
520520
rate: 10000.0
@@ -524,7 +524,7 @@ paths:
524524
examples:
525525
Example response:
526526
value:
527-
time: 2025-09-11T06:07:44.6937913Z
527+
time: 2025-09-12T06:08:34.5629547Z
528528
asset_id_base: BTC
529529
asset_id_quote: USD
530530
rate: 10000.0

coinapi/exchange-rates-api-rest-historical/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:57.438806905Z[Etc/UTC]
9+
- Build date: 2025-09-12T06:09:25.383994118Z[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)

coinapi/exchange-rates-api-rest-historical/sdk/haskell-http-client/openapi.yaml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -14,34 +14,34 @@ servers:
1414
security:
1515
- APIKey: []
1616
tags:
17-
- description: "\n<span data-status-page=\"28924\"></span>\nExchange rate is defined\
17+
- description: "\r\n<span data-status-page=\"28924\"></span>\r\nExchange rate is defined\
1818
\ as (VWAP-24H) last 24 hour (rolling window over time) Volume Weighted Average\
1919
\ Price across multiple data sources listed on our platform. We are selecting\
2020
\ and managing the data sources that are used in the calculation based on multiple\
21-
\ factors to provide data of highest quality. \n\nAlgorithm is described below:\n\
22-
\n 1. Exchange rates are produced from quotes, trades, and metadata datasets.\n\
23-
\ 1. Symbols that are not data_type = \"SPOT\" are excluded from the calculation.\n\
24-
\ 1. Symbols from the data sources that were marked by us as not legitimate are\
25-
\ excluded from the calculation.\n 1. Quotes data where the spread is outside\
21+
\ factors to provide data of highest quality. \r\n\r\nAlgorithm is described below:\r\
22+
\n\r\n 1. Exchange rates are produced from quotes, trades, and metadata datasets.\r\
23+
\n 1. Symbols that are not data_type = \"SPOT\" are excluded from the calculation.\r\
24+
\n 1. Symbols from the data sources that were marked by us as not legitimate\
25+
\ are excluded from the calculation.\r\n 1. Quotes data where the spread is outside\
2626
\ the range of ```<0$; 67%>``` are discarded. `spreadPrc = (ask - bid) / ((ask\
27-
\ + bid) / 2)`\n 1. The midpoint from the quote data is used as a pricing reference\
28-
\ and it's weighted by the passive cumulative volume resting on the best prices.\n\
29-
\ 1. Volume from the trades is used to weight the midpoint prices in the VWAP24\
30-
\ algorithm.\n 1. Midpoint data that has not been updated in the last 5 minutes\
31-
\ and 1 second is discarded.\n 1. The last 24-hour volume for each symbol is\
27+
\ + bid) / 2)`\r\n 1. The midpoint from the quote data is used as a pricing reference\
28+
\ and it's weighted by the passive cumulative volume resting on the best prices.\r\
29+
\n 1. Volume from the trades is used to weight the midpoint prices in the VWAP24\
30+
\ algorithm.\r\n 1. Midpoint data that has not been updated in the last 5 minutes\
31+
\ and 1 second is discarded.\r\n 1. The last 24-hour volume for each symbol is\
3232
\ updated every 4 hours when approximately 20% of the data in the sliding window\
33-
\ changes (also, the list of eligible markets is updated at the same time).\n\
33+
\ changes (also, the list of eligible markets is updated at the same time).\r\n\
3434
\ 1. Everywhere in the algorithm below, we are using asset pairs only from exchanges\
3535
\ that have the highest legitimacy rank, and the rest of the exchanges are discarded.\
3636
\ As we establish the highest-ranking exchanges that have this data for each asset\
3737
\ pair, we ensure that the highest quality data is used for each of them. The\
38-
\ rank used for asset pairing is carried over to the following steps.\n 1. Every\
39-
\ 1 second, we update VWAP24 data for every asset pair across all data sources.\n\
40-
\ 1. For each asset pair, we also discard data that is outside the 3 sigma range\
41-
\ if there are at least 3 exchanges for this asset pair.\n 1. From the VWAP24\
38+
\ rank used for asset pairing is carried over to the following steps.\r\n 1.\
39+
\ Every 1 second, we update VWAP24 data for every asset pair across all data sources.\r\
40+
\n 1. For each asset pair, we also discard data that is outside the 3 sigma range\
41+
\ if there are at least 3 exchanges for this asset pair.\r\n 1. From the VWAP24\
4242
\ data, we are creating a tree structure where node/vertex = asset and edge =\
43-
\ rate.\n 1. By traversing the tree structure using the BFS algorithm and our\
44-
\ secret sauce, we are able to establish the final exchange rates.\n "
43+
\ rate.\r\n 1. By traversing the tree structure using the BFS algorithm and our\
44+
\ secret sauce, we are able to establish the final exchange rates.\r\n "
4545
name: Exchange Rates
4646
- description: <span data-status-page="28923"></span>
4747
name: Metadata
@@ -504,7 +504,7 @@ paths:
504504
examples:
505505
Example response:
506506
value:
507-
time: 2025-09-11T06:07:44.6937913Z
507+
time: 2025-09-12T06:08:34.5629547Z
508508
asset_id_base: BTC
509509
asset_id_quote: USD
510510
rate: 10000.0
@@ -514,7 +514,7 @@ paths:
514514
examples:
515515
Example response:
516516
value:
517-
time: 2025-09-11T06:07:44.6937913Z
517+
time: 2025-09-12T06:08:34.5629547Z
518518
asset_id_base: BTC
519519
asset_id_quote: USD
520520
rate: 10000.0
@@ -524,7 +524,7 @@ paths:
524524
examples:
525525
Example response:
526526
value:
527-
time: 2025-09-11T06:07:44.6937913Z
527+
time: 2025-09-12T06:08:34.5629547Z
528528
asset_id_base: BTC
529529
asset_id_quote: USD
530530
rate: 10000.0

0 commit comments

Comments
 (0)