Skip to content

kejrak/xtb-client-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XTB - GO CLIENT LIBRARY

For detailed API documentation and official support, refer to the XTB API 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.