Skip to content

chenak-a/servergoQbites

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 list of all crypto coin in the database

query{
  Allcrypto
}

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages