-
Notifications
You must be signed in to change notification settings - Fork 81
golang client example for fix protocol #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
golang client example for fix protocol #31
Conversation
5f58313 to
f49b6f4
Compare
f49b6f4 to
509f784
Compare
fix/golang/main.go
Outdated
|
|
||
| try.Trie(awaitLogon(ctx, sessionsCh)). | ||
| Proc(scenario). | ||
| ProcFailure(LogPrintlnErr) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
func программинг) я бы не вставлял в пример клиента на го! чтобы без усилий можно было бы понять что тут происходит
There was a problem hiding this comment.
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)
}|
|
||
| # update go modules | ||
| - package-ecosystem: "gomod" # See documentation for possible values | ||
| directory: "/fix/golang" # Location of package manifests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
круть! а для гитлаб есть подобное? может джоба в ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
я уже задавал этот вопрос, и мне сказали что это не нужно =)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| price = 15899 | ||
| ) | ||
|
|
||
| orderID := strconv.Itoa(int(time.Now().UTC().Unix())) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
для полного списка не хватает отмены ордера, заодно там можно показать что этот orderID (ClOrdId )нужно использовтаь и для его отмены
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
точно! спасибо!

on top of #30
actions temp run: https://github.com/mikhailovavexmocom/exmo_api_lib/actions