Skip to content

golang client example for fix protocol#31

Open
mikhailovavexmocom wants to merge 3 commits into
exmo-dev:masterfrom
mikhailovavexmocom:feature/fix.go
Open

golang client example for fix protocol#31
mikhailovavexmocom wants to merge 3 commits into
exmo-dev:masterfrom
mikhailovavexmocom:feature/fix.go

Conversation

@mikhailovavexmocom

@mikhailovavexmocom mikhailovavexmocom commented Dec 7, 2022

Copy link
Copy Markdown

@mikhailovavexmocom mikhailovavexmocom force-pushed the feature/fix.go branch 29 times, most recently from 5f58313 to f49b6f4 Compare December 12, 2022 12:07
Comment thread fix/golang/main.go Outdated

try.Trie(awaitLogon(ctx, sessionsCh)).
Proc(scenario).
ProcFailure(LogPrintlnErr)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

func программинг) я бы не вставлял в пример клиента на го! чтобы без усилий можно было бы понять что тут происходит

@mikhailovavexmocom mikhailovavexmocom Dec 15, 2022

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

окей, поправлю
для сравнения

		session, err := awaitLogon(ctx, sessionsCh)
		if err != nil {
			log.Println(err)
			return
		}
		err = scenario(session)
		if err != nil {
			log.Println(err)
		}

Comment thread .github/dependabot.yml

# update go modules
- package-ecosystem: "gomod" # See documentation for possible values
directory: "/fix/golang" # Location of package manifests

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

круть! а для гитлаб есть подобное? может джоба в ci

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

я уже задавал этот вопрос, и мне сказали что это не нужно =)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vs-code умеет, кстати
image

Comment thread fix/golang/scenario.go
price = 15899
)

orderID := strconv.Itoa(int(time.Now().UTC().Unix()))

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

для полного списка не хватает отмены ордера, заодно там можно показать что этот orderID (ClOrdId )нужно использовтаь и для его отмены

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

точно! спасибо!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants