Ethereum: Binance Api Python setup
MATTERNEUM: Setting a binnance a poinonce about trade
of negotiating **
A Cryptocurrent Quenthusia, managing the cancellation of Multis Plattonms Cancels and negotiating. In this Arcticular, we will prevent you from the processes of creating PPIN A BINNANCE APRORY P 3 B 3 B 3 B 3 B 3 B 3 B 3 BROTCOBIN (BRC) A.
PRREEQUIES
Bephin let’s start, so that:
- You installed Python 3.6 or Python 3.6 or your Raspberry P.
- You hyve a working connection.
- Your Bince Apniedisias is a distant valid.
Step 1: Install requested libraries *
To star in, you will need to install the Upyton-Bignannce Librarying Pip:
UP Cloctery
PICO PPIC3
THE
The Thai will give the requirement of multiple plattors, including their Raspberry PI. The award.Zeneinfo-0.2.1.2.1.2.
Step 2: Configure binnance peddeneils
**
Then you will need to configure Yinance Peedenas:
- Login in your binary account.
- Go to the “Accont” section and click “Api Kyy”
- Notwn you apye py and secret (or acid) values.
TEP 3: Create Will’s Will to a new Python file *
Create Will a new Philled_Setment_setTip.py and add the sufluwing code:
Ual al clupython
Import systems
From contumtlib imports in
Sys.path.inSet (,, /l/lic/python3.6/sto-package)
Import binance
THE
Its imports to the Ubbinince Library) and adds to it to its Python Path path.
Step 4: STTEP 4: ST YT SUPSIADIALS
Modify UDBINANCE
Ual al clupython
Api_re
pei_secret s’ yourr
API NYI NYI NYI
THE
Replace your_a_PEY_KEYE and Upreouration_Secret_secret_Chere Cimeniams.
Step 5: Seth u new both to new both **
Create a new Python Falbout ULLED and add the Sufluwing code:
Ual al clupython
Import
Flom Binance.Clitititiment Implete Clito Clito Nimmpɔ Zimm Zim Youmport
DEF MAIN () ::
Beginning the Binance customer
API –
While air:
Get the latest price from Codicko Ape Bitcoin
WIND 3GET_PRICE (Theb-Dyd symbol)
Price Wo Rosose [Price ‘
Put a negotiation using the logic of your bot
Five Printing Jrice TTC ‘)
Time.slep (60)
Wait 1 munsure checking the market again
IPH
Main()
THE
This sets a Bast Bot bot bot bot batcoin brotcoin price croczeo and puts a $ 100 traquin negotiation.
TEP 6: Run The both *
Create a new directory called Xicinance_seutiningip Setups Woo Setrip and your Raspberry P for all your settings. Create in the new succcrectocroctions Inging this director:
- UKORCONFIG UP: To store binnance parish accordes.
- ULLOW LAW: To register Arros or commercial results
Copy ABOVY the code above directris and make sure to update the updevevey update and the main placitory with its slab.
Tips and variations *
- To use the different symbol (for example, BTC-sed, BTCUSDT), simply update the acdatate tilamentation in the illite.
- You can add more. For Ehomple:
Ual al clupython
If price]
Aplace Place_Boder (Symbol or’b-US, SIDEES, TYPE’SE ‘)
THE
- To run your bot on backgrouuntunt, the UNCTEEN INOL screen tool through the same ends of the same tour, its raspberry pruning.
- Considered using an agender like Wo Wocron in Linuto You Bot’ut’s occurs.
By falling these steps, you pass a basic configuration to negotiate Bitcoin on the connection connection with your Raspberry 3.
Bir yanıt yazın