Comments (5)
Is there a way to simply place two different instantiations of the same plugin in the pricing stack? So that we could just instantiate one CCXT plugin locked to Binance, and then another locked to Coinbase. I don't think we would need to put much in the subclass other than have a different class name.
Or is there an automagic way in Python to create generic subclasses dynamically?
from dali-rp2.
o
I think the best way is to have separate python files, one per exchange: each file would contain a (probably) trivial subclass of CCXT. Then the user can arrange them in their priority order of choice in the configuration.
from dali-rp2.
I'm pretty sure this can simply be implemented by passing a param. I don't think a subclass is really needed. Or are subclasses preferred for clarity's sake?
from dali-rp2.
Yeah, I'm thinking classes would be both clearer to use and more in line with the rest of the design (one class per service, whether it's an exchange, a price provider, a wallet, etc.).
from dali-rp2.
This should be resolved with the latest PR.
from dali-rp2.
Related Issues (20)
- LUNA->EUR not found HOT 5
- WARNING: Unrecognized Dividend: LUNA compensation. HOT 1
- Internal error wheh Coinbase makes 2 withdrawals in same tx HOT 16
- Implement BitGet REST API Data Loader CCXT Plugin HOT 4
- Detect Beginning of Market when using Kraken CSV Reader
- USD->EUR not found on any pair converter plugin HOT 6
- Add bitmex exchange
- Implement Authentication for Exchangerate.host HOT 4
- Coinbase deprecated some endpoints, breaking the CB plugin HOT 3
- Kraken No Longer Offers Individual CSV Files HOT 6
- Kraken REST plugin bugs HOT 3
- Forex Services Unavailable
- Website Error: Running test under Windows 10 (config filename issue) HOT 3
- Transaction Resolver resolves InTransaction into IntraTransaction for Existing RP2 Input HOT 5
- cointracker format example HOT 4
- dali.plugin.input.rest.binance_com issue with using the interestHistory api endpoint from binance HOT 6
- Spot price for USD->USD not found HOT 4
- Transaction Type - RECEIVE and SPEND <Kraken REST> HOT 4
- fiat access key required when not needed HOT 3
- Large file download warning not visible before accepting HOT 2
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 dali-rp2.