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.
- 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
- 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)
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
- Fork the repository
- Create your feature branch (
git checkout -b feature/YourFeature
) - Commit your changes (
git commit -m 'Add some feature'
) - Push to the branch (
git push origin feature/YourFeature
) - Open a pull request
Your contributions are greatly appreciated!
Note: Please make sure to test your changes thoroughly before submitting a pull request.