Ver Fonte

modification

remy há 10 anos atrás
pai
commit
44185c78d2
3 ficheiros alterados com 2 adições e 3 exclusões
  1. 0 1
      Documents/.~lock.tableau.ods#
  2. BIN
      Documents/tableau.ods
  3. 2 2
      Src/test.py

+ 0 - 1
Documents/.~lock.tableau.ods#

@@ -1 +0,0 @@
-,rcluze,PC-ANGELIQUE1,12.07.2016 14:19,file:///home/rcluze/.config/libreoffice/4;

BIN
Documents/tableau.ods


+ 2 - 2
Src/test.py

@@ -37,7 +37,7 @@ class AchatVente(Thread):
 					gain=gain+valeur[i].Vente()
 					print ("Gain Total: "+ str(gain)+ " en " + str(time.time()-tempsdepart) + "s")
 				if valeur[i].getMise()==0:
-					valeur[i].Achat(25)
+					valeur[i].Achat(250)
 			time.sleep(00.001)
 			i=i+1
 			if i>39:
@@ -55,7 +55,7 @@ class Scan(Thread):
 			with verrou:
 				tmp=valeur[i].getNewTaux()- valeur[i].getTaux()
 				
-				if tmp > 0.02:
+				if tmp > 0.5:
 					valeur[i].MiseEnVente()
 			time.sleep(0.4)
 			i=i+1