Page 5 of 156 FirstFirst 12345678915 ... LastLast
Results 61 to 75 of 2335

Thread: TradeDangerous: power-user trade optimizer

  1. #61
    Thanks for the fast response, really appreciated. Played with it a bit this morning. Indeed its AMAZINGLY FAST. Much faster then the routines used by Slopey in its BPC. Don't have time to fully test it and compare it to BPC. Tomorrow I'm flying - holiday.

    I've figured out how to do a ANY to ANY by leaving out from and to. I think I figured out a roundtrip like the BPC by setting --from and --to the same station. Though I get different values then with BPC - could be prices not updated yet. Haven't figured out to do an ANY to ANY with roundtrip like BPC. Am I missing something or?

    With --routes you get more suggestions. But it looks as if that are suggestions for stations. Setting --from and --to different stations I get a traderoute but that is only for one commodity - best route I suspect. BPC shows multiple commodities with different profits. Is that possible with TD also?

    Speaking about roundtrips. Given the amazing speed of TD. Would it be possible to find the best roundtrips, not for two but for for example 3-4 stations. So it involves buying/selling at multiple stations to get the best trade route.

    About speed: Its amazing, and you stated with some tweaking it could be even be much better/faster. Should TD ever becoming not fast enough, you could always go the MT route - if you deem that needed.

    As I stated before: I can see this become the engine of choice for GUI builders - if optional JSON/XML output is implemented. Is that something you would like to pursue/see happen?

  2. #62
    Just tried TD 3.4 and emd-tap.py. I'm getting the following error about zeroMQ missing. I guess I can install that one myself, but would it be possible to add that one to a future TD 3.x version.

    Message:
    c:\Data\Games\Elite Dangerous\TD 3.4>c:\Python34\python.exe emdn-tap.py
    Traceback (most recent call last):
    File "c:\Data\Games\Elite Dangerous\TD 3.4\emdn\firehose.py", line 37, in <module>
    import zmq
    ImportError: No module named 'zmq'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "emdn-tap.py", line 29, in <module>
    from emdn.firehose import Firehose
    File "c:\Data\Games\Elite Dangerous\TD 3.4\emdn\firehose.py", line 39, in <module>
    raise ImportError("This module requires the ZeroMQ library to be installed. The easiest way to obtain this is to type: pip install pyzmq")
    ImportError: This module requires the ZeroMQ library to be installed. The easiest way to obtain this is to type: pip install pyzmq

  3. #63
    wolverine2710, its telling you that your Python environment don't have extension to handle ZeroMQ. Just run "python pip install pyzmq" and it will install it. Its not possible to ship extensions, I think. End user must install it separately.

  4. #64
    Originally Posted by wolverine2710 View Post (Source)
    Just tried TD 3.4 and emd-tap.py. I'm getting the following error about zeroMQ missing. I guess I can install that one myself, but would it be possible to add that one to a future TD 3.x version.
    At the moment you're just grabbing the source, so there's no way for me to do that automatically.

    Eventually, I'll use "py2exe" to make an executable release of version snapshots which will be able to do that, but right now you just have to do the "pip install pyzmq" as the error says on the last line.

    If you grab the most recent version (v3.5) I'd already made that error a little more self-evident

  5. #65
    v3.5 checked in: now using the JSON compressed stream for the fire hose, makes it a little faster and a little less bandwidth intense.

  6. #66
    Originally Posted by kfsone View Post (Source)
    v3.5 checked in: now using the JSON compressed stream for the fire hose, makes it a little faster and a little less bandwidth intense.
    Thanks again for your response. Time to go to bed and get my flight tomorrow. Cu in 2 weeks. VERY curious how TD will look by then ;-)

  7. #67
    Hello kfsone, something seems a bit off:

    trade.py run --sh type6 --cr 220000 --ju 1 --hops 3 --from louis

    unspecified hops 3, numHops 3, viaStations 0

    Code:
    LHS 3262 Louis De Lacaille Prospect -> NANG TA-KHIAN Hay Point:
     >-> At LHS 3262/Louis De Lacaille Prospect, Buy: 100 x Coltan,
      +  At ACIHAUT/Cuffey Plant, Buy: 100 x Lithium,
      +  At LHS 3262/Louis De Lacaille Prospect, Buy: 100 x Auto-Fabricators,
     <-< Hay Point gaining 207,700cr => 427,700cr total
    Why would I want to grab 100 coltan then come back to the origin? Plus, considering there is no coltan at Louis de Lacaille, it won't really work. The 2nd route from LHS 3262 that has auto-fabricators makes sense.

    I am running the EMDN price updater in the background, so in theory it should have the latest prices. Also at the same time, Slopey's tool gives me correct answers for single routes.

    And when I look at the updated prices file, in the Louis De Lacaille section I see:

    Code:
          Beryllium                8025      0   2014-09-08 09:09:39
          Gallium                  4990      0   2014-09-08 09:09:39
          Coltan                    940    941   2014-09-06 08:55:02
    The Coltan line is clearly old and hasn't been updated. Looks like stuff is added and updated, but not deleted.

  8. #68
    I just downloaded latest version (via download 3.4).

    Code:
    trade.py run --cr 1500000 --ship type6 --from Baker --hops 10 --jumps-
    per 1
    unspecified hops 10, numHops 10, viaStations 0
    LFT 880 Baker Platform -> BOLG Moxon's Mojo:
     >-> At LFT 880/Baker Platform, Buy: 100 x Gallium,
      +  At NANG TA-KHIAN/Hay Point, Buy: 100 x Personal Weapons,
      +  At ERANIN/Azeban City, Buy: 100 x Resonating Separators,
      +  At ACIHAUT/Cuffey Plant, Buy: 100 x Superconductors,
      +  At AULIN/Aulin Enterprise, Buy: 100 x Resonating Separators,
      +  At ACIHAUT/Cuffey Plant, Buy: 100 x Superconductors,
      +  At AULIN/Aulin Enterprise, Buy: 100 x Resonating Separators,
      +  At ACIHAUT/Cuffey Plant, Buy: 100 x Superconductors,
      +  At AULIN/Aulin Enterprise, Buy: 100 x Resonating Separators,
      +  At ACIHAUT/Cuffey Plant, Buy: 100 x Superconductors,
     <-< Moxon's Mojo gaining 1.217.500cr => 2.717.500cr total
    Sounds good, but.. I cant buy Resonating Separators @ Eranin, and there are no Superconductors for sale @ Acihaut...

    ?

  9. #69
    I can confirm that I get the same issue with the latest version.
    Products that are not sold show up in the "prices" file for multiple stations.

  10. #70
    Yeah - I'm working on cleaning those out, it appears they originate from people docking at a station with a load that the station doesn't buy. The load shows up in the commodities screen, and EMDN scrapes it and transmits it.

  11. #71
    Originally Posted by rikkles View Post (Source)
    Code:
          Beryllium                8025      0   2014-09-08 09:09:39
          Gallium                  4990      0   2014-09-08 09:09:39
          Coltan                    940    941   2014-09-06 08:55:02
    The Coltan line is clearly old and hasn't been updated. Looks like stuff is added and updated, but not deleted.
    This is correct, I don't have any kind of auto-cutoff at the moment, because up until a few days ago all the data was hand-entered. The tail end of this week I started allowing updates from EMDN. Right now I'm trying to figure out how to detect those lines where's it not a "real" entry but one of those UI artefacts.

    -Oliver

  12. #72
    v3.6 should do a better job of filtering those noise items out now, resultingly the db size has dropped from 1350 items to 1240.

    I've also made it take stock levels into account when they are present (so if you're hand-building your own DB, you won't be affected, if you're pulling from EMDN it'll take into account that it last saw only X of an item available).

    Code:
    v3.6 Sep 12/2014
      Added DB support for tracking item stock/demand levels,
      TradeCalc will now factor stock levels when present,
      Minor performance/memory tweak
      emdn-tap:
        Now accepts --warn-to argument,
        Applies filters to what data it will accept,
        Records item stock/demand levels to the DB

  13. #73
    Originally Posted by wolverine2710 View Post (Source)
    Thanks for the fast response, really appreciated. Played with it a bit this morning. Indeed its AMAZINGLY FAST. Much faster then the routines used by Slopey in its BPC. Don't have time to fully test it and compare it to BPC. Tomorrow I'm flying - holiday.

    I've figured out how to do a ANY to ANY by leaving out from and to. I think I figured out a roundtrip like the BPC by setting --from and --to the same station. Though I get different values then with BPC - could be prices not updated yet. Haven't figured out to do an ANY to ANY with roundtrip like BPC. Am I missing something or?

    With --routes you get more suggestions. But it looks as if that are suggestions for stations. Setting --from and --to different stations I get a traderoute but that is only for one commodity - best route I suspect. BPC shows multiple commodities with different profits. Is that possible with TD also?

    Speaking about roundtrips. Given the amazing speed of TD. Would it be possible to find the best roundtrips, not for two but for for example 3-4 stations. So it involves buying/selling at multiple stations to get the best trade route.

    About speed: Its amazing, and you stated with some tweaking it could be even be much better/faster. Should TD ever becoming not fast enough, you could always go the MT route - if you deem that needed.

    As I stated before: I can see this become the engine of choice for GUI builders - if optional JSON/XML output is implemented. Is that something you would like to pursue/see happen?
    Still on holiday but finally found Internet access. Will be back in a week. Perhaps you have missed my post. Would it be possible for you to answer my questions? That would be greatly appreciated.

  14. #74
    Originally Posted by kfsone View Post (Source)
    v3.6 should do a better job of filtering those noise items out now, resultingly the db size has dropped from 1350 items to 1240.

    I've also made it take stock levels into account when they are present (so if you're hand-building your own DB, you won't be affected, if you're pulling from EMDN it'll take into account that it last saw only X of an item available
    TM is well structured, fast and the CLI is exactly what one would want, but unfortunately the underlying EMDN has a lot of garbage, making the tool relatively useless unless one updates the DB manually. I just tested again and landed in Dhezhunov(sp?), sold my fish and was looking for tea that just didn't exist. I checked EMDN directly and it exceedingly wrong for that station.

  15. #75
    Originally Posted by rikkles View Post (Source)
    TM is well structured, fast and the CLI is exactly what one would want, but unfortunately the underlying EMDN has a lot of garbage, making the tool relatively useless unless one updates the DB manually. I just tested again and landed in Dhezhunov(sp?), sold my fish and was looking for tea that just didn't exist. I checked EMDN directly and it exceedingly wrong for that station.
    Have you checked the prices with Slopeys BPC which also uses EMDN. Curious if BPC also gives the same issues you reported?

Page 5 of 156 FirstFirst 12345678915 ... LastLast