Skip to content

Commit 4aab2d5

Browse files
author
Jesse Thouin
committed
Further updates to match v1beta3 crypto APIs.
1 parent 1403348 commit 4aab2d5

11 files changed

Lines changed: 247 additions & 46 deletions

File tree

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/latest_crypto_quote_response.json

Lines changed: 0 additions & 14 deletions
This file was deleted.
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+
"quotes": {
6+
"existingJavaType": "java.util.Map<String, net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.quote.CryptoQuote>",
7+
"title": "The {@link java.util.Map} of {@link net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.quote.CryptoQuote}s."
8+
}
9+
}
10+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"type": "object",
3+
"title": "See <a href=\"https://docs.alpaca.markets/reference/v1beta3cryptosnapshots\">Snapshots</a>.",
4+
"properties": {
5+
"dailyBar": {
6+
"existingJavaType": "net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.bar.CryptoBar",
7+
"javaName": "dailyBar",
8+
"title": "OHLC aggregate of all the trades in a given interval."
9+
},
10+
"latestQuote": {
11+
"existingJavaType": "net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.quote.CryptoQuote",
12+
"javaName": "latestQuote",
13+
"title": "The best bid and ask information for a given security."
14+
},
15+
"latestTrade": {
16+
"existingJavaType": "net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.trade.CryptoTrade",
17+
"javaName": "latestTrade",
18+
"title": "A crypto trade"
19+
},
20+
"minuteBar": {
21+
"existingJavaType": "net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.bar.CryptoBar",
22+
"javaName": "minuteBar",
23+
"title": "OHLC aggregate of all the trades in a given interval."
24+
},
25+
"prevDailyBar": {
26+
"existingJavaType": "net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.bar.CryptoBar",
27+
"javaName": "prevDailyBar",
28+
"title": "OHLC aggregate of all the trades in a given interval."
29+
}
30+
}
31+
}
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+
"snapshots": {
6+
"existingJavaType": "java.util.Map<String, net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.snapshot.CryptoSnapshot>",
7+
"title": "The {@link java.util.Map} of {@link net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.snapshot.CryptoSnapshot}s."
8+
}
9+
}
10+
}

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

Lines changed: 0 additions & 14 deletions
This file was deleted.
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+
"trades": {
6+
"existingJavaType": "java.util.Map<String, net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.trade.CryptoTrade>",
7+
"title": "The {@link java.util.Map} of {@link net.jacobpeterson.alpaca.model.endpoint.marketdata.crypto.historical.trade.CryptoTrade}s."
8+
}
9+
}
10+
}

0 commit comments

Comments
 (0)