https://github.com/kejrak/xtb-client-go
Go Client Library for XTB Trading Platform.
https://github.com/kejrak/xtb-client-go
golang library trading xtb
Last synced: 5 months ago
JSON representation
Go Client Library for XTB Trading Platform.
- Host: GitHub
- URL: https://github.com/kejrak/xtb-client-go
- Owner: kejrak
- License: mit
- Created: 2024-09-15T11:18:27.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-23T17:52:20.000Z (about 1 year ago)
- Last Synced: 2025-03-23T18:34:19.974Z (about 1 year ago)
- Topics: golang, library, trading, xtb
- Language: Go
- Homepage: http://developers.xstore.pro/documentation/
- Size: 36.1 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# XTB - GO CLIENT LIBRARY
## Important Reminder (as of 14 March 2025) !!!
Due to XTB API access being disabled as of 14.03.2025, any code within this project relying on the XTB API will not function as intended.
http://developers.xstore.pro
---
For detailed API documentation and official support, refer to the [XTB API Documentation](http://developers.xstore.pro/documentation/). It provides comprehensive information on how to use the various endpoints, authentication methods, and other advanced features offered by XTB's trading platform.
## Example Usage and Initialization of demo environment
```
c, err := xclient.NewClient("demo", userID, password)
if err != nil {
log.Fatalf("Failed to initialize client: %v", err)
}
defer c.Close()
```
## Disclaimer
This library provides a convenient interface for trading with XTB but use it at your own risk. Automated trading can lead to losses, and markets are inherently volatile. It is recommended that you fully understand how the API works before executing live trades. Always test your strategies thoroughly in demo environments and consult with a financial advisor if needed.
The developers of this library are not responsible for any financial losses or damages that may result from using this software.