Skip to content

Commit 1403348

Browse files
author
Jesse Thouin
committed
Updated to use v1beta3 version of Alpaca APIs.
1 parent a5638b3 commit 1403348

17 files changed

Lines changed: 42 additions & 212 deletions

File tree

schema_json/endpoint/market_data/crypto/common/enums/exchange.json

Lines changed: 0 additions & 20 deletions
This file was deleted.

schema_json/endpoint/market_data/crypto/historical/bar/crypto_bar.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,8 @@
33
"extends": {
44
"existingJavaType": "net.jacobpeterson.alpaca.model.endpoint.marketdata.common.historical.bar.Bar"
55
},
6-
"title": "See <a href=\"https://alpaca.markets/docs/api-documentation/api-v2/market-data/alpaca-crypto-data/historical/\">Historical Crypto Data</a>.",
6+
"title": "See <a href=\"https://alpaca.markets/docs/api-references/market-data-api/crypto-pricing-data/historical/\">Historical Crypto Data</a>.",
77
"properties": {
8-
"x": {
9-
"existingJavaType": "net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.common.enums.Exchange",
10-
"javaName": "exchange",
11-
"title": "Exchange."
12-
},
138
"v": {
149
"existingJavaType": "java.lang.Double",
1510
"javaName": "volume",

schema_json/endpoint/market_data/crypto/historical/bar/crypto_bars_response.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
{
22
"type": "object",
3-
"title": "See <a href=\"https://alpaca.markets/docs/api-documentation/api-v2/market-data/alpaca-crypto-data/historical/\">Historical Crypto Data</a>.",
3+
"title": "See <a href=\"https://alpaca.markets/docs/api-references/market-data-api/crypto-pricing-data/historical/\">Historical Crypto Data</a>.",
44
"properties": {
55
"bars": {
6-
"existingJavaType": "java.util.ArrayList<net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.bar.CryptoBar>",
6+
"existingJavaType": "java.util.Map<String, java.util.ArrayList<net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.bar.CryptoBar>>",
77
"title": "The {@link java.util.ArrayList} of {@link net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.bar.CryptoBar}s."
88
},
9-
"symbol": {
10-
"existingJavaType": "java.lang.String",
11-
"title": "Symbol that was queried."
12-
},
139
"next_page_token": {
1410
"existingJavaType": "java.lang.String",
1511
"title": "Token that can be used to query the next page."

schema_json/endpoint/market_data/crypto/historical/quote/crypto_quote.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,8 @@
33
"extends": {
44
"existingJavaType": "net.jacobpeterson.alpaca.model.endpoint.marketdata.common.historical.quote.Quote"
55
},
6-
"title": "See <a href=\"https://alpaca.markets/docs/api-documentation/api-v2/market-data/alpaca-crypto-data/historical/\">Historical Crypto Data</a>.",
6+
"title": "See <a href=\"https://alpaca.markets/docs/api-references/market-data-api/crypto-pricing-data/historical/\">Historical Crypto Data</a>.",
77
"properties": {
8-
"x": {
9-
"existingJavaType": "net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.common.enums.Exchange",
10-
"javaName": "exchange",
11-
"title": "Exchange."
12-
},
138
"as": {
149
"existingJavaType": "java.lang.Double",
1510
"javaName": "askSize",

schema_json/endpoint/market_data/crypto/historical/quote/crypto_quotes_response.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
{
22
"type": "object",
3-
"title": "See <a href=\"https://alpaca.markets/docs/api-documentation/api-v2/market-data/alpaca-crypto-data/historical/\">Historical Crypto Data</a>.",
3+
"title": "See <a href=\"https://alpaca.markets/docs/api-references/market-data-api/crypto-pricing-data/historical/\">Historical Crypto Data</a>.",
44
"properties": {
55
"quotes": {
6-
"existingJavaType": "java.util.ArrayList<net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.quote.CryptoQuote>",
6+
"existingJavaType": "java.util.Map<String, java.util.ArrayList<net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.quote.CryptoQuote>>",
77
"title": "The {@link java.util.ArrayList} of {@link net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.quote.CryptoQuote}s."
88
},
9-
"symbol": {
10-
"existingJavaType": "java.lang.String",
11-
"title": "Symbol that was queried."
12-
},
139
"next_page_token": {
1410
"existingJavaType": "java.lang.String",
1511
"title": "Token that can be used to query the next page."

schema_json/endpoint/market_data/crypto/historical/quote/latest_crypto_quote_response.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"type": "object",
3-
"title": "See <a href=\"https://alpaca.markets/docs/api-documentation/api-v2/market-data/alpaca-crypto-data/historical/\">Historical Crypto Data</a>.",
3+
"title": "See <a href=\"https://alpaca.markets/docs/api-references/market-data-api/crypto-pricing-data/historical/\">Historical Crypto Data</a>.",
44
"properties": {
55
"symbol": {
66
"existingJavaType": "java.lang.String",

schema_json/endpoint/market_data/crypto/historical/trade/crypto_trade.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,8 @@
33
"extends": {
44
"existingJavaType": "net.jacobpeterson.alpaca.model.endpoint.marketdata.common.historical.trade.Trade"
55
},
6-
"title": "See <a href=\"https://alpaca.markets/docs/api-documentation/api-v2/market-data/alpaca-crypto-data/historical/\">Historical Crypto Data</a>.",
6+
"title": "See <a href=\"https://alpaca.markets/docs/api-references/market-data-api/crypto-pricing-data/historical/\">Historical Crypto Data</a>.",
77
"properties": {
8-
"x": {
9-
"existingJavaType": "net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.common.enums.Exchange",
10-
"javaName": "exchange",
11-
"title": "Exchange where the trade happened."
12-
},
138
"s": {
149
"existingJavaType": "java.lang.Double",
1510
"javaName": "size",

schema_json/endpoint/market_data/crypto/historical/trade/crypto_trades_response.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
{
22
"type": "object",
3-
"title": "See <a href=\"https://alpaca.markets/docs/api-documentation/api-v2/market-data/alpaca-crypto-data/historical/\">Historical Crypto Data</a>.",
3+
"title": "See <a href=\"https://alpaca.markets/docs/api-references/market-data-api/crypto-pricing-data/historical/\">Historical Crypto Data</a>.",
44
"properties": {
55
"trades": {
6-
"existingJavaType": "java.util.ArrayList<net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.trade.CryptoTrade>",
6+
"existingJavaType": "java.util.Map<String, java.util.ArrayList<net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.trade.CryptoTrade>>",
77
"title": "The {@link java.util.ArrayList} of {@link net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.trade.CryptoTrade}s."
88
},
9-
"symbol": {
10-
"existingJavaType": "java.lang.String",
11-
"title": "Symbol that was queried."
12-
},
139
"next_page_token": {
1410
"existingJavaType": "java.lang.String",
1511
"title": "Token that can be used to query the next page."

schema_json/endpoint/market_data/crypto/historical/trade/latest_crypto_trade_response.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"type": "object",
3-
"title": "See <a href=\"https://alpaca.markets/docs/api-documentation/api-v2/market-data/alpaca-crypto-data/historical/\">Historical Crypto Data</a>.",
3+
"title": "See <a href=\"https://alpaca.markets/docs/api-references/market-data-api/crypto-pricing-data/historical/\">Historical Crypto Data</a>.",
44
"properties": {
55
"symbol": {
66
"existingJavaType": "java.lang.String",

schema_json/endpoint/market_data/crypto/historical/xbbo/xbbo.json

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)