Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ linters-settings:
gofmt:
simplify: true
goimports:
local-prefixes: github.com/quickfixgo/quickfix
local-prefixes: github.com/clear-street/quickfix
dupl:
threshold: 400
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ clean:
rm -rf gen

generate: clean
mkdir -p gen; cd gen; go run ../cmd/generate-fix/generate-fix.go -pkg-root=github.com/quickfixgo/quickfix/gen ../spec/*.xml
mkdir -p gen; cd gen; go run ../cmd/generate-fix/generate-fix.go -pkg-root=github.com/clear-street/quickfix/gen ../spec/*.xml

fmt:
gofmt -l -w -s $(shell find . -type f -name '*.go')
Expand Down Expand Up @@ -65,6 +65,6 @@ test-ci:
go test -v -cover . ./datadictionary ./internal

generate-ci: clean
mkdir -p gen; cd gen; go run ../cmd/generate-fix/generate-fix.go -pkg-root=github.com/quickfixgo/quickfix/gen ../spec/$(shell echo $(FIX_TEST) | tr '[:lower:]' '[:upper:]').xml;
mkdir -p gen; cd gen; go run ../cmd/generate-fix/generate-fix.go -pkg-root=github.com/clear-street/quickfix/gen ../spec/$(shell echo $(FIX_TEST) | tr '[:lower:]' '[:upper:]').xml;

# ---------------------------------------------------------------
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# QuickFIX/Go

[![Build Status](https://github.com/quickfixgo/quickfix/workflows/CI/badge.svg)](https://github.com/quickfixgo/quickfix/actions) [![GoDoc](https://godoc.org/github.com/quickfixgo/quickfix?status.png)](https://godoc.org/github.com/quickfixgo/quickfix) [![Go Report Card](https://goreportcard.com/badge/github.com/quickfixgo/quickfix)](https://goreportcard.com/report/github.com/quickfixgo/quickfix)
[![Build Status](https://github.com/clear-street/quickfix/workflows/CI/badge.svg)](https://github.com/clear-street/quickfix/actions) [![GoDoc](https://godoc.org/github.com/clear-street/quickfix?status.png)](https://godoc.org/github.com/clear-street/quickfix) [![Go Report Card](https://goreportcard.com/badge/github.com/clear-street/quickfix)](https://goreportcard.com/report/github.com/clear-street/quickfix)

Open Source [FIX Protocol](http://www.fixprotocol.org/) library implemented in Go

## About
<p>QuickFIX/Go is a <a href="https://www.fixtrading.org/">FIX Protocol Community</a> implementation for the <a href="https://golang.org">Go programming language</a>.</p>

<ul>
<li>100% free and open source with a liberal <a href="https://github.com/quickfixgo/quickfix/blob/master/LICENSE.txt">license</a></li>
<li>100% free and open source with a liberal <a href="https://github.com/clear-street/quickfix/blob/master/LICENSE.txt">license</a></li>
<li>Supports FIX versions 4.0 - 5.0SP2</li>
<li>Runs on any hardware and operating system supported by Go (1.18+ required)</li>
<li>Spec driven run-time message validation</li>
Expand All @@ -31,21 +31,21 @@ Open Source [FIX Protocol](http://www.fixprotocol.org/) library implemented in G
With [Go module](https://github.com/golang/go/wiki/Modules) support, simply add the following import

```
import "github.com/quickfixgo/quickfix"
import "github.com/clear-street/quickfix"
```

to your code, and then `go [build|run|test]` will automatically fetch the necessary dependencies.

Otherwise, run the following Go command to install the `quickfix` package:

```sh
go get -u github.com/quickfixgo/quickfix
go get -u github.com/clear-street/quickfix
```

## Getting Started

* [QuickFIX User Manual](http://quickfixgo.org/docs)
* [Go API Documentation](https://godoc.org/github.com/quickfixgo/quickfix)
* [Go API Documentation](https://godoc.org/github.com/clear-street/quickfix)
* See [examples](https://github.com/quickfixgo/examples) for some simple examples of using QuickFIX/Go.

## FIX Messaging Model
Expand Down Expand Up @@ -73,7 +73,7 @@ Following installation, `generate-fix` is installed to `$GOPATH/bin/generate-fix
## General Support
<h3>Github Discussions</h3>

<p>Our <a href="https://github.com/quickfixgo/quickfix/discussions/categories/q-a">Github Discussions Board</a> is free, public, and easily searchable. It’s the preferred method of user support from the QuickFIX/Go team.
<p>Our <a href="https://github.com/clear-street/quickfix/discussions/categories/q-a">Github Discussions Board</a> is free, public, and easily searchable. It’s the preferred method of user support from the QuickFIX/Go team.

<p>Please provide as much detail as you can when asking a question, and include relevant configurations and code snippets.</p>

Expand All @@ -87,7 +87,7 @@ Following installation, `generate-fix` is installed to `$GOPATH/bin/generate-fix

<p><strong>Note:</strong> Please do not submit questions or help requests to the issues list. It is for bugs and issues. If you need help, please use the Discussions board as described above and you’ll be able to send your question to the entire community.</p>

<p><a href="https://github.com/quickfixgo/quickfix/issues">GitHub Issues</a></p>
<p><a href="https://github.com/clear-street/quickfix/issues">GitHub Issues</a></p>

<p>Please provide sample code, logs, and a description of the problem when the issue is submitted.</p>

Expand Down Expand Up @@ -149,4 +149,4 @@ make accept

## Licensing

This software is available under the QuickFIX Software License. Please see the [LICENSE.txt](https://github.com/quickfixgo/quickfix/blob/main/LICENSE.txt) for the terms specified by the QuickFIX Software License.
This software is available under the QuickFIX Software License. Please see the [LICENSE.txt](https://github.com/clear-street/quickfix/blob/main/LICENSE.txt) for the terms specified by the QuickFIX Software License.
6 changes: 3 additions & 3 deletions _test/test-server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"os"
"os/signal"

"github.com/quickfixgo/quickfix"
field "github.com/quickfixgo/quickfix/gen/field"
tag "github.com/quickfixgo/quickfix/gen/tag"
"github.com/clear-street/quickfix"
field "github.com/clear-street/quickfix/gen/field"
tag "github.com/clear-street/quickfix/gen/tag"
)

var router *quickfix.MessageRouter = quickfix.NewMessageRouter()
Expand Down
2 changes: 1 addition & 1 deletion accepter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net"
"testing"

"github.com/quickfixgo/quickfix/config"
"github.com/clear-street/quickfix/config"

proxyproto "github.com/armon/go-proxyproto"
"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion acceptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

proxyproto "github.com/armon/go-proxyproto"

"github.com/quickfixgo/quickfix/config"
"github.com/clear-street/quickfix/config"
)

// Acceptor accepts connections from FIX clients and manages the associated sessions.
Expand Down
4 changes: 2 additions & 2 deletions cmd/generate-fix/generate-fix.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"sync"
"text/template"

"github.com/quickfixgo/quickfix/cmd/generate-fix/internal"
"github.com/quickfixgo/quickfix/datadictionary"
"github.com/clear-street/quickfix/cmd/generate-fix/internal"
"github.com/clear-street/quickfix/datadictionary"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions cmd/generate-fix/internal/globals.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"sort"

"github.com/quickfixgo/quickfix/datadictionary"
"github.com/clear-street/quickfix/datadictionary"
)

type fieldTypeMap map[string]*datadictionary.FieldType
Expand All @@ -14,7 +14,7 @@ var (
GlobalFieldTypes []*datadictionary.FieldType
)

//sort fieldtypes by name
// sort fieldtypes by name
type byFieldName []*datadictionary.FieldType

func (n byFieldName) Len() int { return len(n) }
Expand Down
2 changes: 1 addition & 1 deletion cmd/generate-fix/internal/template_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package internal
import (
"fmt"

"github.com/quickfixgo/quickfix/datadictionary"
"github.com/clear-street/quickfix/datadictionary"
)

func checkIfDecimalImportRequiredForFields(fTypes []*datadictionary.FieldType) (ok bool, err error) {
Expand Down
10 changes: 5 additions & 5 deletions cmd/generate-fix/internal/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ import(
{{- end }}


"github.com/quickfixgo/quickfix"
"github.com/clear-street/quickfix"
{{- if checkIfEnumImportRequired .MessageDef}}
"{{ importRootPath }}/enum"
{{- end }}
Expand Down Expand Up @@ -202,7 +202,7 @@ import(
"{{ . }}"
{{- end }}

"github.com/quickfixgo/quickfix"
"github.com/clear-street/quickfix"
{{- if checkIfEnumImportRequired .MessageDef}}
"{{ importRootPath }}/enum"
{{- end }}
Expand Down Expand Up @@ -230,7 +230,7 @@ import(
"{{ . }}"
{{- end }}

"github.com/quickfixgo/quickfix"
"github.com/clear-street/quickfix"
{{- if checkIfEnumImportRequired .MessageDef}}
"{{ importRootPath }}/enum"
{{- end }}
Expand Down Expand Up @@ -297,7 +297,7 @@ func Route(router RouteOut) (string, string, quickfix.MessageRoute) {

TagTemplate = template.Must(template.New("Tag").Parse(`
package tag
import("github.com/quickfixgo/quickfix")
import("github.com/clear-street/quickfix")

const (
{{- range .}}
Expand All @@ -309,7 +309,7 @@ const (
FieldTemplate = template.Must(template.New("Field").Funcs(tmplFuncs).Parse(`
package field
import(
"github.com/quickfixgo/quickfix"
"github.com/clear-street/quickfix"
"{{ importRootPath }}/enum"
"{{ importRootPath }}/tag"
{{ if checkIfDecimalImportRequiredForFields . }} "github.com/shopspring/decimal" {{ end }}
Expand Down
2 changes: 1 addition & 1 deletion datadictionary/component_type_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/stretchr/testify/assert"

"github.com/quickfixgo/quickfix/datadictionary"
"github.com/clear-street/quickfix/datadictionary"
)

func TestNewComponentType(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion datadictionary/field_def_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/stretchr/testify/assert"

"github.com/quickfixgo/quickfix/datadictionary"
"github.com/clear-street/quickfix/datadictionary"
)

func TestNewFieldDef(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion datadictionary/field_type_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/stretchr/testify/assert"

"github.com/quickfixgo/quickfix/datadictionary"
"github.com/clear-street/quickfix/datadictionary"
)

func TestNewFieldType(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion datadictionary/group_field_def_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/stretchr/testify/assert"

"github.com/quickfixgo/quickfix/datadictionary"
"github.com/clear-street/quickfix/datadictionary"
)

func TestNewGroupField(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion datadictionary/message_def_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/stretchr/testify/assert"

"github.com/quickfixgo/quickfix/datadictionary"
"github.com/clear-street/quickfix/datadictionary"
)

func TestNewMessageDef(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion dialer.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"golang.org/x/net/proxy"

"github.com/quickfixgo/quickfix/config"
"github.com/clear-street/quickfix/config"
)

func loadDialerConfig(settings *SessionSettings) (dialer proxy.Dialer, err error) {
Expand Down
2 changes: 1 addition & 1 deletion dialer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/stretchr/testify/suite"

"github.com/quickfixgo/quickfix/config"
"github.com/clear-street/quickfix/config"
)

type DialerTestSuite struct {
Expand Down
2 changes: 1 addition & 1 deletion file_log.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"path"

"github.com/quickfixgo/quickfix/config"
"github.com/clear-street/quickfix/config"
)

type fileLog struct {
Expand Down
2 changes: 1 addition & 1 deletion filestore.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

"github.com/pkg/errors"

"github.com/quickfixgo/quickfix/config"
"github.com/clear-street/quickfix/config"
)

type msgDef struct {
Expand Down
2 changes: 1 addition & 1 deletion fix_utc_timestamp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"github.com/quickfixgo/quickfix"
"github.com/clear-street/quickfix"
)

func TestFIXUTCTimestampWrite(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/quickfixgo/quickfix
module github.com/clear-street/quickfix

go 1.18

Expand Down
2 changes: 1 addition & 1 deletion in_session.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"
"time"

"github.com/quickfixgo/quickfix/internal"
"github.com/clear-street/quickfix/internal"
)

type inSession struct{ loggedOn }
Expand Down
2 changes: 1 addition & 1 deletion in_session_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/stretchr/testify/suite"

"github.com/quickfixgo/quickfix/internal"
"github.com/clear-street/quickfix/internal"
)

type InSessionTestSuite struct {
Expand Down
2 changes: 1 addition & 1 deletion latent_state.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package quickfix

import "github.com/quickfixgo/quickfix/internal"
import "github.com/clear-street/quickfix/internal"

type latentState struct{ inSessionTime }

Expand Down
2 changes: 1 addition & 1 deletion logon_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package quickfix
import (
"bytes"

"github.com/quickfixgo/quickfix/internal"
"github.com/clear-street/quickfix/internal"
)

type logonState struct{ connectedNotLoggedOn }
Expand Down
2 changes: 1 addition & 1 deletion logon_state_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/stretchr/testify/suite"

"github.com/quickfixgo/quickfix/internal"
"github.com/clear-street/quickfix/internal"
)

type LogonStateTestSuite struct {
Expand Down
2 changes: 1 addition & 1 deletion logout_state.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package quickfix

import "github.com/quickfixgo/quickfix/internal"
import "github.com/clear-street/quickfix/internal"

type logoutState struct{ connectedNotLoggedOn }

Expand Down
2 changes: 1 addition & 1 deletion logout_state_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/stretchr/testify/suite"

"github.com/quickfixgo/quickfix/internal"
"github.com/clear-street/quickfix/internal"
)

type LogoutStateTestSuite struct {
Expand Down
2 changes: 1 addition & 1 deletion message.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"math"
"time"

"github.com/quickfixgo/quickfix/datadictionary"
"github.com/clear-street/quickfix/datadictionary"
)

// Header is first section of a FIX Message
Expand Down
2 changes: 1 addition & 1 deletion message_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/stretchr/testify/suite"

"github.com/quickfixgo/quickfix/datadictionary"
"github.com/clear-street/quickfix/datadictionary"
)

func BenchmarkParseMessage(b *testing.B) {
Expand Down
2 changes: 1 addition & 1 deletion mongostore.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"go.mongodb.org/mongo-driver/mongo"
"go.mongodb.org/mongo-driver/mongo/options"

"github.com/quickfixgo/quickfix/config"
"github.com/clear-street/quickfix/config"
)

type mongoStoreFactory struct {
Expand Down
2 changes: 1 addition & 1 deletion not_session_time.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package quickfix

import "github.com/quickfixgo/quickfix/internal"
import "github.com/clear-street/quickfix/internal"

type notSessionTime struct{ latentState }

Expand Down
Loading