Code Monkey home page Code Monkey logo

dxtrade-python-demo's Introduction

Dxtrade Python Demo

A working demo using dxtrade api, I made this short demo to provide instructions and help people get started re-making my DXTrade api I made in golang, in python. If you need help expanding this or any questions make an issue in the issues tab.

Demo in action

Features

  • Buy: Execute buy orders
  • Sell: Execute sell orders
  • Close: Close specific positions
  • Close All: Close all open positions
  • Get positions: Retrieve information about current positions
  • Login information: Authenticate and access user login details
  • Limit orders: Create pending orders with TP/SL

To-Do List

  • More Currency Pairs: Currently, only us30 is supported. Expand to include more currency pairs.
  • More Methods: As of now, only the features above exist, it is important to implement more in the future like editing existing orders, setting tp/sl, etc
  • Quicker Execution: Implement faster execution using Go routines (low priority)

Contribution

If this project has been helpful, please consider giving it a star. Contributions are welcome through pull requests.

Feel free to contribute by:

  • Adding new features
  • Improving existing functionality
  • Fixing bugs

How to Contribute

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/YourFeature)
  3. Commit your changes (git commit -m 'Add some feature')
  4. Push to the branch (git push origin feature/YourFeature)
  5. Open a pull request

Your contributions are greatly appreciated!


Note: Please make sure to test your changes thoroughly before submitting a pull request.

dxtrade-python-demo's People

Contributors

zleki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

udaydeep1992

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.