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

How to get the trade history with the someone via my uid #1500

Open
z2labplus opened this issue Dec 5, 2024 · 8 comments
Open

How to get the trade history with the someone via my uid #1500

z2labplus opened this issue Dec 5, 2024 · 8 comments
Assignees

Comments

@z2labplus
Copy link

https://www.binance.com/en/my/orders/payment
1733410260553
which function can get this Transaction records
this is someone send the coin to me with my UID

@carlosmiei
Copy link
Collaborator

Hello @z2labplus,

Can you check if get_fiat_payments_history or get_pay_trade_history return it?

@carlosmiei carlosmiei self-assigned this Dec 5, 2024
@z2labplus
Copy link
Author

1733444982607
thanks but not this two function

@carlosmiei
Copy link
Collaborator

@z2labplus Since I don't use that feature I'm not sure which API returns that data

@z2labplus
Copy link
Author

@z2labplus Since I don't use that feature I'm not sure which API returns that data

thanks,if someone send me usdt via my binance uid or email,the fee is 0

@carlosmiei
Copy link
Collaborator

@z2labplus Ok I think i found it, can you try query_universal_transfer_history ?

@z2labplus
Copy link
Author

z2labplus commented Dec 10, 2024

I read the document https://binance-docs.github.io/apidocs/spot/cn/#user_data-14

types = ["MAIN_UMFUTURE","MAIN_CMFUTURE","MAIN_MARGIN","UMFUTURE_MAIN","UMFUTURE_MARGIN","CMFUTURE_MAIN","MARGIN_MAIN","MARGIN_UMFUTURE","MARGIN_CMFUTURE","CMFUTURE_MARGIN","ISOLATEDMARGIN_MARGIN","MARGIN_ISOLATEDMARGIN","ISOLATEDMARGIN_ISOLATEDMARGIN","MAIN_FUNDING","FUNDING_MAIN","FUNDING_UMFUTURE","UMFUTURE_FUNDING","MARGIN_FUNDING","FUNDING_MARGIN","FUNDING_CMFUTURE","CMFUTURE_FUNDING","MAIN_OPTION","OPTION_MAIN","UMFUTURE_OPTION","OPTION_UMFUTURE","MARGIN_OPTION","OPTION_MARGIN","FUNDING_OPTION","OPTION_FUNDING","MAIN_PORTFOLIO_MARGIN","PORTFOLIO_MARGIN_MAIN","MAIN_ISOLATED_MARGIN","ISOLATED_MARGIN_MAIN"]
for i in range(len(types)):
client.query_universal_transfer_history(type=types[i])
I try the function,but don't find it,it is sad!

@carlosmiei
Copy link
Collaborator

@z2labplus How are you calling it? it should work

@z2labplus
Copy link
Author

I want to use api to get the Payment History

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

No branches or pull requests

2 participants