TomNeyland / eve-code

Python Utilities for Eve-Online
3 stars 3 forks source link

Tax calculation functions #4

Open TomNeyland opened 11 years ago

TomNeyland commented 11 years ago

Need functions to calculate taxes and broker fees, based on character standings. Need to plan module layout and method signatures for tax functions.

SaiaKhan commented 11 years ago

The formula for the broker fee is: (1 – 0.05 × BrokerRelationsSkillLevel) / (2 ^ (0.1400 × FactionStanding + 0.06000 × CorporationStanding))

The standings mentioned are the characters' standings towards the station owning race/corp. On top of that there is a 1.5% sales tax for all sales which is influenced by the "accounting" skill (additively!) to a minimum of .75%. The broker fee only occurs when using the advanced sales menu (which one wants to use for margin trading in 98% of the cases). Maybe figure out a way to determine if a broker fee was used or not, nitty gritty stuff for the end :P