futgui icon indicating copy to clipboard operation
futgui copied to clipboard

Enhancement request : Include EA Taxe in sold

Open Mglt-b opened this issue 7 years ago • 3 comments

Hello,

EA Taxe (5%) is not include in the value :

Actually :

Item Sold: Daniele Padelli for 500

Must be :

Item Sold: Daniele Padelli for 500, we win (500*0.95)

Thank you

Like that we can as we want later, calcul how much we really win for each session

Mglt-b avatar Oct 05 '16 07:10 Mglt-b

I think something like that :

Actually : futgui/core/bid.py q.put('%s Item Sold: %s %s for %d\n' % (time.strftime('%Y-%m-%d %H:%M:%S'), asset['Item']['FirstName'], asset['Item']['LastName'], i['currentBid']))

Change : futgui/core/bid.py q.put('%s Item Sold: %s %s for %d . We Win %d*0.95 \n' % (time.strftime('%Y-%m-%d %H:%M:%S'), asset['Item']['FirstName'], asset['Item']['LastName'], i['currentBid'], i['currentBid']))

Mglt-b avatar Oct 05 '16 07:10 Mglt-b

if you want to make the change yourself, the code would actually be

q.put('%s Item Sold: %s %s for %d . We Win %d.\n' % (time.strftime('%Y-%m-%d %H:%M:%S'), asset['Item']['FirstName'], asset['Item']['LastName'], i['currentBid'], i['currentBid'], i['currentBid'], i['currentBid']*0.95))

hunterjm avatar Oct 06 '16 15:10 hunterjm

Ok thx, it will be include ?

we can stock this value to know how much we won for each session ?

Mglt-b avatar Oct 07 '16 12:10 Mglt-b