Visualizzazione post con etichetta variabili. Mostra tutti i post
Visualizzazione post con etichetta variabili. Mostra tutti i post

giovedì 9 aprile 2020

PYTHON API BINANCE - IA - PIVOT POINT AUTOMATIC -

BOT trading for crypto currencies based on Binance API. The pivot point is automatically calculated on the last important candle of the selected time frame, over the chosen days. The candle is selected based on its amplitude and volume. The results are printed on the monitor and on a graph.


BOT di trading per crypto valute basato su Binance API. Il pivot point viene calcolato in automatico sull'ultima candela importante del time frame selezionato, nell'arco dei giorni scelti. La candela viene selezionata in base all'ampiezza e il volume. I risultati sono stampati a monitor e su grafico.


You can download the zip of the executable file on windows from this link
Puoi scaricare lo zip del file eseguibile su windows da questo link:  Pivot Calc






martedì 31 marzo 2020

PYTHON LE BASI

''' CON # commento UNA SOLA RIGA CON LE TRE VIRGOLETTE
APRO I COMMENTI E LI CHIUDO SU MULTI LINEA
'''

a=5 #integer
b='6' #stringa
c=a+int(b) #trasformo la stringa b in numero integer
#posso stampare a video così
print (str(a)+" + "+ b +" = "+str(c))
#oppure così
print(a," + " + b + " = ",c)
#se faccio questo assegnamento
d=a," + " + b + " = ",c
print (d)
#ottengo una lista
print (d[0])
print (d[1]) #guarda bene questo
print (d[2])
#ma se faccio questo assegnamento
d=str(a)+" + "+ b +" = "+str(c)
print (d)
#ottengo una stringa
str(variabile) trasforma da numero a stringa int(variabile) trasforma la stringa in valore integer float(variabile) trasforma la stringa in valore con virgola mobile