n-0 / rs-lemon-markets

lemon markets broker community rust api client πŸ‹

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lemon_markets_rs - (community) Rust API client for lemon markets πŸ‹

Having a sunny day and the taste for sweet lemons on your crustacean mind? Wait no longer as here comes the (partly autogenerated) API client of the lemon markets api for Rust. Due to some name clashes the OpenAPI generation of the specification produces funny looking plain text (noncompilable code).

This repository fixes this and improves on some typings. A stubbed support for real time data is written but unusable as the current rust ably sdk does not support ably's real time data feature. There isn't much testing right now and the docs are incomplete and usability is clunky due to autogeneration. Will maybe fixed in the future. If you come from the future with the solution plz open a Pull request!

Rust API client for market_data

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version: 1da2ed0b5fefcf155fa143ba4b81c08c3c1c351c
  • Package version: 1da2ed0b5fefcf155fa143ba4b81c08c3c1c351c
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder in a directory named openapi and add the following to Cargo.toml under [dependencies]:

openapi = { path = "./openapi" }

Documentation for API Endpoints

All URIs are relative to /v1

Class Method HTTP request Description
InstrumentsApi get_instruments_instruments_get GET /instruments/ Get Instruments
OhlcApi ohlc_get_ohlc_d1_get GET /ohlc/d1/ Ohlc Get
OhlcApi ohlc_get_ohlc_h1_get GET /ohlc/h1/ Ohlc Get
OhlcApi ohlc_get_ohlc_m1_get GET /ohlc/m1/ Ohlc Get
QuotesApi get_latest_quote_quotes_latest_get GET /quotes/latest/ Get Latest Quote
QuotesApi get_quotes_quotes_get GET /quotes/ Get Quotes
TradesApi get_latest_trades_trades_latest_get GET /trades/latest/ Get Latest Trades
TradesApi get_trades_trades_get GET /trades/ Get Trades
VenuesApi get_venues_venues_get GET /venues/ Get Venues

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author

n-0 - Niklas Jona Lohmann

Rust API client for trading

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version: b996d5fa9acbe1796d08c2f8360172c63ac713ad
  • Package version: b996d5fa9acbe1796d08c2f8360172c63ac713ad
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder in a directory named openapi and add the following to Cargo.toml under [dependencies]:

openapi = { path = "./openapi" }

Documentation for API Endpoints

All URIs are relative to /v1

Class Method HTTP request Description
AccountApi account_bank_statements_get_account_bankstatements_get GET /account/bankstatements/ Account Bank Statements Get
AccountApi account_documents_get_account_documents_get GET /account/documents/ Account Documents Get
AccountApi account_documents_get_id_account_documents_document_id_get GET /account/documents/{document_id}/ Account Documents Get Id
AccountApi account_get_account_get GET /account/ Account Get
AccountApi account_put_account_put PUT /account/ Account Put
AccountApi account_withdraw_post_account_withdrawals_post POST /account/withdrawals/ Account Withdraw Post
AccountApi account_withdrawals_get_account_withdrawals_get GET /account/withdrawals/ Account Withdrawals Get
OrdersApi order_get_orders_get GET /orders/ Order Get
OrdersApi order_id_activate_post_orders_order_id_activate_post POST /orders/{order_id}/activate/ Order Id Activate Post
OrdersApi order_id_delete_orders_order_id_delete DELETE /orders/{order_id}/ Order Id Delete
OrdersApi order_id_get_orders_order_id_get GET /orders/{order_id}/ Order Id Get
OrdersApi order_post_orders_post POST /orders/ Order Post
PositionsApi positions_get_positions_get GET /positions/ Positions Get
PositionsApi positions_performance_get_positions_performance_get GET /positions/performance/ Positions Performance Get
PositionsApi positions_statements_get_positions_statements_get GET /positions/statements/ Positions Statements Get
UserApi user_get_user_get GET /user/ User Get

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author

n-0 - Niklas Jona Lohmann

About

lemon markets broker community rust api client πŸ‹


Languages

Language:Rust 100.0%