![]() ![]() Regardless the strategy to buy highest value item and sell as close as posible to exchange to similar value item is the correct one. while the trader tool shows them group by region which may comprised multiple county.ĭuring the check i was making I also realized that the formula to compute the RangPct implies that the High value intem drop in price over distance quickly (low Rangepct) compare to low price item that do gain more on long run with distance. I don´t see also in the API the info on the area of the good. I need this to check the center of gravity (x,z) of source of the product. I have been stuck a bit as have not figure out yet how to build the list of port where each item is availble using the API ressource and port and the nation, boolean ,capital, county and likely other stuff . The European good ( which are high value and a priority for trade capital to county) seemed to be computed from the nearest capital. The coeff 0.978 was specific to good from Fort Royal and I used as reference distance Fort Royal itself. It´s also possible that to get the correct distance to a port we need to use as source the weighted position where that particular item is dropped.(as the buying price is the same) but the port have diferrent distance (x,z) to the selling port. Since then I have advance a bit in getting workable info from the API to verify it but not yet finish. the correlation I got was quite good but limited to item drop in the Fort Royal area. Regarding the price formula, i cannot confirm yet that this factor should be added. įor now I have by resource 'BasePrice','RangePct', port to port distance (from position.(x.z)) extracted from the API (throuh a convoluted Notepad++/ excel Mid, search, Vlook function to parse the Json line) until I move to incorporate Json import in VBA to fill the tables. So no experience in linux , WEB coding JSON, Java Script php ( although a little bit in power script to dowload selecting morning Radio podcast).Only exposure to this web environment code has been a couple of day reading those post on the use of API naval action JSON file!. Started learning code in 1973 ( IBM 370 ).punching card and some VB terminal.therefore "older" "engine" coder for industry simulator/ enginnering application (no so much user interface excpet with VB6) with Fortran, ADA. the goal is to identify route /port where its better to keep High value than to exchange to a lower value good.įYI: my personal Context/Experience with this. It is always more beneficial to exchange for new high value, but there are cases where even if the new resource is cheaper than the one on board it still may be advantageous to exchange the higher price value on board for the new cheaper on. Once one has a couple of million one can buy anything in any port to fully stock 3 indiamans ( Except room for 300 on main ship to keep fishing bottle ! never know what one can catch.)Ĭonsequently, I'm trying to do some app (in xls at the moment ) to optimize trading using the API data by comparing long distance trade of single item to multiple short distance exhanging goodalong a close quasi linear route ( so the total trip distance is similar thus sail time similar) : some hand check seems to indicate that multiple short distance trading exchange from county to county canbe more advantageaous in total Net/distance. I saw in that you have trade route to optimize the most profitable item and port: It highlight low price item as they have high 'RangePct' value but that is not the way to get the maximum absolute revenue which is what we need to increase the bank account. ![]() In addition there is also a good correlation between 'BasePrice' and 'RangePct' omitting few anomalies on special goods (some unused). SellPrice= 0.978 *( BasePrice * 3 + (planarDistance * RangePcp* / 6 / 100 ) It's good indeed, but Xchecking with few examples ( only 3 ressource from Pointe-a-Pitre) The trader tool game data is better correlated with a multiplyier of 0.978 It seems that early on the intention was to allow a price variation in port depending on available stock but this seems turn off or minimize to a great extend : can you confirm that ? How did you figure this out ? did you get it from the developer ? "The estimated sell price for a consumed good isīuyPrice * 3 + (planarDistance * buyPrice * distanceFactor) / 6 / 100 " ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |