Mirexa
← Back to the Mirexa website

Go guide

  • Mirexa Go SDK — client guide
    • 1. Install, and what importing costs
    • 2. The data model
      • Streams
      • Candles and ticks
      • Query results: points, not just candles
    • 3. Connecting
      • Options
      • TLS
      • What a connection gives you
    • 4. Authentication and permissions
      • Getting a token
      • Presenting it
      • Renewal
      • When a token expires mid-session
      • Permissions
    • 5. Writing data
      • 5.1 Live ingest
      • 5.2 Corrections: restating stored bars
      • 5.3 History backfill
      • 5.4 Batching a live feed
      • 5.5 Fire-and-forget as a pipeline
      • 5.6 Backpressure: automatic retry
      • 5.7 Writing a derived stream
    • 6. Reading data
      • 6.1 One range query
      • 6.2 Iterating a range: Rows
      • 6.3 Ticks
      • 6.4 Many queries in one round trip
      • 6.5 Rollups: longer bars at query time
      • 6.6 Only some columns
    • 7. Gaps
      • Gaps are results, not absences
      • What decides the classification
      • Setting the calendar and lineage
      • Gap markers in a query
      • Listing gaps as ranges
      • Filling a gap
      • Auto-fill: candles made up from the neighbours
      • INCOMPLETE marks on derived bars
    • 8. Discovering streams and nodes
      • Listing streams
      • Nodes and node statistics
    • 9. Subscriptions
      • Subscribing
      • Rules
      • A subscription that survives disconnects
    • 10. Resilience: surviving a dead connection
      • Reads retry; writes do not
    • 11. Running against a cluster
    • 12. Measuring the client: Observer
    • 13. Errors
      • Sentinels (use errors.Is)
      • *RemoteError (use errors.As)
    • 14. Concurrency and cancellation
    • 15. Testing your own code: clienttest
    • 16. Defaults at a glance
    • Where to look next
  • What an ack actually promises
    • The two modes
    • What “acked” means, exactly
    • What fire-and-forget means, exactly
    • Backpressure: the one retryable failure
    • The ambiguous failure, stated honestly
      • Recovering from one
    • Batching moves the receipt
    • Subscriptions
    • Limits, plainly
  • Examples
    • The whole loop
    • Rows
    • Multi query
    • Batcher
    • Subscribe
    • Error handling
    • Resilient client
    • Query columns

Go API

  • Package overview
    • What importing this costs
    • Concurrency
    • Subscriptions
    • Durability, stated exactly
    • Cancellation
    • Errors
    • Backpressure
    • Multi-query
    • Resilience
    • Batching
  • API reference
    • Connecting
      • Client
      • Options
      • ResilientClient
      • ResilienceOptions
      • ConnState
      • RetryOptions
    • Writing
      • Durability
      • Ingester
      • Batcher
      • BatchOptions
    • Reading
      • QueryRequest
      • QueryResponse
      • TickResponse
      • QueryStatus
      • CandleRows
      • TickRows
      • QueryStatusError
      • MultiResult
      • MultiQueryResponse
      • MultiQueryResult
      • ColumnSet
      • ColumnBatch
    • Data model
      • StreamID
      • Candle
      • Tick
      • CandlePoint
    • Gaps
      • GapRange
      • GapStatus
      • GapReason
      • FillRefusal
      • Fill-refusal reasons
      • ListGapsRequest
      • ListGapsResponse
      • GapSummary
    • Derived streams and gap repair
      • WriteRoute
      • FillGapRequest
      • FillGapResponse
      • FillMethod
      • AcceptGapRequest
      • AcceptGapResponse
    • Stream metadata
      • StreamMetadata
      • WorkingHours
      • DaySchedule
      • TimeWindow
      • NewTimeWindow
      • TimeOfDay
      • Closure
      • Lineage
      • SourceKind
      • SourceTicks
      • SetStreamMetadataRequest
      • AddStreamClosureRequest
      • RemoveStreamClosureRequest
      • SetStreamLineageRequest
      • LineageHistory
      • LineageHistoryClear
      • StreamMetadataResponse
    • Discovery and permissions
      • ListStreamsRequest
      • ListStreamsResponse
      • Permission bits
      • PermissionNames
      • MaxTokenValidity
    • Subscriptions
      • SubscribeRequest
      • UnsubscribeRequest
      • Subscription
      • Event
      • StreamData
      • ResumingSubscriber
      • ResumeOptions
    • Errors
      • ErrRemote
      • ErrRetriesExhausted
      • ErrAmbiguous
      • ErrClientClosed
      • ErrRequestTimeout
      • ErrCircuitOpen
      • ErrInvalidOptions
      • ErrRedirect
      • ErrSlowConsumer
      • ErrForeignBatch
      • ErrBatcherClosed
      • ErrNoColumns
      • RemoteError
      • ErrorCode
      • Error codes
      • RedirectError
    • Measurement
      • Observer
      • IngestStat
      • StreamStat
      • ConnStat
    • clienttest
      • What it is and is not
      • Fault injection is the point

