Giter Club home page Giter Club logo

php-trader-framework's Introduction

PHPTraderFramework

After my first project Ichimoku Trader Framework, I'm working on some simple useful tools for market analysts and traders.

getrates.php : Get GER30/DAX/DAX30 indice values and store them in a local database, in a file, and prints them on screen.

The first script is relatively easy and get the rates of the GER30 (DAX30 / DAX) indice from FXCM XML provider and prints the rates on the screen and save the rates in a MYSQL database. If you only want to print the values on screen without storing them then you can comment the code specific to the database access (I'll add an option for enabling and disabling the database accesses).

Features :

  • Time between two rates is 1 second.
  • GER30 (DAX30/DAX) rates in this first version.
  • Save data into a local file named "GER30.TXT".
  • Save data in a MySql database.
  • FXCM Provider (Thanks FXCM !).

getrates*.php : Connect to FXCM every 1 second and gets the rates for indice GER30 or pair EURUSD and saves data in the mysql database, and prints data to screen also.

realtimeavg*.php and realtimeavg*eurusd.php : Calculates the average value of all the recorded data for the current day, and compares it to the last known rate. Prints --- or +++ to the screen (relative trend). Works with GER30 and EURUSD for now.

php-trader-framework's People

Contributors

reuniware 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.