Ruby Library for fetching realtime forex quotes.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib
ExampleUsage.rb
LICENSE.md
README.md
forex_quotes.gemspec

README.md

ruby-forex-quotes

ruby-forex-quotes is a Ruby Library for fetching realtime forex quotes

Table of Contents

Requirements

Installation

gem install forex_quotes

Usage

Instantiate the client

#You can get an API key for free at 1forge.com
client = ForexDataClient.new('YOUR_API_KEY')

Get the list of available symbols:

client.getSymbols

Get quotes for specified symbols:

client.getQuotes(["EURUSD", "GBPJPY"])

Convert from one currency to another:

client.convert('EUR', 'USD', 100)

Check if the market is open:

client.getMarketStatus

Check your usage / quota limit:

client.quota

Contributing

Thank you for considering contributing! Any issues, bug fixes, suggestions, improvements or help in any other way is always appreciated. Please feel free to open an issue or create a pull request.

Support and Contact

Please contact me at contact@1forge.com if you have any questions or requests.

License and Terms

This library is provided without warranty under the MIT license.