Skip to main content

OpenAPI definition

Project description

quantitative-trading-python-client

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

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: v0
  • Package version: 1.0.0
  • Generator version: 7.12.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.8+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import quantitative_trading_python_client

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import quantitative_trading_python_client

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import quantitative_trading_python_client
from quantitative_trading_python_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost:8080
# See configuration.py for a list of all supported configuration parameters.
configuration = quantitative_trading_python_client.Configuration(
    host = "http://localhost:8080"
)



# Enter a context with an instance of the API client
with quantitative_trading_python_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = quantitative_trading_python_client.MarketDataControllerApi(api_client)

    try:
        api_response = api_instance.get_stocks()
        print("The response of MarketDataControllerApi->get_stocks:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling MarketDataControllerApi->get_stocks: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost:8080

Class Method HTTP request Description
MarketDataControllerApi get_stocks POST /api/v1/getStocks
PortfolioControllerApi liquidate_portfolio POST /api/v1/liquidatePortfolio
PortfolioControllerApi order_history GET /api/v1/orderHistory
PortfolioControllerApi portfolio_history GET /api/v1/portfolioHistory
PortfolioControllerApi rebalance_portfolio POST /api/v1/rebalancePortfolio

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quantitative_trading_python_client-1.0.0.tar.gz (22.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file quantitative_trading_python_client-1.0.0.tar.gz.

File metadata

File hashes

Hashes for quantitative_trading_python_client-1.0.0.tar.gz
Algorithm Hash digest
SHA256 af60d3ede3a9287ada0c12a4a0da731604df82e2db503c238069e758ba17eac7
MD5 f721fc799804179325145e7c3d09d977
BLAKE2b-256 11c294e82bdf8f48b5a9424a4dc4fd542ce8406997de4859492885a01d7ab207

See more details on using hashes here.

Provenance

The following attestation bundles were made for quantitative_trading_python_client-1.0.0.tar.gz:

Publisher: deploy.yml on fidelcuevas/quantitative-trading-python-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file quantitative_trading_python_client-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for quantitative_trading_python_client-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 01ee7c43f96fe6bf512f37896cc28fd589c05e0f7487c7983725d1f2d5c16f07
MD5 8d7331d648689b52a30d5c1973b5d54d
BLAKE2b-256 436995bfb0da846eb46abffeb1309e5f115551b59964a9ab410075b269f8e4e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for quantitative_trading_python_client-1.0.0-py3-none-any.whl:

Publisher: deploy.yml on fidelcuevas/quantitative-trading-python-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page