User Tools

Site Tools


Translations of this page:

Sidebar

Documentation index

en:trade_formula

Trade Formula

Trade Formula – a formula used by script to calculate priority of each trade. Higher priority means more hits to this trader. Simplified view is presented by classic formula

TOTAL_OWED*0.3 + 
HOUR_OWED*0.3 +
HOUR_HITS*0 + 
HOUR_TRADE_PROD*0+
HOUR_PROD*0 + 
TOTAL_HITS*0 + 
TOTAL_TRADE_PROD*0+
TOTAL_PROD*0 +
TOTAL_OUT2CLICK*0 + 
HOUR_OUT2CLICK*0 + 
TOTAL_RELOWN*0.6 + 
HOUR_RELOWN*0  

0.3, 0.6 and so are weight parameters that define impotance of each number. In this example HOUR_OWED (hourly owed) 2 times less important then TOTAL_RELOWN (total relative own).

Here is some formulas offered by our users:

1; $_POST[priority] = @round( ($d['day']['ctd']+$d['day']['cud'])/$d['day']['od']* $d['trat'] / 100);
@round( ($d['day']['rd'] * $d['trat']) / ($d['day']['od']+1) * 100)
1; $_POST[priority] = round ( (( ( ($d['day']['thishourct']+$d['day']['thishourcu'])/($d['day']['thishouro']+1)*100)/3) // 3 - hour weight
+((($d['day']['ctd']+$d['day']['cud'])/($d['day']['od']+1)*100)/2)) // 2 - day weight
*pow(round((($d['day']['last_click'])/($d['day']['od']+1))*100)/100,1) ); // 1 click again weight
1; if ( ( ( ($d['day']['thishourct']+$d['day']['thishourcu']) / ($d['day']['thishouro']+1)*100)/3)      
+ (( ($d['day']['ctd']+$d['day']['cud']) / ($d['day']['od']+1)*100)/2)  > 900) {            
   $_POST[priority] = (($d['day']['rd'] * 900)/($d['day']['od']+1));                
} else {
   $_POST[priority] = round ( (((($d['day']['thishourct']+$d['day']['thishourcu'])/($d['day']['thishouro']+1)*100)/3)
   +((($d['day']['ctd']+$d['day']['cud'])/($d['day']['od']+1)*100)/2)) );       
}
en/trade_formula.txt · Last modified: 2014/01/29 18:32 (external edit)