DEXter

DEXter

  • Docs
  • Examples

›API

Getting Started

  • Introduction

API

  • Alerts gRPC API
  • Data gRPC API

CLI Programs

  • dexter-data
  • dexter
  • alert
  • repl

Alerts gRPC API

Protocol Documentation

Table of Contents

  • alerts.proto
    • Alert

    • DeleteAlertRequest

    • DeleteAlertResponse

    • GetAlertRequest

    • Indicator

    • Line

    • ListAlertsRequest

    • ListAlertsResponse

    • ListIndicatorsRequest

    • ListIndicatorsResponse

    • Webhook

    • Condition

    • Frequency

- [Alerts](#dexter.Alerts)
  • Scalar Value Types

Top

alerts.proto

Alert

FieldTypeLabelDescription
iduint64
external_iduint64
exchangestring
marketstring
timeframestring
line_aLine
conditionCondition
line_bLine
frequencyFrequency
message_bodystring
webhookWebhook

DeleteAlertRequest

FieldTypeLabelDescription
alert_iduint64

DeleteAlertResponse

FieldTypeLabelDescription
alert_iduint64

GetAlertRequest

FieldTypeLabelDescription
alert_iduint64

Indicator

FieldTypeLabelDescription
namestring
inputsstringrepeated
outputsstringrepeated

Line

FieldTypeLabelDescription
namestring
inputsfloatrepeated
outputstring

ListAlertsRequest

FieldTypeLabelDescription
external_iduint64

ListAlertsResponse

FieldTypeLabelDescription
alertsAlertrepeated

ListIndicatorsRequest

ListIndicatorsResponse

FieldTypeLabelDescription
indicatorsIndicatorrepeated

Webhook

FieldTypeLabelDescription
methodstring
urlstring
bodystring

Condition

NameNumberDescription
Crossing0
CrossingUp1
CrossingDown2
GreaterThan3
LessThan4
EnteringChannel5
ExitingChannel6
InsideChannel7
OutsideChannel8
MovingUp9
MovingDown10
MovingUpPercent11
MovingDownPercent12

Frequency

NameNumberDescription
OnlyOnce0
OncePerBar1
OncePerBarClose2
OncePerMinute3

Alerts

Method NameRequest TypeResponse TypeDescription
CreateAlertAlertAlert
ListAlertsListAlertsRequestListAlertsResponse
GetAlertGetAlertRequestAlert
UpdateAlertAlertAlert
DeleteAlertDeleteAlertRequestDeleteAlertResponse
ListIndicatorsListIndicatorsRequestListIndicatorsResponse

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
← IntroductionData gRPC API →
  • Table of Contents
  • alerts.proto
    • Alert
    • DeleteAlertRequest
    • DeleteAlertResponse
    • GetAlertRequest
    • Indicator
    • Line
    • ListAlertsRequest
    • ListAlertsResponse
    • ListIndicatorsRequest
    • ListIndicatorsResponse
    • Webhook
    • Condition
    • Frequency
    • Alerts
  • Scalar Value Types
DEXter
Docs
ExamplesData API ReferenceAlerts API Reference
Community
Stack OverflowTwitter
More
GitHubStar
Whiteblock Open Source
Copyright © 2019 Whiteblock