Skip to content

Commit 04f0e38

Browse files
authored
Merge pull request #137 from jessethouin/crypto_v1beta3
Crypto v1beta3
2 parents 0576b25 + 9d253ff commit 04f0e38

32 files changed

Lines changed: 360 additions & 391 deletions

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."
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"type": "object",
3+
"title": "See <a href=\"https://alpaca.markets/docs/api-references/market-data-api/crypto-pricing-data/historical/\">Historical Crypto Data</a>.",
4+
"properties": {
5+
"bars": {
6+
"existingJavaType": "java.util.Map<String, net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.bar.CryptoBar>",
7+
"title": "The {@link java.util.Map} of {@link net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.bar.CryptoBar}s."
8+
}
9+
}
10+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"type": "object",
3+
"title": "See <a href=\"https://docs.alpaca.markets/reference/v1beta3cryptolatestorderbooks\">Latest Orderbook</a>.",
4+
"properties": {
5+
"t": {
6+
"existingJavaType": "java.time.ZonedDateTime",
7+
"javaName": "timestamp",
8+
"title": "Timestamp in RFC-3339 format with nanosecond precision."
9+
},
10+
"b": {
11+
"existingJavaType": "java.util.ArrayList<net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.orderbook.CryptoOrderbookEntry>",
12+
"javaName": "bidSide",
13+
"title": "An {@link java.util.ArrayList} of {@link net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.orderbook.CryptoOrderbookEntry}s for the buy/bid side."
14+
},
15+
"a": {
16+
"existingJavaType": "java.util.ArrayList<net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.orderbook.CryptoOrderbookEntry>",
17+
"javaName": "askSide",
18+
"title": "An {@link java.util.ArrayList} of {@link net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.orderbook.CryptoOrderbookEntry}s for the ask/sell side."
19+
}
20+
}
21+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"type": "object",
3+
"title": "See <a href=\"https://docs.alpaca.markets/reference/v1beta3cryptolatestorderbooks\">Latest Orderbook</a>.",
4+
"properties": {
5+
"p": {
6+
"existingJavaType": "java.lang.Double",
7+
"javaName": "price",
8+
"title": "Price."
9+
},
10+
"s": {
11+
"existingJavaType": "java.lang.Double",
12+
"javaName": "size",
13+
"title": "Size."
14+
}
15+
}
16+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"type": "object",
3+
"title": "See <a href=\"https://alpaca.markets/docs/api-references/market-data-api/crypto-pricing-data/historical/\">Historical Crypto Data</a>.",
4+
"properties": {
5+
"orderbooks": {
6+
"existingJavaType": "java.util.Map<String, net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.orderbook.CryptoOrderbook>",
7+
"title": "The {@link java.util.Map} of {@link net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.orderbook.CryptoOrderbook}s."
8+
}
9+
}
10+
}

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: 0 additions & 18 deletions
This file was deleted.

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

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

0 commit comments

Comments
 (0)