Code Monkey home page Code Monkey logo

gw2-arbitrage's Introduction

gw2-arbitrage

Crates.io

Finds items in Guild Wars 2 that can be sold on the trading post for a higher price than the cost of crafting the item.

Usage

  1. Download the latest release for your platform from https://github.com/t-mw/gw2-arbitrage/releases and extract the zip contents.

  2. If running Windows, open Command Prompt or PowerShell from the Start Menu. PowerShell is the better choice on Windows 7+. If running Linux or MacOS, open your terminal application.

  3. Navigate to the extracted folder using the terminal application.

  4. Run the gw2-arbitrage binary using the terminal application (i.e. on Windows run gw2-arbitrage.exe from PowerShell) to produce a list of items that can be crafted and immediately resold for profit on the trading post using materials purchased from the trading post. The prices used assume that you buy materials at the best offer and sell the crafted items at the best bid (accounting for liquidity - see Effects of Low Liquidity), so the only time spent waiting is during crafting. Items with high 'profit / step' and 'profit on cost' values generally produce a higher return for the time invested.

    List of items

  5. Pass an item id as input (e.g. gw2-arbitrage.exe 11538) to print a shopping list for the item, which considers the total available liquidity for each ingredient on the trading post. The shopping list will also include items that should be purchased from crafting station vendors.

    List of materials

    By default the shopping list will assume that you want to produce as many copies of the item as can be profitably sold on the trading post. To limit the number of items that will be crafted a count may also be passed (e.g. gw2-arbitrage.exe 11538 --count 100 will limit the shopping list to producing 100 items).

  6. Detailed crafting instructions for the item can then be found on https://gw2efficiency.com/crafting/calculator/ or https://www.gw2bltc.com/, with the caveat that these sites do not account for liquidity when crafting large amounts of items. This means that the shopping list and profits shown will not always be accurate, and you may need to adapt the crafting instructions to use exactly the ingredients printed by this tool.

Important: Check that you have the recipe for the item before spending any money. Some profitable opportunities listed by the tool exist because the recipes are difficult to obtain.

Options

Run gw2-arbitrage.exe --help to see all available options, including CSV export.

Effects of Low Liquidity

The shopping list may contain a mix of components (e.g. Trouser Padding) and raw materials required for that component (e.g. Bolts of Silk + Thread). This is because the tool considers your effect on the market when you buy materials from the trading post. For example, after buying enough Bolts of Silk and Thread to craft 100 x Trouser Padding, you may push the price of the materials high enough that it becomes cheaper to simply buy the Trouser Padding already crafted. Similarly, the tool considers your effect on the market when you sell many items. Although most existing tools ignore this effect, not accounting for it results in overestimating profits when crafting and selling large amounts of items.

Cache

The first run of the tool can take a while since all items and recipes must be downloaded from the Guild Wars 2 API. On subsequent runs the tool will use cached versions of the item and recipe databases, stored in the system data directory. The location of the system data directory is printed in the help text for the --data-dir option. The directory can be deleted to clear the cache or replaced using the --reset-data flag.

gw2-arbitrage's People

Contributors

iiridayn avatar t-mw avatar timmooney avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.