Comments (2)
scrapers module expects a list of base currencies, and one quote currency see how I do it here:
PingPong.jl/PingPongDev/src/module.jl
Lines 30 to 32 in b986fc0
symbols like "BTC/USDT" are in the ccxt unified scheme regex which is parsed from the exchange market id:
using Exchanges
e = getexchange!(:binance)
e.markets["BTC/USDT:USDT"]["id"]
I made it so you can also pass the ids now
from pingpong.jl.
it's also possible to download using the Fetch
module but downloading 1m
candles from exchanges requires lots of calls which is usually slow, maybe it would be better for quickstart to use an Example1D
strat that uses 1d
timeframes such that one call per asset using fetch_ohlcv
is enough, like
# fetch directly from the exchange
# `sandbox=false` because we don't want fake candles
e = getexchange!(exchangeid(s), sandbox=false)
fetch_ohlcv(e, "1d", raw.(s.universe)) # fetches ohlcv candles from the exchange `e`, saves to storage
fill!(s) # fills all the assets in the strategy universe loading candles from storage
from pingpong.jl.
Related Issues (20)
- Profitability calculator
- Project status HOT 1
- UndefVarError: `scr` not defined HOT 1
- Attempting to build a docker image under osx fails.
- Failed to install manually according to the official website documentation HOT 5
- load_ohlcv(s) : ERROR: UndefVarError: `compactun` not defined HOT 1
- [PingPongInteractive] ERROR: LoadError: UndefVarError: `za` not defined
- LoadError: Creating a new global in closed module `Main` (`resp`) breaks incremental compilation
- Several errors in Performance Metrics HOT 1
- [Stats.multi] ERROR: ArgumentError: column name :cum_balance not found in the data frame
- [Help] Python: AuthenticationError: binance {"code":-2015,"msg":"Invalid API-key, IP, or permissions for action."} HOT 2
- Once again, missing keyword arguments in the function signature.
- bn.binanceload() load nothing HOT 1
- bn.binancedownload() failed. HOT 2
- [Help] How do I choose which project to execute the script in? HOT 2
- The behavior of bn.binancedownload(freq=:daily) is strange. HOT 3
- [Help] How to debug(stepinto) in vscode? HOT 3
- ERROR: LoadError: InitError: Evaluation into the closed module `PingPong` breaks incremental compilation because the side effects will not be permanent. HOT 3
- [Help] questions about Quickstart examples. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pingpong.jl.