DEXter

DEXter

  • Docs
  • Examples

›API

Getting Started

  • Introduction

API

  • Alerts gRPC API
  • Data gRPC API

CLI Programs

  • dexter-data
  • dexter
  • alert
  • repl

Data gRPC API

Protocol Documentation

Table of Contents

  • data.proto
    • Candle
    • CandlesRequest
    • CandlesResponse
    • ExchangesRequest
    • ExchangesResponse
    • MarketsRequest
    • MarketsResponse
    • TestRequest
    • TestResponse
- [Data](#dexter.Data)
  • Scalar Value Types

Top

data.proto

Candle

FieldTypeLabelDescription
timestampuint64
odouble
hdouble
ldouble
cdouble
vdouble

CandlesRequest

FieldTypeLabelDescription
exchangestring
marketstring
timeframestring
sincestring
limituint64

CandlesResponse

FieldTypeLabelDescription
candlesCandlerepeated

ExchangesRequest

ExchangesResponse

FieldTypeLabelDescription
exchangesstringrepeated

MarketsRequest

FieldTypeLabelDescription
exchangestring

MarketsResponse

FieldTypeLabelDescription
marketsstringrepeated

TestRequest

FieldTypeLabelDescription
astring

TestResponse

FieldTypeLabelDescription
aint64
bint64

Data

Method NameRequest TypeResponse TypeDescription
SupportedExchangesExchangesRequestExchangesResponse
SupportedMarketsMarketsRequestMarketsResponse
GetCandlesCandlesRequestCandlesResponse
StreamCandlesCandlesRequestCandle stream

Scalar Value Types

.proto TypeNotesC++ TypeJava TypePython Type
doubledoubledoublefloat
floatfloatfloatfloat
int32Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead.int32intint
int64Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead.int64longint/long
uint32Uses variable-length encoding.uint32intint/long
uint64Uses variable-length encoding.uint64longint/long
sint32Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s.int32intint
sint64Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s.int64longint/long
fixed32Always four bytes. More efficient than uint32 if values are often greater than 2^28.uint32intint
fixed64Always eight bytes. More efficient than uint64 if values are often greater than 2^56.uint64longint/long
sfixed32Always four bytes.int32intint
sfixed64Always eight bytes.int64longint/long
boolboolbooleanboolean
stringA string must always contain UTF-8 encoded or 7-bit ASCII text.stringStringstr/unicode
bytesMay contain any arbitrary sequence of bytes.stringByteStringstr
← Alerts gRPC APIdexter-data →
  • Table of Contents
  • data.proto
    • Candle
    • CandlesRequest
    • CandlesResponse
    • ExchangesRequest
    • ExchangesResponse
    • MarketsRequest
    • MarketsResponse
    • TestRequest
    • TestResponse
    • Data
  • Scalar Value Types
DEXter
Docs
ExamplesData API ReferenceAlerts API Reference
Community
Stack OverflowTwitter
More
GitHubStar
Whiteblock Open Source
Copyright © 2019 Whiteblock