Python

  • Python client guide
    • Quickstart
    • What the client promises
    • Reference
    • Tokens
    • polars
    • asyncio
    • Reading only some columns
    • Derived streams, rollups and gap repair
    • Stream metadata
    • Clusters
    • Performance
    • Not yet
    • Conformance
    • Development
  • Python API reference
    • Connecting
      • connect()
      • Client
      • connect_async()
      • AsyncClient
    • Data model
      • StreamID
      • Candle
      • Tick
      • CandlePoint
      • parse_timeframe()
      • FIXED_POINT_SCALE
    • Results
      • CandleResult
      • ColumnResult
      • TickResult
      • GapList
      • GapSummary
      • StreamInfo
      • StreamStats
      • NodeInfo
    • Gaps
      • GapRange
      • GapStatus
      • GapReason
      • FillMethod
      • FillGapResponse
    • Stream metadata
      • StreamMetadata
      • WorkingHours
      • DaySchedule
      • TimeWindow
      • Weekday
      • Closure
      • Lineage
      • SourceKind
      • LineageHistory
      • MetadataChange
    • Subscriptions
      • Subscription
      • AsyncSubscription
      • Event
    • Clusters
      • Redirect
      • RedirectLoopError
      • NodeBehindError
      • PartialListingError
    • Permissions
      • PERM_READ_CANDLES
      • PERM_READ_TICKS
      • PERM_WRITE_CANDLES
      • PERM_WRITE_TICKS
      • PERM_LIST_STREAMS
      • PERM_ADMIN_STREAM
      • PERM_ADMIN_CLUSTER
      • DEFAULT_UNAUTHENTICATED_PERMISSIONS
      • PROTOCOL_VERSION
    • Errors
      • MirexaError
      • RemoteError
      • ErrorCode
      • OverloadedError
      • UnauthorizedError
      • SlowConsumerError
      • PartitionUnavailableError
      • RetriesExhaustedError
      • TransportError
      • AmbiguousWriteError
      • ClientClosedError
      • RequestTimeoutError
      • QueryStatusError
      • StreamNotFoundError
      • RedirectError
      • DerivedStreamError
      • WireFormatError
Mirexa
  • Python API reference

Python API reference

Generated from the docstrings of the mirexa package. Everything here is importable from mirexa itself.

  • Connecting
    • connect()
    • Client
    • connect_async()
    • AsyncClient
  • Data model
    • StreamID
    • Candle
    • Tick
    • CandlePoint
    • parse_timeframe()
    • FIXED_POINT_SCALE
  • Results
    • CandleResult
    • ColumnResult
    • TickResult
    • GapList
    • GapSummary
    • StreamInfo
    • StreamStats
    • NodeInfo
  • Gaps
    • GapRange
    • GapStatus
    • GapReason
    • FillMethod
    • FillGapResponse
  • Stream metadata
    • StreamMetadata
    • WorkingHours
    • DaySchedule
    • TimeWindow
    • Weekday
    • Closure
    • Lineage
    • SourceKind
    • LineageHistory
    • MetadataChange
  • Subscriptions
    • Subscription
    • AsyncSubscription
    • Event
  • Clusters
    • Redirect
    • RedirectLoopError
    • NodeBehindError
    • PartialListingError
  • Permissions
    • PERM_READ_CANDLES
    • PERM_READ_TICKS
    • PERM_WRITE_CANDLES
    • PERM_WRITE_TICKS
    • PERM_LIST_STREAMS
    • PERM_ADMIN_STREAM
    • PERM_ADMIN_CLUSTER
    • DEFAULT_UNAUTHENTICATED_PERMISSIONS
    • PROTOCOL_VERSION
  • Errors
    • MirexaError
    • RemoteError
    • ErrorCode
    • OverloadedError
    • UnauthorizedError
    • SlowConsumerError
    • PartitionUnavailableError
    • RetriesExhaustedError
    • TransportError
    • AmbiguousWriteError
    • ClientClosedError
    • RequestTimeoutError
    • QueryStatusError
    • StreamNotFoundError
    • RedirectError
    • DerivedStreamError
    • WireFormatError
Previous Next

© Copyright 2026, Mirexa.

Built with Sphinx using a theme provided by Read the Docs.