Skip to main content

Oanda forex candle chart tkinter widget.

Project description

oanda-chart

Oanda forex candle chart tkinter widget.

Warning:

This package does not yet have all its core features, and even its current features might change significantly.

It was uploaded to pypi.org early as an experiment to see if the package could find some "png" after installation...not because it was at all ready.

Some Background

This is being built on top of oanda-candles package which is built on top of the oandaV20 package, which uses the Oanda Restful API.

It provides a tkinter chart widget and associated widgets to select the instrument pair, granularity, and ask/mid/bid.

Version Notes

0.0.4

Overall, I think the core functionality is finally taking shape. Still seriously missing parts, particularly price scale on right and time scale on bottom. And there are no drawing utilities yet. What I am happy with is that panning around and candle display and such feel reasonably comparable to "real" candle charts used by retail brokers. Including niceness users expect without thinking, like scrunching candles with mouse wheel, and the candles following price when panning.

These features are currently working (keep warning in mind, things may change):

  1. Flag Pair Selector built in to standard chart by default
  2. Menu pull down Pair selector also built in.
  3. Granularity pull down as well.
  4. Quote Kind (bid/mid/ask) pull down as well.
  5. Supports making candles fatter or skinnier with mouse wheel.
  6. Supports panning around in two modes--to switch modes double-click.
    1. Price View True: pulls back view up or down to current price and fits the current price action to the view size.
    2. Price View False: user can pan anywhere including above and below prices.
  7. If panned so that latest candles are in view, will check for updated candle data every 2 seconds.
  8. Draws price grid lines behind candles based, but does NOT yet have a price scale telling you what prices they are.
  9. Does NOT yet have a time scale.
  10. Pair, Gran, and QuoteKind Selector classes have a color theme that links them together and they can be linked in theory to different charts. The idea is to allow changing the Pair in one chart change it in others as well. Also for granularity and quote kind. The color will be visible on the widgets so users know which are linked.

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

oanda-chart-0.0.4.tar.gz (175.6 kB view hashes)

Uploaded Source

Built Distribution

oanda_chart-0.0.4-py3-none-any.whl (183.7 kB view hashes)

Uploaded Python 3

Supported by

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