Giter Site home page Giter Site logo

Comments (8)

hello2all avatar hello2all commented on July 3, 2024

Hi, please make sure you have the gamma-ray.json config file in the same directory as the executable. If you followed the instruction it should be in your /release folder

from gamma-ray.

z772 avatar z772 commented on July 3, 2024

I do

./main: error while loading shared libraries: libPocoXML.so.71: cannot open shared object file: No such file or directory
ubuntu@ip:~/gamma-ray/release$ ls
CMakeCache.txt Doxyfile gamma-ray.json
CMakeDoxyfile.in Testing main

from gamma-ray.

z772 avatar z772 commented on July 3, 2024

When i ran "source" command on build poco i got "No file argument supplied"

from gamma-ray.

z772 avatar z772 commented on July 3, 2024

sent you an email

from gamma-ray.

hello2all avatar hello2all commented on July 3, 2024

ok, I found the problem. It’s my fault, there is a deprecated config param I forgot to remove from the source. Here's a temporary fix, replace the default config file with the following:

{
  "websocketUrl": "wss://testnet.bitmex.com/realtime",
  "httpUrl": "https://testnet.bitmex.com",
  "apiKey": "iCDc_MrgK2bfZOaRKhz5K99A",
  "apiSecret": "VJN9dBwrBInY2dY-SMVzDkb1suv9DQRwxmYKiEh7TcJVTg0w",
  "contract": "XBTUSD",
  "quotingParam": {
    "quotingMode": "AvellanedaStoikov",
    "size": 300,
    "quotingModeParam": {
      "AvellanedaStoikov": {
        "gamma": 0.1,
        "sigma": 0.025,
        "k": 0.11593
      },
      "Top": {
        "spread": 0.5
      },
      "Mid": {
        "spread": 0.5
      }
    },
    "pairs": 1,
    "priceInterval": 0.5,
    "sizeIncrement": 0,
    "targetBasePosition": 0,
    "positionOffset": 100000,
    "skewFactor": 0,
    "tradesPerMinute": 5,
    "tradeRateSeconds": 60
  }
}

Note the deprecated tradeRateSeconds param, you can set anything as it doesn't have any impact. Just keep it there will prevent this error from occurring.

Will work on a proper fix latter

from gamma-ray.

z772 avatar z772 commented on July 3, 2024

This doesn't relly solve the issue terminate called after throwing an instance of 'nlohmann::detail::type_error'
what(): [json.exception.type_error.302] type must be number, but is null
Aborted (core dumped)

from gamma-ray.

z772 avatar z772 commented on July 3, 2024

This doesn't relly solve the issue terminate called after throwing an instance of 'nlohmann::detail::type_error'
what(): [json.exception.type_error.302] type must be number, but is null
Aborted (core dumped)

I ran sudo apt install libpoco-dev and then that happened

from gamma-ray.

hello2all avatar hello2all commented on July 3, 2024

run ./run-release.sh

from gamma-ray.

Related Issues (8)

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.