0.0
No commit activity in last 3 years
No release in over 3 years
Ruby Client for the unofficial DeGiro API - working version with all basic methods
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.12.2
~> 0.51.0

Runtime

 Project Readme

DeGiro

Codacy Badge

A simple Ruby client for DeGiro. Inspired by this javascript client.

DeGiro's API is likely to change in the future and I make no guarantees that I'll be making changes to keep the client up-to-date. Use this software at your own risk!

How to use

Install the gem with gem install degiro. Supported commands are shown below.

require 'degiro'

client = DeGiro::Client.new(login: 'my_login', password: 'my_password')

client.get_orders
client.get_portfolio
client.get_cash_funds
client.get_transactions

id = client.find_products(search_text: 'GOOG').first[:id]
client.find_product_by_id(id: id)

client.create_buy_order(product_id: id, size: 10, price: 1000)
client.create_sell_order(product_id: id, size: 10, price: 1000)

How to build this gem

gem build degiro_client.gemspec  && gem install degiro_client-[version].gem

How to publish this gem

gem push degiro_client-[version].gem