Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

39 use demo key for public api #45

Merged
merged 12 commits into from
Feb 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:

workflow_dispatch:

env:
KEY_AV: ${{ secrets.KEY_AV }}
KEY_CG: ${{ secrets.KEY_CG }}

jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "CryptoDashApp"
uuid = "8f55a569-a1ee-45d2-b761-b2b316ddd8e9"
authors = ["Vikas Negi <vikas.negi10@gmail.com>"]
version = "0.5.1"
version = "0.6.0"

[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Expand Down
24 changes: 14 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,34 @@ Functionality of the app will be extended in the future by adding more technical

## How to use?

### API keys
- Free AlphaVantage API key can be obtained from [here.](https://www.alphavantage.co/support/#api-key)
- Free demo key for CoinGecko API can be generated by following this [guide.](https://support.coingecko.com/hc/en-us/articles/21880397454233-User-Guide-How-to-sign-up-for-CoinGecko-Demo-API-and-generate-an-API-key)

### Running in Julia locally
This package is available via the General registry. Add it to your working Julia environment by
doing the following in the REPL:
This package is available via the General registry. Add it to your working Julia
environment by doing the following in the REPL:
* Press ']' to enter Pkg prompt

```julia
pkg> add CryptoDashApp
```

Once all the packages are downloaded, you can make use of the **CryptoDashApp** module from the
REPL itself or within a script by executing:
Once all the packages are downloaded, you can make use of the **CryptoDashApp**
module from the REPL itself or within a script by executing:

```julia
julia> ENV["KEY_AV"] = "your_AlphaVantage_key"
julia> ENV["KEY_CG"] = "your_CoinGecko_key"
julia> using CryptoDashApp
julia> run_app(8056, "your key") # where 8056 is the port
```

Free API key can be obtained from [here.](https://www.alphavantage.co/support/#api-key)
julia> run_app(8056) # where 8056 is the port
```

Now, open a new tab in your browser and check if you can access http://0.0.0.0:8056/ or http://127.0.0.1:8056/

### Running as a Docker container
### Running as a Docker container (for versions < 0.6.0)
Assuming that you have Docker installed, and a valid API key, a Docker image
can be created using the follwing steps:
can be created using the following steps:
* Clone this repository and cd to the directory

* Build the Docker image (Here `crypto_app` is the name of the generated image)
Expand Down
1,001 changes: 0 additions & 1,001 deletions data/BTC_EUR_data_2024-02-09.csv

This file was deleted.

1,001 changes: 1,001 additions & 0 deletions data/BTC_EUR_data_2024-02-10.csv

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,6 @@ anime-token,Anime,ani
anita-max-wynn,Anita Max Wynn,wynn
aniverse,Aniverse,anv
aniverse-metaverse,Aniverse Metaverse,aniv
ankaa-exchange,Ankaa Exchange,ankaa
ankaragucu-fan-token,Ankaragücü Fan Token,anka
ankr,Ankr Network,ankr
ankreth,Ankr Staked ETH,ankreth
Expand Down Expand Up @@ -1121,6 +1120,7 @@ baby-shark-tank,Baby Shark Tank,bashtank
baby-shiba-inu,Baby Shiba Inu,babyshibainu
baby-shiba-inu-erc,Baby Shiba Inu,babyshib
babysmurf9000,BabySmurf9000,bs9000
babysnek,BabySNEK,babysnek
babysol,BabySOL,babysol
baby-squid-game,Baby Squid Game,bsg
babyswap,BabySwap,baby
Expand Down Expand Up @@ -2182,6 +2182,7 @@ catcoin-token,CatCoin Token,cats
catdog,CATDOG,catdog
catecoin,CateCoin,cate
catex-token,Catex,catt
catfish,Catfish,catfish
catge-coin,Catge Coin,catge
catgirl,Catgirl,catgirl
catgirl-optimus,Catgirl Optimus,optig
Expand Down Expand Up @@ -3622,6 +3623,7 @@ duckereum,Duckereum,ducker
duckie-land-multi-metaverse,Duckie Land Multi Metaverse,mmeta
duckies,Yellow Duckies,duckies
ducks,Ducks,ducks
ducky-city-earn,Ducky City Earn,dce
duckydefi,DuckyDefi,degg
dude,DuDe,dude
dude-injective,DUDE (Injective),dude
Expand Down Expand Up @@ -4109,6 +4111,7 @@ facts,FACTS,bkc
fair-berc20,Fair BERC20,berc
fairerc20,FairERC20,ferc
fairlight,FairLight,fcdp
fairspin,FairSpin,tfs
fairum,Fairum,fai
faith-tribe,Faith Tribe,ftrb
fake-market-cap,Fake Market Cap,cap
Expand Down Expand Up @@ -4830,6 +4833,7 @@ goal3,zkUSD,zkusd
goal-token,GOAL Token,goal
goated,GOATED,goat
goatly-farm,Goatly.farm,gtf
goat-trading,Goat Trading,goat
goblin,Goblin,goblin
gobtc,goBTC,gobtc
gobyte,GoByte,gbx
Expand Down Expand Up @@ -5726,7 +5730,6 @@ iousdc,Bridged USD Coin (IoTeX),iousdc
iousdt,Bridged Tether (IoTeX),iousdt
iowbtc,ioWBTC,iowbtc
iown,iOWN,iown
ipi-shorter,Shorter Finance,ipistr
ipmb,IPMB,ipmb
ipor,IPOR,ipor
ipulse,iPulse,pls
Expand Down Expand Up @@ -6100,7 +6103,6 @@ knight-war-spirits,Knight War Spirits,kws
knit-finance,Knit Finance,kft
knob,KNOB$,knob
knowyourdev,KnowYourDev,kyd
knoxfs,KnoxFS,kfx
koakuma,Koakuma,kkma
kobe,Kobe,beef
kocaelispor-fan-token,Kocaelispor Fan Token,kstt
Expand Down Expand Up @@ -6577,7 +6579,6 @@ luckytoad,LuckyToad,toad
lucretius,Lucretius,luc
lucro,Lucro,lcr
lucrosus-capital,Lucrosus Capital,$luca
ludena-protocol,Ludena Protocol,ldn
ludos,Ludos Protocol,lud
luffy-inu,Luffy,luffy
luigiswap,LuigiSwap,luigi
Expand Down Expand Up @@ -6937,6 +6938,7 @@ memedefi,MemeDefi,memefi
meme-elon-doge-floki-2,Meme Elon Doge Floki,memelon
memeetf,Bitget MemeETF,memeetf
meme-etf,Meme ETF,memeetf
memefi-toybox-404,Memefi Toybox 404,toybox
memeflate,Memeflate,mflate
memehub,Memehub,memehub
meme-inu,Meme Inu,meme
Expand Down Expand Up @@ -7368,7 +7370,6 @@ moola-celo-dollars,Moola Celo Dollars,mcusd
moolahverse,Moolahverse,mlh
moola-interest-bearing-creal,Moola interest bearing CREAL,mcreal
moola-market,Moola Market,moo
moomonster,MooMonster,moo
moon,r/CryptoCurrency Moons,moon
moonai-2,MoonAI,moonai
moon-air,Moon Air,moonair
Expand Down Expand Up @@ -7424,7 +7425,6 @@ morpho-aave-curve-dao-token,Morpho-Aave Curve DAO Token,macrv
morpho-aave-wrapped-btc,Morpho-Aave Wrapped BTC,mawbtc
morpho-aave-wrapped-ether,Morpho-Aave Wrapped Ether,maweth
morpho-network,Morpho Network,morpho
morphswap,Morphswap,ms
morra,Morra,morra
mosolid,moSOLID,mosolid
mosquitos-finance,Mosquitos Finance,suckr
Expand Down Expand Up @@ -7805,6 +7805,7 @@ non-playable-coin,Non-Playable Coin,npc
no-one,No One,noone
noot,NOOT,noot
noot-ordinals,NOOT (Ordinals),noot
noot-sol,Noot Sol,noot
nordek,Nordek,nrk
nord-finance,Nord Finance,nord
norigo,NoriGO!,go!
Expand Down Expand Up @@ -9347,6 +9348,7 @@ riecoin,Riecoin,ric
rifi-united,RIFI United,ru
rif-token,RSK Infrastructure Framework,rif
rigel-protocol,Rigel Protocol,rgp
riggers,Riggers,rig
rigoblock,RigoBlock,grg
rikeza,RIKEZA,rik
rikkei-finance,Rikkei Finance,rifi
Expand Down Expand Up @@ -9642,6 +9644,7 @@ sconex,SCOneX,sconex
scooby-doo,Scooby Doo,sodo
scopecoin,ScopeCoin,xscp
scope-sniper,Scope Sniper,scope
scopexai,ScopexAI,scopex
scopuly-token,Scopuly,scop
scorai,Staking Compound ORAI,scorai
score-token,Score,sco
Expand Down Expand Up @@ -9846,6 +9849,7 @@ shilly-bar,Shilly Bar,shbar
shimmer,Shimmer,smr
shimmersea-lum,ShimmerSea Lum,lum
shina-inu,Shina Inu,shi
shine-chain,Shine Chain,sc20
shinjarium,Shinjarium,sjm
shinji-inu,Shinji Inu,shinji
shinjiru-inu,Shinjiru Inu,shinji
Expand All @@ -9869,6 +9873,7 @@ shrapnel-2,Shrapnel,shrap
shredn,ShredN,shred
shree,SHREE,shr
shroom-finance,Niftyx Protocol,shroom
shuffle-2,Shuffle,shfl
shuffle-by-hupayx,SHUFFLE by HUPAYX,sfl
shuts-wave,shuts Wave,swave
shyft-network-2,Shyft Network,shft
Expand All @@ -9890,6 +9895,7 @@ silent-notary,Silent Notary,ubsn
silk,Spider Tanks,silk
silk-bcec1136-561c-4706-a42c-8b67d0d7f7d2,Silk,silk
silly-bonk,Silly Bonk,sillybonk
sillycat,Sillycat,sillycat
silly-dragon,Silly Dragon,silly
silo-finance,Silo Finance,silo
silva-token,Silva,silva
Expand All @@ -9906,6 +9912,7 @@ simple-token,OST,ost
simpli-finance,Simpli Finance,simpli
simpson6900,Simpson6900,simpson690
simracer-coin,Simracer Coin,src
sin,SIN,sin
sin-city,Sinverse,sin
sincronix,SincroniX,snx
sindi,SINDI,sindi
Expand Down Expand Up @@ -10962,6 +10969,7 @@ the-world-state,World$tateCoin,w$c
the-xenobots-project,The Xenobots Project,xeno
thing,Thing,thing
this-is-fine,This is Fine,fine
this-is-the-one,This Is The One,theone
tholana,Tholana,thol
thol-token,AngelBlock,thol
thor,ThorFi,thor
Expand Down Expand Up @@ -11124,7 +11132,6 @@ tourismx,TourismX,trmx
tourist-shiba-inu,Tourist Shiba Inu,tourists
tower,Tower,tower
toxicdeer-finance,ToxicDeer Finance,deer
toxicdeer-share,ToxicDeer Share,xdshare
toxicgarden-finance-seed,ToxicGarden.finance SEED,seed
tplatinum,tPLATINUM,txpt
tpro,TPRO Network,tpro
Expand Down Expand Up @@ -11269,7 +11276,6 @@ turbos-finance,Turbos Finance,turbos
turbo-wallet,Turbo Wallet,turbo
turex,Turex,tur
turing-network,Turing Network,tur
turismo-ai,Turismo AI,turai
turkiye-basketbol-federasyonu-token,Türkiye Basketbol Federasyonu Fan Token,tbft
turkiye-motosiklet-federasyonu-fan-token,Türkiye Motosiklet Federasyonu Fan Token,tmft
turk-shiba,Turk Shiba,tushi
Expand Down Expand Up @@ -12096,6 +12102,7 @@ wrapped-btc-wormhole,Wrapped BTC (Wormhole),wbtc
wrapped-btt,Wrapped BTT,wbtt
wrapped-busd,Wrapped BUSD,wbusd
wrapped-busd-allbridge-from-bsc,Wrapped BUSD (Allbridge from BSC),abbusd
wrapped-cellmates,Wrapped CellMates,wcell
wrapped-centrifuge,Wrapped Centrifuge,wcfg
wrapped-ckb,Wrapped CKB,wckb
wrapped-conflux,Wrapped Conflux,wcfx
Expand Down
Original file line number Diff line number Diff line change
@@ -1,101 +1,101 @@
Name,ID
Binance,binance
Bybit,bybit_spot
Coinbase Exchange,gdax
OKX,okex
Gate.io,gate
KuCoin,kucoin
Kraken,kraken
Crypto.com Exchange,crypto_com
HashKey Exchange,hashkey_exchange
Bitfinex,bitfinex
Binance US,binance_us
HashKey Exchange,hashkey_exchange
Binance,binance
HTX,huobi
BingX,bingx
Bitget,bitget
BingX,bingx
CoinW,coinw
Bitfinex,bitfinex
Crypto.com Exchange,crypto_com
Bitstamp,bitstamp
Gemini,gemini
WOO X,wootrade
Coins.ph,coinspro
MEXC,mxc
DigiFinex,digifinex
BitMart,bitmart
Upbit,upbit
LBank,lbank
DigiFinex,digifinex
MEXC,mxc
Bitrue,bitrue
LATOKEN,latoken
WhiteBIT,whitebit
Deepcoin,deepcoin
LATOKEN,latoken
XT.COM,xt
Tapbit,tapbit
Deepcoin,deepcoin
Fastex,fastex
CITEX,citex
BTSE,btse
CITEX,citex
AscendEX (BitMax),bitmax
ProBit Global,probit
Azbit,azbit
PointPay,pointpay
Dex-Trade,dextrade
Phemex,phemex
Azbit,azbit
Dex-Trade,dextrade
EXMO,exmo
Bitbank,bitbank
CoinEx,coinex
Bitbank,bitbank
Bitso,bitso
bitcastle,bitcastle
Max Maicoin,max_maicoin
Indodax,indodax
BitoPro,bitopro
Indodax,indodax
Luno,luno
XeggeX,xeggex
Blockchain.com,blockchain_com
BitMEX,bitmex_spot
Bithumb,bithumb
Biconomy,biconomy
Tapbit,tapbit
Bitunix,bitunix
BigONE,bigone
BitMake,bitmake
ProBit Global,probit
Coinstore,coinstore
bitFlyer,bitflyer
Coincheck,coincheck
BtcTurk | Kripto,btcturk
Paribu,paribu
Bitkub,bitkub
bitcastle,bitcastle
Korbit,korbit
Bullish,bullish_com
Bitazza,bitazza
BitStorage,bitstorage
Independent Reserve,independent_reserve
Luno,luno
Korbit,korbit
FinexBox,finexbox
VALR,valr
Bitazza,bitazza
Independent Reserve,independent_reserve
CEX.IO,cex
Kuna Exchange,kuna
Stormgain,stormgain
Bitlo,bitlo
Kuna Exchange,kuna
Coinmetro,coin_metro
Blockchain.com,blockchain_com
Okcoin,okcoin
Uniswap V3 (Ethereum),uniswap_v3
Hotcoin Global,hotcoin_global
P2B,p2pb2b
OrangeX,orangex
Uniswap V3 (Ethereum),uniswap_v3
Toobit,toobit
CoinTR Pro,cointr
Pionex,pionex
BitVenus,bitvenus_spot
Pancakeswap V3 (BSC),pancakeswap-v3-bsc
Toobit,toobit
Biconomy,biconomy
Pionex,pionex
Bitvavo,bitvavo
Pancakeswap V3 (BSC),pancakeswap-v3-bsc
Uniswap V3 (Arbitrum One),uniswap_v3_arbitrum
WEEX,weex
BitMake,bitmake
Uniswap V2 (Ethereum),uniswap_v2
QMall,qmall
C-Patex,c_patex
WEEX,weex
Bitci TR,bitci
Uniswap V3 (Polygon),uniswap_v3_polygon_pos
QMall,qmall
BtcTurk | Kripto,btcturk
Paribu,paribu
BitDelta,bitdelta
Uniswap V3 (Polygon),uniswap_v3_polygon_pos
C-Patex,c_patex
Coinone,coinone
Osmosis,osmosis
Balancer V2,balancer
PancakeSwap (v2),pancakeswap_new
Cetus,cetus
Websea,websea
Balancer V2,balancer
Trader Joe V2.1 (Arbitrum),traderjoe-v2-1-arbitrum
PulseX,pulsex
GMO Japan,gmo_japan
Katana,katana
Cryptology,cryptology
Loading
Loading