GithubHelp home page GithubHelp logo

ervelasco12 / darwinex_data Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 45 KB

Download Darwinex FTP darwins data

License: MIT License

Python 12.70% Jupyter Notebook 87.30%
darwinex download finance ftp python python3 jupyter-notebook darwin

darwinex_data's Introduction

darwinex-data

This is a Python package to download historical quotes data of Darwinex darwins.

The darwins quotes available on the Darwinex FTP server are at a resolution of seconds.

Quotes data are returned as a Pandas dataframe. There can be stored as a pickle file and resumed later.

Other types of darwin data are available at the FTP server, including time series and statistics which support the data and graphs shown on the DARWIN page. It is foreseen to include their download in next releases.

Requirements

Pandas is required to execute the notebook.

Usage

Together with your Darwinex user, you will need to request your Darwinex FTP access password at REQUEST FTP ACCESS

Open the darwinex_data.ipynb notebook and execute it step by step.

  • Indicate your Darwinex username and FTP password
  • Start by connecting to the Darwinex FTP server
  • Get a list of available darwins, if you are unsure which ones to download
  • For a specific list of darwins, get the available dates of quotes data to download. A given darwin may have more history available on Darwinex
  • Download darwin quotes, for a specific list of darwins, and a specific start and end period. Notice that the amount of data to download is huge, so you may want to filter it
  • Indicate a path if you want to store the data as each darwin quotes are downloaded. It allows you to resume the dowloading process later, merging the newly downloading data with the existing one
  • Possibility to resample the data before storing it, indicating a Pandas rule frequency such as 'B'. You may want to reduce the stored data size if you don't need to work with a frequency of seconds
  • Close the connection to the Darwinex FTP server
  • Load the downloaded pickle data to work with it

Remarks:

  • There are gaps in the darwins available quotes. These are kept as NAN in the Pandas dataframe, letting the user to check them before filling, for instance, with previous values
  • Usually, each darwin has its historical data adjusted to VAR (Value At Risk) of 6.5%. It was established by Darwinex in may 2020. Before, the darwins had a VAR adjustment of 10%. These former var10 data is also available and can be optionally downloaded

Contributing

If you find a bug or have an idea for a new feature, feel free to open an issue or submit a pull request. Please follow the contributing guidelines.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

Contact

If you have any questions or comments about this project, you can reach me at [email protected]

darwinex_data's People

Contributors

ervelasco12 avatar

Watchers

 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.