Skip to content
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

Документация на /market/trades, /account/balances #217

Open
aleksxor opened this issue Oct 22, 2021 · 2 comments
Open

Документация на /market/trades, /account/balances #217

aleksxor opened this issue Oct 22, 2021 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@aleksxor
Copy link

Всё что в документации указано как числа на самом деле возращаются в этих двух эндпоинтах строками. Кроме поля order_id в эндпоинте /market/trades. Он действительно возвращается как число.

@aleksxor aleksxor added the documentation Improvements or additions to documentation label Oct 22, 2021
@Nitr Nitr moved this from ICEBOX to To do in Ядро биржи (peatio) Oct 29, 2021
@Nitr
Copy link
Contributor

Nitr commented Dec 8, 2021

я так понимаю тут дело в самом руби.

1.0.as_json => 1.0
1.to_d.as_json => '1.0'

@aleksxor
Copy link
Author

aleksxor commented Dec 8, 2021

вопрос только к документации. то что decimals должны быть представлены строками это понятно

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Development

No branches or pull requests

2 participants