Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

servergoQbites

Go GraphQL BitCoin

servergoQbites is graphql server for ai indicator project

🛠️ Installation

run your mongodb database on port 27017 install go then run

go run server.go

🏗️ Usage

get the registered assets split by class (crypto vs stocks)

query{
  symbols {
    crypto
    stocks
  }
}

get data of specific crypto

query{
    crypto(name: $name){
      name
      time
    	projection
    	gainlose{
        M
        W
        D
        
      }
    	
          data{
      hcl{
        opentime
        Open
        High
        Low
        Close
          Volume
        
        
      }
        formula{
          rsi
          rsiK
          rsiD
          aroonu
          aroond
          macd
          histogram
         
        }
        ai{
          bigmome{
            BUY2
            BUY1
            ambi
            
          }
          sell{
            amb0
            amb1
            amb2
            amb3
            amb99
            
          }
          smallmome{
            amo
            ci
            
          }
          buy{
            ambb
            ambb5
            ww6
            ww7
            
          }
          mome{
            amb14
            amb15
            amb13
            amb55
            
          }
          other{
            amo
            amo1
            BUYSELL
            BUYSELLevel
            
          }
          
        }
      }
    }
  }

get user data

query{
  User(nameuser: $nameuser) {
      nameuser
      balance {
        cryptoName
        totale
      }
    }
}

🏴‍☠️ License

MIT

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages