Skip to content

Commit fd05b16

Browse files
committed
update openapi file
1 parent dd9dc93 commit fd05b16

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

finfeedapi/currencies-api-rest-realtime/spec/openapi.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@
794794
"examples": {
795795
"Example response": {
796796
"value": {
797-
"time": "2025-09-11T06:11:43.1030295Z",
797+
"time": "2025-09-12T06:14:49.4885665Z",
798798
"asset_id_base": "BTC",
799799
"asset_id_quote": "USD",
800800
"rate": 10000.0
@@ -809,7 +809,7 @@
809809
"examples": {
810810
"Example response": {
811811
"value": {
812-
"time": "2025-09-11T06:11:43.1030295Z",
812+
"time": "2025-09-12T06:14:49.4885665Z",
813813
"asset_id_base": "BTC",
814814
"asset_id_quote": "USD",
815815
"rate": 10000.0
@@ -824,7 +824,7 @@
824824
"examples": {
825825
"Example response": {
826826
"value": {
827-
"time": "2025-09-11T06:11:43.1030295Z",
827+
"time": "2025-09-12T06:14:49.4885665Z",
828828
"asset_id_base": "BTC",
829829
"asset_id_quote": "USD",
830830
"rate": 10000.0
@@ -839,7 +839,7 @@
839839
"examples": {
840840
"Example response": {
841841
"value": {
842-
"time": "2025-09-11T06:11:43.1030295Z",
842+
"time": "2025-09-12T06:14:49.4885665Z",
843843
"asset_id_base": "BTC",
844844
"asset_id_quote": "USD",
845845
"rate": 10000.0
@@ -1305,7 +1305,7 @@
13051305
"tags": [
13061306
{
13071307
"name": "Exchange Rates",
1308-
"description": "\n<span data-status-page=\"28924\"></span>\nExchange rate is defined as (VWAP-24H) last 24 hour (rolling window over time) Volume Weighted Average Price across multiple data sources listed on our platform. We are selecting and managing the data sources that are used in the calculation based on multiple factors to provide data of highest quality. \n\nAlgorithm is described below:\n\n 1. Exchange rates are produced from quotes, trades, and metadata datasets.\n 1. Symbols that are not data_type = \"SPOT\" are excluded from the calculation.\n 1. Symbols from the data sources that were marked by us as not legitimate are excluded from the calculation.\n 1. Quotes data where the spread is outside the range of ```<0$; 67%>``` are discarded. `spreadPrc = (ask - bid) / ((ask + bid) / 2)`\n 1. The midpoint from the quote data is used as a pricing reference and it's weighted by the passive cumulative volume resting on the best prices.\n 1. Volume from the trades is used to weight the midpoint prices in the VWAP24 algorithm.\n 1. Midpoint data that has not been updated in the last 5 minutes and 1 second is discarded.\n 1. The last 24-hour volume for each symbol is updated every 4 hours when approximately 20% of the data in the sliding window changes (also, the list of eligible markets is updated at the same time).\n 1. Everywhere in the algorithm below, we are using asset pairs only from exchanges that have the highest legitimacy rank, and the rest of the exchanges are discarded. As we establish the highest-ranking exchanges that have this data for each asset pair, we ensure that the highest quality data is used for each of them. The rank used for asset pairing is carried over to the following steps.\n 1. Every 1 second, we update VWAP24 data for every asset pair across all data sources.\n 1. For each asset pair, we also discard data that is outside the 3 sigma range if there are at least 3 exchanges for this asset pair.\n 1. From the VWAP24 data, we are creating a tree structure where node/vertex = asset and edge = rate.\n 1. By traversing the tree structure using the BFS algorithm and our secret sauce, we are able to establish the final exchange rates.\n "
1308+
"description": "\r\n<span data-status-page=\"28924\"></span>\r\nExchange rate is defined as (VWAP-24H) last 24 hour (rolling window over time) Volume Weighted Average Price across multiple data sources listed on our platform. We are selecting and managing the data sources that are used in the calculation based on multiple factors to provide data of highest quality. \r\n\r\nAlgorithm is described below:\r\n\r\n 1. Exchange rates are produced from quotes, trades, and metadata datasets.\r\n 1. Symbols that are not data_type = \"SPOT\" are excluded from the calculation.\r\n 1. Symbols from the data sources that were marked by us as not legitimate are excluded from the calculation.\r\n 1. Quotes data where the spread is outside the range of ```<0$; 67%>``` are discarded. `spreadPrc = (ask - bid) / ((ask + bid) / 2)`\r\n 1. The midpoint from the quote data is used as a pricing reference and it's weighted by the passive cumulative volume resting on the best prices.\r\n 1. Volume from the trades is used to weight the midpoint prices in the VWAP24 algorithm.\r\n 1. Midpoint data that has not been updated in the last 5 minutes and 1 second is discarded.\r\n 1. The last 24-hour volume for each symbol is updated every 4 hours when approximately 20% of the data in the sliding window changes (also, the list of eligible markets is updated at the same time).\r\n 1. Everywhere in the algorithm below, we are using asset pairs only from exchanges that have the highest legitimacy rank, and the rest of the exchanges are discarded. As we establish the highest-ranking exchanges that have this data for each asset pair, we ensure that the highest quality data is used for each of them. The rank used for asset pairing is carried over to the following steps.\r\n 1. Every 1 second, we update VWAP24 data for every asset pair across all data sources.\r\n 1. For each asset pair, we also discard data that is outside the 3 sigma range if there are at least 3 exchanges for this asset pair.\r\n 1. From the VWAP24 data, we are creating a tree structure where node/vertex = asset and edge = rate.\r\n 1. By traversing the tree structure using the BFS algorithm and our secret sauce, we are able to establish the final exchange rates.\r\n "
13091309
},
13101310
{
13111311
"name": "Metadata",

finfeedapi/currencies-api-rest-realtime/spec/openapi.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ paths:
688688
examples:
689689
Example response:
690690
value: {
691-
"time": "2025-09-11T06:11:43.1975559Z",
691+
"time": "2025-09-12T06:14:49.5783793Z",
692692
"asset_id_base": "BTC",
693693
"asset_id_quote": "USD",
694694
"rate": 10000.0
@@ -699,7 +699,7 @@ paths:
699699
examples:
700700
Example response:
701701
value: {
702-
"time": "2025-09-11T06:11:43.1975559Z",
702+
"time": "2025-09-12T06:14:49.5783793Z",
703703
"asset_id_base": "BTC",
704704
"asset_id_quote": "USD",
705705
"rate": 10000.0
@@ -710,7 +710,7 @@ paths:
710710
examples:
711711
Example response:
712712
value: {
713-
"time": "2025-09-11T06:11:43.1975559Z",
713+
"time": "2025-09-12T06:14:49.5783793Z",
714714
"asset_id_base": "BTC",
715715
"asset_id_quote": "USD",
716716
"rate": 10000.0
@@ -721,7 +721,7 @@ paths:
721721
examples:
722722
Example response:
723723
value: {
724-
"time": "2025-09-11T06:11:43.1975559Z",
724+
"time": "2025-09-12T06:14:49.5783793Z",
725725
"asset_id_base": "BTC",
726726
"asset_id_quote": "USD",
727727
"rate": 10000.0
@@ -1085,7 +1085,7 @@ security:
10851085
- JWT: [ ]
10861086
tags:
10871087
- name: Exchange Rates
1088-
description: "\n<span data-status-page=\"28924\"></span>\nExchange rate is defined as (VWAP-24H) last 24 hour (rolling window over time) Volume Weighted Average Price across multiple data sources listed on our platform. We are selecting and managing the data sources that are used in the calculation based on multiple factors to provide data of highest quality. \n\nAlgorithm is described below:\n\n 1. Exchange rates are produced from quotes, trades, and metadata datasets.\n 1. Symbols that are not data_type = \"SPOT\" are excluded from the calculation.\n 1. Symbols from the data sources that were marked by us as not legitimate are excluded from the calculation.\n 1. Quotes data where the spread is outside the range of ```<0$; 67%>``` are discarded. `spreadPrc = (ask - bid) / ((ask + bid) / 2)`\n 1. The midpoint from the quote data is used as a pricing reference and it's weighted by the passive cumulative volume resting on the best prices.\n 1. Volume from the trades is used to weight the midpoint prices in the VWAP24 algorithm.\n 1. Midpoint data that has not been updated in the last 5 minutes and 1 second is discarded.\n 1. The last 24-hour volume for each symbol is updated every 4 hours when approximately 20% of the data in the sliding window changes (also, the list of eligible markets is updated at the same time).\n 1. Everywhere in the algorithm below, we are using asset pairs only from exchanges that have the highest legitimacy rank, and the rest of the exchanges are discarded. As we establish the highest-ranking exchanges that have this data for each asset pair, we ensure that the highest quality data is used for each of them. The rank used for asset pairing is carried over to the following steps.\n 1. Every 1 second, we update VWAP24 data for every asset pair across all data sources.\n 1. For each asset pair, we also discard data that is outside the 3 sigma range if there are at least 3 exchanges for this asset pair.\n 1. From the VWAP24 data, we are creating a tree structure where node/vertex = asset and edge = rate.\n 1. By traversing the tree structure using the BFS algorithm and our secret sauce, we are able to establish the final exchange rates.\n "
1088+
description: "\r\n<span data-status-page=\"28924\"></span>\r\nExchange rate is defined as (VWAP-24H) last 24 hour (rolling window over time) Volume Weighted Average Price across multiple data sources listed on our platform. We are selecting and managing the data sources that are used in the calculation based on multiple factors to provide data of highest quality. \r\n\r\nAlgorithm is described below:\r\n\r\n 1. Exchange rates are produced from quotes, trades, and metadata datasets.\r\n 1. Symbols that are not data_type = \"SPOT\" are excluded from the calculation.\r\n 1. Symbols from the data sources that were marked by us as not legitimate are excluded from the calculation.\r\n 1. Quotes data where the spread is outside the range of ```<0$; 67%>``` are discarded. `spreadPrc = (ask - bid) / ((ask + bid) / 2)`\r\n 1. The midpoint from the quote data is used as a pricing reference and it's weighted by the passive cumulative volume resting on the best prices.\r\n 1. Volume from the trades is used to weight the midpoint prices in the VWAP24 algorithm.\r\n 1. Midpoint data that has not been updated in the last 5 minutes and 1 second is discarded.\r\n 1. The last 24-hour volume for each symbol is updated every 4 hours when approximately 20% of the data in the sliding window changes (also, the list of eligible markets is updated at the same time).\r\n 1. Everywhere in the algorithm below, we are using asset pairs only from exchanges that have the highest legitimacy rank, and the rest of the exchanges are discarded. As we establish the highest-ranking exchanges that have this data for each asset pair, we ensure that the highest quality data is used for each of them. The rank used for asset pairing is carried over to the following steps.\r\n 1. Every 1 second, we update VWAP24 data for every asset pair across all data sources.\r\n 1. For each asset pair, we also discard data that is outside the 3 sigma range if there are at least 3 exchanges for this asset pair.\r\n 1. From the VWAP24 data, we are creating a tree structure where node/vertex = asset and edge = rate.\r\n 1. By traversing the tree structure using the BFS algorithm and our secret sauce, we are able to establish the final exchange rates.\r\n "
10891089
- name: Metadata
10901090
description: <span data-status-page="28923"></span>
10911091
- name: Assets

0 commit comments

Comments
 (0)