So we can subscribe to depth for "FTX Options" or "FTX BTC Futures", rather than having to list each security explicitly. This commit also unhooks binance from MarketDataGateway. A new paradigm is emerging with the FTX impl, and it'll be easier to redo Binance than try to make the existing impl fit the new mold. Unfortunately, ccapi doesn't provide all the security metadata we need, such as the security type and expiration date/time, so we get the list of FTX securities directly from the exchange.
17 lines
358 B
Protocol Buffer
17 lines
358 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
import "lib/api/md/FTXMarketDataConfig.proto";
|
|
import "lib/api/md/BinanceMarketDataConfig.proto";
|
|
|
|
option csharp_namespace = "bts.api.md";
|
|
option cc_enable_arenas = true;
|
|
|
|
package bts.api.md;
|
|
|
|
message MarketDataConfig {
|
|
oneof venue {
|
|
bts.api.md.FTXMarketDataConfig ftx = 1;
|
|
bts.api.md.BinanceMarketDataConfig binance = 2;
|
|
}
|
|
}
|