Skip to content

Commit

Permalink
Fix name
Browse files Browse the repository at this point in the history
  • Loading branch information
f0cii committed Dec 22, 2019
1 parent 9df1cfc commit 86150f7
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 18 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018 Sumorf
Copyright (c) 2018 Frankrap

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A real-time quantitative trading platform in Golang.

GoEx https://github.com/nntaoli-project/GoEx

bitmexwrap https://github.com/sumorf/bitmexwrap
bitmexwrap https://github.com/frankrap/bitmexwrap

其中 bitmexwrap 提供了对 BitMEX 交易所的支持,内部集成了 Rest 和 WebSocket 接口

Expand All @@ -27,9 +27,9 @@ import (
"time"

"github.com/nntaoli-project/GoEx"
"github.com/sumorf/goalgo"
"github.com/sumorf/goalgo/algo"
"github.com/sumorf/goalgo/log"
"github.com/frankrap/goalgo"
"github.com/frankrap/goalgo/algo"
"github.com/frankrap/goalgo/log"
)

// SimpleGoExStrategy 简单的GoEx策略
Expand Down Expand Up @@ -73,9 +73,9 @@ package main
import (
"time"

"github.com/sumorf/goalgo"
"github.com/sumorf/goalgo/algo"
"github.com/sumorf/goalgo/log"
"github.com/frankrap/goalgo"
"github.com/frankrap/goalgo/algo"
"github.com/frankrap/goalgo/log"
)

// BitMEXDemoStrategy 示例策略(BitMEX)
Expand Down
6 changes: 3 additions & 3 deletions algo/bitmexrstrategy.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package algo
import (
stdlog "log"

"github.com/sumorf/bitmex-api"
"github.com/sumorf/goalgo"
"github.com/sumorf/goalgo/log"
"github.com/frankrap/bitmex-api"
"github.com/frankrap/goalgo"
"github.com/frankrap/goalgo/log"
)

// BitMEXRStrategy BitMEX策略基类,此版本不启动WS
Expand Down
2 changes: 1 addition & 1 deletion algo/goexstrategy.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package algo
import (
"log"

"github.com/sumorf/goalgo"
"github.com/frankrap/goalgo"

"github.com/nntaoli-project/GoEx"
"github.com/nntaoli-project/GoEx/builder"
Expand Down
2 changes: 1 addition & 1 deletion basestrategy.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"sync"

"github.com/sumorf/goalgo/log"
"github.com/frankrap/goalgo/log"

"runtime/debug"

Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
module github.com/sumorf/goalgo
module github.com/frankrap/goalgo

go 1.13

require (
github.com/Workiva/go-datastructures v1.0.50
github.com/deckarep/golang-set v1.7.1 // indirect
github.com/facebookgo/inject v0.0.0-20180706035515-f23751cae28b
github.com/facebookgo/structtag v0.0.0-20150214074306-217e25fb9691 // indirect
github.com/golang/protobuf v1.3.1
github.com/hashicorp/go-plugin v1.0.0
github.com/nntaoli-project/GoEx v1.0.7
github.com/sirupsen/logrus v1.4.2
github.com/sony/sonyflake v0.0.0-20181109022403-6d5bd6181009
github.com/sumorf/bitmex-api v0.0.0-20191023014259-b2ef40a07dc5
github.com/vmihailenco/msgpack v4.0.4+incompatible
golang.org/x/net v0.0.0-20190420063019-afa5a82059c6
google.golang.org/grpc v1.20.1
)

replace github.com/nntaoli-project/GoEx v1.0.7 => github.com/sumorf/GoEx v0.0.0-20191024031732-875e548a111b
replace github.com/nntaoli-project/GoEx v1.0.7 => github.com/frankrap/GoEx v0.0.0-20191024031732-875e548a111b
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ github.com/facebookgo/inject v0.0.0-20180706035515-f23751cae28b h1:V6c4/dSTNhSaN
github.com/facebookgo/inject v0.0.0-20180706035515-f23751cae28b/go.mod h1:oO8UHw+fDHjDsk4CTy/E96WDzFUYozAtBAaGNoVL0+c=
github.com/facebookgo/structtag v0.0.0-20150214074306-217e25fb9691 h1:KnnwHN59Jxec0htA2pe/i0/WI9vxXLQifdhBrP3lqcQ=
github.com/facebookgo/structtag v0.0.0-20150214074306-217e25fb9691/go.mod h1:sKLL1iua/0etWfo/nPCmyz+v2XDMXy+Ho53W7RAuZNY=
github.com/frankrap/GoEx v0.0.0-20191024031732-875e548a111b/go.mod h1:ZOvrqd2u/Ll1d4N+qkSzfFsnN3cfaQwoZdaCoo0S9DI=
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE=
Expand Down Expand Up @@ -213,6 +214,7 @@ golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5h
golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190419153524-e8e3143a4f4a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190422165155-953cdadca894 h1:Cz4ceDQGXuKRnVBDTS23GTn/pU5OE2C0WrNTOYK1Uuc=
golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
Expand Down
2 changes: 1 addition & 1 deletion grpc_log.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package goalgo
import (
stdlog "log"

"github.com/sumorf/goalgo/log"
"github.com/frankrap/goalgo/log"
)

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

"github.com/hashicorp/go-plugin"
"github.com/sumorf/goalgo/log"
"github.com/frankrap/goalgo/log"
)

func Serve(strategy Strategy) {
Expand Down

0 comments on commit 86150f7

Please sign in to comment.