> ## Documentation Index
> Fetch the complete documentation index at: https://finance.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Go SDK Quick Start

> Get started with the Aries Go SDK in minutes

## Prerequisites

* Go 1.18 or higher
* Aries API credentials (client ID and client secret)

## Installation

Install the Aries Go SDK using go get:

```bash theme={null}
go get github.com/aries-exchange/go-sdk
```

## Initialize the Client

```go theme={null}
package main

import (
    "fmt"
    "log"
    aries "github.com/aries-exchange/go-sdk"
)

func main() {
    // Initialize the client with your credentials
    client := aries.NewClient(
        aries.WithClientID("your_client_id"),
        aries.WithClientSecret("your_client_secret"),
    )
}
```

## Basic Operations

### Get Account Information

```go theme={null}
// Retrieve user account details
accounts, err := client.Accounts.GetUserAccounts()
if err != nil {
    log.Fatal(err)
}
fmt.Println(accounts)
```

### Place a Market Order

```go theme={null}
// Place a simple market order
order, err := client.Orders.PlaceOrder(&aries.OrderRequest{
    Symbol:    "AAPL",
    Quantity:  10,
    Side:      "buy",
    OrderType: "market",
})
if err != nil {
    log.Fatal(err)
}
fmt.Printf("Order placed: %+v\n", order)
```

### Search for Securities

```go theme={null}
// Search for a security
results, err := client.MarketData.Search("AAPL")
if err != nil {
    log.Fatal(err)
}
fmt.Println(results)
```

## Next Steps

Now that you have the basics working, explore the SDK's capabilities:

* **[Portfolio](/sdks/go/portfolio)** - Manage portfolios and holdings
* **[Markets](/sdks/go/markets)** - Access market data and quotes
* **[Orders](/sdks/go/orders)** - Advanced order management
* **[Account Management](/sdks/go/accounts)** - Detailed account operations

## Additional Resources

* [Full Go SDK Documentation](/sdks/go/overview)
* [API Reference](/api-reference)
* [GitHub Repository](#)
