DxTrade-Api-Go
DxTrade-Api-Go copied to clipboard
API for dxtrade that can be used with all golang applications to open, close, and manage positions with your dxtrade account. It works with all prop firms or companies that use dxtrade
~~Currently unusable due to cloudflare being added overnight fix underway (check other branch)~~
Issue fixed with cloudflare but requires an api key from ZenRows
Dxtrade API
The FIRST (usable) API for Dxtrade
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
To-Do List
- [x] 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
- 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.