fremantle-industries / workbench Goto Github PK
View Code? Open in Web Editor NEWFrom Idea to Execution - Manage your trading operation across a distributed cluster
License: MIT License
From Idea to Execution - Manage your trading operation across a distributed cluster
License: MIT License
I had a look at the Dockerfile and I suggest using mix release instead of copying everything and building.
I can do it, tell me if that's interesting you.
I also suggest publishing a version to hub.docker.com for ARM and x86.
Hey @rupurt.
The dashboard is not showing balance for missing products for default dev config.
For my case, the solution is to add etc_usdt
to products of binance and okex.
I'm wondering, how to make it user-friendly? I see several options:
Missing #{product} in the #{venue} venue. Please add it in order to show the balance.
I'd be happy to apply any solution.
WDYT?
Example
iex> config = %Workbench.BalanceSnapshots.Config{
boot_delay_ms: 10000,
btc_usd_symbol: :btc_usdt,
btc_usd_venue: :okex,
enabled: true,
every_ms: 10000,
quote_pairs: [binance: :usdt, okex: :usdt],
usd_quote_asset: :usdt,
usd_quote_venue: :okex
}
iex> Tai.Venues.AccountStore.all()
[
%Tai.Venues.Account{
asset: :btc,
credential_id: :main,
equity: #Decimal<0>,
free: #Decimal<0>,
locked: #Decimal<0>,
type: "futures",
venue_id: :okex
},
%Tai.Venues.Account{
asset: :btc,
credential_id: :main,
equity: #Decimal<0>,
free: #Decimal<0>,
locked: #Decimal<0>,
type: "swap",
venue_id: :okex
},
%Tai.Venues.Account{
asset: :etc,
credential_id: :main,
equity: #Decimal<0>,
free: #Decimal<0>,
locked: #Decimal<0>,
type: "swap",
venue_id: :okex
}
]
iex> Workbench.BalanceSnapshots.Snapshot.create(config)
{:error, [{:binance, :etc_usdt, :not_found}, {:okex, :etc_usdt, :not_found}]}
Hey @rupurt.
Thanks for the outstanding library.
I'm wondering, any specific reason to not have default logger for dev env?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.