topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday December 3, 2024, 12:07 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: NANY 2023: Binance Test App  (Read 5324 times)

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 11,190
    • View Profile
    • Donate to Member
NANY 2023: Binance Test App
« on: January 01, 2023, 11:00 PM »
NANY 2023 Entry Information

Application Name Binance Test App
Short Description This utility is a start to satisfying a coding request for a Binance Notifier - testing the API. It allows you to see your balances, see all ticker prices, and query your orders
Supported OSes Any Windows version that supports .NET Framework 4.8 (tested on Windows 10/11)
Web Page to be added
Download Linkhttps://keybase.pub/...e/BinanceTestApp.zip
System Requirements.NET 4.8
Authorwraith808



Description
I started working on a tray notifier for Binance, but have been unable to test it as I've been unable to verify. I didn't want to release that without testing, so am releasing my initial POC app in its stead.

You will have to sign up for Binance, and get an API Id and secret key in order to use it. The application will also ask you for the API url - https://api.binance.us for US clients.

Installation
Unzip to the place of your choosing. If you want to make it completely portable, then you will need to add a BinanceTestTool.config text file, otherwise it will create it in the AppData folder.

Run BinanceTrayTool.exe (it's still named for the app it will hopefully one day be)


Uninstall

Remove the files! Other than the possible config file in the Appdata folder, it will make no other changes to your system.

Screenshots and Minimal Instructions

binance_Main_Screen.jpg
This is the main screen you will be presented with. Press the settings button to start


binance_Settings.jpg
In this screen you will enter your API Key, Secret Key and Endpoint

binance_in_Action.jpg

Then you should be able to use the functionality!
« Last Edit: January 01, 2023, 11:10 PM by wraith808 »

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 11,190
    • View Profile
    • Donate to Member
Re: NANY 2023: Binance Test App
« Reply #1 on: January 02, 2023, 08:06 PM »
I just saw Skwire's response to his IMPI tool, and I was remiss and will be adding encryption to the secret key at rest.

c-sanchez

  • Participant
  • Joined in 2018
  • *
  • default avatar
  • Posts: 46
    • View Profile
    • Donate to Member
Re: NANY 2023: Binance Test App
« Reply #2 on: February 10, 2023, 04:25 PM »
Hahahaha oh my gosh, thanks for doing it!
I just came to the forum looking for something else and I didn't remember this, I saw by chance the topic "binance" and I came in out of curiosity haha

I'm going to try it and I'll let you know :)
« Last Edit: February 10, 2023, 08:12 PM by c-sanchez »

c-sanchez

  • Participant
  • Joined in 2018
  • *
  • default avatar
  • Posts: 46
    • View Profile
    • Donate to Member
Re: NANY 2023: Binance Test App
« Reply #3 on: February 10, 2023, 04:32 PM »
By the way, after some searching I had been able to contact someone who did what I needed for the notifications, the bot sends them using telegram.
https://github.com/P...p-order-notification

If you can make the program do it without more than the api key and secret key it would be good.

c-sanchez

  • Participant
  • Joined in 2018
  • *
  • default avatar
  • Posts: 46
    • View Profile
    • Donate to Member
Re: NANY 2023: Binance Test App
« Reply #4 on: February 10, 2023, 08:22 PM »
* The program crashes opening the settings window twice.

* I can't get the list of all the orders or the balance, it tells me:
Api Error Code: -1021 Message: Timestamp for this request is outside of the recvWindow.

endpoint url used: https://api.binance.com



* program crashes creating the BinanceTestTool.config file
« Last Edit: February 11, 2023, 09:04 AM by c-sanchez »

c-sanchez

  • Participant
  • Joined in 2018
  • *
  • default avatar
  • Posts: 46
    • View Profile
    • Donate to Member
Re: NANY 2023: Binance Test App
« Reply #5 on: February 20, 2023, 08:02 AM »
Hi @wraith808, some new about this?

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 11,190
    • View Profile
    • Donate to Member
Re: NANY 2023: Binance Test App
« Reply #6 on: March 10, 2023, 10:18 AM »
Sorry, between work and RL stuff going on, haven't had a chance. I'll get to it ASAP.