GithubHelp home page GithubHelp logo

christianix / go-comdirect Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jsattler/go-comdirect

0.0 0.0 0.0 1.39 MB

Go module and CLI tool to interact with the comdirect REST API

License: Apache License 2.0

Go 100.00%

go-comdirect's Introduction

go-comdirect

version Apache License v2 GitHub go.mod Go version of a Go module

go-comdirect is both a client library and CLI tool to interact with the comdirect REST API.

Additional Notes

  • The library is currently unstable and will change frequently until version 1.0.0 is released
  • Please read the comdirect API documentation prior to using this software
  • Use of this software is at your own risk
  • 10 requests per second are allowed by comdirect
  • 3 invalid TAN validation attempts will cancel the online access

Features

  • Auth: Authenticate and authorize with the comdirect API.
  • Account: Access your account data like balances or transactions.
  • Depot: Access your depot data like balances, positions or transactions.
  • Instrument: Access instrument data by providing a WKN, ISIN or symbol.
  • Order: create, modify and delete orders. In addition, you can query the order book and the status of individual orders, as well as view the display the cost statement for an order. (open #8)
  • Quote: Do live trading and prepare the query of a quote or execute it (open #9).
  • Documents: Access and download Postbox-documents.
  • Reports: Access aggregated reports for multiple of your comdirect products.

Install

Use go get to install the latest version of this library:

$ go get -u github.com/jsattler/go-comdirect

Use go install to install the comdirect CLI tool:

go install github.com/jsattler/go-comdirect/comdirect@main

Quick Start

// omitting error validation, imports and packages

options := &comdirect.AuthOptions{
    Username:     os.Getenv("COMDIRECT_USERNAME"),
    Password:     os.Getenv("COMDIRECT_PASSWORD"),
    ClientId:     os.Getenv("COMDIRECT_CLIENT_ID"),
    ClientSecret: os.Getenv("COMDIRECT_CLIENT_SECRET"),
}

client := comdirect.NewWithAuthOptions(options)

Documentation

You can find detailed documentation

go-comdirect's People

Contributors

jsattler avatar megamorf avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.