Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

REST API UI v1.1 #1013

Closed
wants to merge 1,697 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1697 commits
Select commit Hold shift + click to select a range
54d7696
simple fix for correct asset display (#372)
nedievas Jul 10, 2017
f3a65b8
Strategy: CCI + Stochasctics RSI (#375)
talvasconcelos Jul 10, 2017
95d5687
backtester: Rename rsi_macd to srsi_macd (#376)
Jul 10, 2017
9220f07
fix (#373)
nedievas Jul 10, 2017
03c025e
Added cci_srsi to the backtester (#377)
cmroche Jul 10, 2017
c60d4f0
Only do last sell in simExit when there have been trades (#383)
crubb Jul 17, 2017
e56593c
Fixes for Quadriga CX trading (#386)
cmroche Jul 18, 2017
ae10ee6
setRawMode is not supported on some remote consoles (no tty) (#380)
dulacp Jul 18, 2017
e711da5
Windows support (#387)
cmroche Jul 18, 2017
54d775d
- Bitfinex and Kraken API throw the "post only" error only on checkOr…
crubb Jul 19, 2017
a22fee2
Quadriga CX now supports LTC trading, adding to products (#392)
cmroche Jul 20, 2017
eeffa85
Updated name of renamed srsi_macd strategy (#400)
natefanaro Jul 25, 2017
b62307f
Removed trailing comma from dependencies. (#398)
dhingra Jul 25, 2017
6816119
Add extension point in dev doc (#395)
tux-00 Jul 25, 2017
4973c24
Add strategy: forex.analytics, an genetic optimization algorithm for …
crubb Jul 27, 2017
69dabd7
Added support for the BTCe exchange (#388)
tuxitor Jul 27, 2017
4e61e77
FIX: Properly check for unknown indicators in forex_analytics (#408)
crubb Jul 27, 2017
bbe1865
added check for message before doing anything with it (#412)
benpdavison Jul 27, 2017
f7964f0
updated c.default_selector to c.selector in README.md (#418)
natefanaro Jul 28, 2017
e45c277
Fixed docker build (#349)
Froelund Jul 28, 2017
52f46f2
Strategies: TA (ema+macd) and Trust/Distrust (#285)
DeviaVir Jul 28, 2017
2417a86
xmpp for trading alarms (#333)
piedrogenius Jul 28, 2017
e55a66c
Minor fixes for Quadriga trading API (#421)
cmroche Jul 31, 2017
9423650
Fix docker builds for forex.analytics (#424)
cmroche Jul 31, 2017
c671dbe
Support for missing win/loss and error rate from output (#426)
natefanaro Jul 31, 2017
63676fe
Improve command help for train command (#436)
Froelund Aug 3, 2017
5ef0e10
Update exchange products for BCH support (#438)
cmroche Aug 4, 2017
33afe60
Add support for Gemini exchange platform (#445)
cmroche Aug 7, 2017
c87fc3b
QCX added support for BCH (#452)
cmroche Aug 7, 2017
eec3628
Added Gemini API dependancy to main package.json (#454)
mesquka Aug 8, 2017
69ee4ee
Update package-lock.json
DeviaVir Aug 8, 2017
c2b9b3e
Fix bug with preroll when 0 volume (#464)
cmroche Aug 11, 2017
0a5c70d
Introduce a non-interactive mode (#467)
cmroche Aug 14, 2017
30d53e4
Unbreaking backfill on kraken (#468)
cmroche Aug 14, 2017
c721e29
Validated Kraken product list manually fixed some broken tokens. (#469)
cmroche Aug 14, 2017
e72d280
Bitfinex WebSockets API + Fix postonly not triggering re-buy (#458)
crubb Aug 14, 2017
8e77f33
Fix live trading for GDAX (and others) add a message to improve low v…
cmroche Aug 14, 2017
b118e13
Update ANS ticker to NEO (#473)
Aug 14, 2017
f0f5d00
Bitfinex WS Fixes: Reconnect and crash on previously non-traded asset…
crubb Aug 15, 2017
347795e
Bitfinex WS: Fix #475 wallet error (#477)
crubb Aug 16, 2017
73c7d13
Added Product BCH-BTC to Poloniex Exchange (#478)
cvinacua Aug 16, 2017
c9e891c
Bittrex balances inverted. Fix xmpp. (#481)
DeviaVir Aug 17, 2017
a517d17
Update all products.json (#482)
DeviaVir Aug 17, 2017
8d48e67
Bitfinex WS: Attempt to fix reconnect issues on "API Key invalid" err…
crubb Aug 27, 2017
0bdf3d8
ETH trading enabled (#485)
nedievas Aug 27, 2017
48d5b24
FIxing kraken product update and product list (#483)
cmroche Aug 27, 2017
3b00173
Incremented decimal places for EOS asset (#510)
cvinacua Aug 31, 2017
ff9597e
Reduced min_size decimal places for EOS asset (#512)
cvinacua Aug 31, 2017
68758a3
Bitfinex API version update (#520)
nedievas Sep 4, 2017
83ec992
Interactive CUI (#518)
nedievas Sep 4, 2017
fb62dfc
fix bitstamp comment (#529)
bovine Sep 8, 2017
1f26c81
Add a bit more data and reformat the balance command (#535)
cmroche Sep 11, 2017
3e19e47
Making post_only an option (#537)
cmroche Sep 11, 2017
c1b9039
percentage format fix (#534)
nedievas Sep 11, 2017
cf4e6dd
The robo kitten patch (#532)
Sep 11, 2017
0858cd2
percentage format fix 0.00% (#539)
nedievas Sep 11, 2017
c250ac8
percentage format fix (#540)
nedievas Sep 11, 2017
d95fac0
Package files missing 'ws' also updated (#551)
cmroche Sep 20, 2017
b6059a6
Create raspberrypi.md (#555)
brucetus Sep 21, 2017
1b36375
fix wording in forex analytics doc. (#556)
BarnumD Sep 22, 2017
156954e
Interactive CUI update (#559)
nedievas Sep 25, 2017
074b63a
Correcting asset and currency formating (#560)
nedievas Sep 25, 2017
7cd1a16
npm dependencies for CUI update (#561)
nedievas Sep 25, 2017
115e659
repair npm crash (#562)
nedievas Sep 25, 2017
fcc7fd9
some missing settings (#567)
benwa Sep 26, 2017
c48cfca
CCI SRSI (#565)
talvasconcelos Sep 26, 2017
90189e2
updates to CCI-SRSI strategy (#568)
talvasconcelos Sep 26, 2017
24189e6
Refactor bootstrap to address issues with windows docker builds (#549)
cmroche Sep 26, 2017
c170617
Update README.md (#569)
brucetus Sep 27, 2017
3c5ccfb
Update README (#570)
evseevnn-zz Sep 27, 2017
f08035e
Update packages-lock to unclude 'cliff' and depencies (#576)
cmroche Oct 2, 2017
78aa66e
Genetic back tester (#577)
cmroche Oct 2, 2017
f68d349
Fix call to zenbot.sh (#579)
cmroche Oct 3, 2017
805cbbc
Filter the simulation output from ansi-codes so that the results can …
JensvdHeydt Oct 3, 2017
6c541b6
#455 increase getTrades time window from 2 to 12 hours (#580)
ratajczak Oct 4, 2017
815842d
Genetic backtester: make executable (#584)
DeviaVir Oct 4, 2017
b26fd8b
Fix min_periods for sar strategy (#587)
Marbel Oct 5, 2017
56dd31a
Add ta_macd and ta_ema strategies for genetic backtesting (#586)
Marbel Oct 5, 2017
c75241b
remove outdated sentence (#591)
dialex Oct 5, 2017
53679c7
CUI update (#588)
nedievas Oct 5, 2017
20e7079
Move Discord link down + Cleanup (#592)
dialex Oct 5, 2017
74697bd
Add notifiers: slack, ifttt, xmpp, pushbullet (#595)
DeviaVir Oct 6, 2017
379b8e9
Genetic algorithm to fine tune strategy parameters (#598)
DeviaVir Oct 7, 2017
5e512d6
Preconfigured container to use adminMongo with zenbot_mongod… (#599)
JensvdHeydt Oct 9, 2017
a0aa7cf
Corrected Project / Connection Name for adminMongo (#602)
JensvdHeydt Oct 9, 2017
86f0e43
send push messages only if in live or paper mode (#605) (#607)
emabo Oct 11, 2017
f8d3be2
CEXIO exchange (#606)
nedievas Oct 11, 2017
7c547f4
CEXIO API upgrade (#612)
nedievas Oct 12, 2017
1769b1c
README.md info update with added exchanges (#614)
nedievas Oct 12, 2017
f32738e
HitBTC Exchange Support (#620)
dhingra Oct 13, 2017
c3e525d
fix the 50% chance that taker or maker fee getting selected (#618)
Marbel Oct 13, 2017
81ef9de
Fix kraken products for krakens update on decimal precision (#616)
Marbel Oct 13, 2017
46f8f50
GDAX: cancel_after (#596)
DeviaVir Oct 13, 2017
3528206
change calls for zenbot script in genetic algo directory (#603)
emabo Oct 13, 2017
97ebbb1
CEXIO API not updated duo to faulty version integrity (#623)
nedievas Oct 13, 2017
b4e5308
Added discord notifier (#624)
Niller2005 Oct 13, 2017
7bfd068
TheRockTrading: initial setup (#622)
DeviaVir Oct 13, 2017
2f32ee0
Added discord notifier (#627)
Niller2005 Oct 13, 2017
bb006bb
Fix for something i broke (#625)
Niller2005 Oct 13, 2017
1c72aae
Set defaults for cancel_after and order_type (#629)
DeviaVir Oct 13, 2017
ce914c5
Cancel after fix (#631)
DeviaVir Oct 13, 2017
fa11341
Update engine.js (#632)
sniper7kills Oct 13, 2017
a55f77c
Pulls min_size from Bittrex instead of being a static value. Creates…
jerrytunin Oct 24, 2017
0937ff6
CEXIO backfill, balance and incorrect nonce bugfix (#644)
nedievas Oct 24, 2017
6b29ec8
Update raspberrypi.md (#651)
brucetus Oct 24, 2017
795e1b0
Ubuntu 16.04 Specific (#645)
sniper7kills Oct 24, 2017
a173c49
Adding order completion messages to notifications (#639)
dsrikanth Oct 24, 2017
62628cf
print stats while running trade command without exiting (#630) (#637)
emabo Oct 24, 2017
204d2d8
add html files for trade stats to .gitignore (#636)
emabo Oct 24, 2017
824533a
HitBTC code cleaning (#633)
nedievas Oct 24, 2017
8f478ff
Genetic backtester fix (#656)
FunFR Oct 25, 2017
4adc846
docker-compose based command interface (#663)
dkarlovi Oct 30, 2017
5102a65
fix parsing error in genetic backtesting doesnt remove terminal color…
jrots Oct 31, 2017
dede2f8
Fix balance when printing stats (fix #657) (#675)
emabo Nov 2, 2017
9cd5dd2
Backfill duplicated entry error fix (#672)
nedievas Nov 2, 2017
f56f710
Fix issue #679 (#680)
nedievas Nov 3, 2017
5cec9f7
Add all needed options for running trust_distrust strategy on genetic…
emabo Nov 6, 2017
38c228d
Added prowl notifier (#690)
bryanberger Nov 8, 2017
4358dc9
Update README.md (#706)
boscoybarra Nov 14, 2017
13f9bf7
Update to HitBTC 2.0 (not fully functional) (#707)
brucetus Nov 14, 2017
60a9945
Fix For #659 (#710)
KryptoNova Nov 15, 2017
61fcb10
Bittrex and Insufficient Funds (#708) (#711)
KryptoNova Nov 15, 2017
5a373ea
Different Bittrex error (#659) (#715)
KryptoNova Nov 16, 2017
d6f1169
Split markup_pct into markdown_buy_pct and markup_sell_pct (#720)
brucetus Nov 16, 2017
00bc56a
Fix for buy_pct (#724) (#725)
KryptoNova Nov 17, 2017
245b1f7
Fix poll_trades From Command Line (#730)
KryptoNova Nov 18, 2017
429f0dc
Fix Volume in Bittrex Adapter (#729)
KryptoNova Nov 18, 2017
c847a76
Update README.md (#734)
abduegal Nov 20, 2017
5dccb6d
Added currency to the notifications via bots (#737)
mxaddict Nov 21, 2017
0b3056a
Threaded neural strat. This time it works :) (#718)
Nov 21, 2017
5fbfccf
Updated the bitfinex products.json file (#744)
mxaddict Nov 24, 2017
74f1b48
Notification update for clearer messages. (#745)
nedievas Nov 24, 2017
e381174
More technical indicators + textbelt notifier (#747)
Nov 26, 2017
1ee798f
Fix for symmetrical option causing sim error (#751)
pjbollinger Nov 26, 2017
8379c4a
fix prices for bitfinex exchanger (#746)
Nov 27, 2017
18c1e69
Fix sim symmetrical freezing (#753)
pjbollinger Nov 27, 2017
386ffc1
should pass sandbox config for gemini regardless of public or private…
jasperboyd Nov 27, 2017
01006f9
Remove BTC-E. Run update-products.sh across the exchanges. (#757)
DeviaVir Nov 27, 2017
8b9b5c0
add Bitcoin Gold in hitbtc (#759)
mjniuz Nov 28, 2017
40cccc2
Added neural strategy for backtester (#761)
darland Nov 28, 2017
5042864
Fixed an issue with the exit from sim using neural strategy. (#767)
darland Nov 29, 2017
bc5a02a
Prevent poloniex returnOpenOrders API error from tricking zenbot into…
tiagosiebler Nov 30, 2017
a8ac801
Wex.NZ (#771)
Nov 30, 2017
5a1a9e5
CEXIO error handling (#783)
nedievas Dec 4, 2017
9c10a72
Some touch-ups to wexnz exchange. (#790)
Dec 4, 2017
022f649
Add two commands to output live HTML chart without killing zenbot. Ei…
tiagosiebler Dec 4, 2017
6b293bd
Added Binance to Zenbot (#782)
abduegal Dec 4, 2017
d070134
Rest API Support for zenbot (#797)
abduegal Dec 4, 2017
20d6f6e
Fix kraken products decimal precision in update-products.sh (#794)
MT00x Dec 5, 2017
b16c65a
Catching more recoverable connection errors in Kraken (#805)
MT00x Dec 6, 2017
36916e9
Corrected argument usage on example notes (#810)
hvsw Dec 7, 2017
fb66842
Add binance to conf.js (#819)
brucetus Dec 8, 2017
657d277
Stupid typo (#823)
brucetus Dec 8, 2017
bef0845
Extended backtesting info (#832)
evseevnn-zz Dec 11, 2017
3a1bf6d
Add "engines" field to package.json (#828)
Dec 11, 2017
099dcd5
Added bind_ip_all to mongodb. (#833)
jwalterclark Dec 11, 2017
ca5420f
Catching more recoverable connection errors in Kraken (#841)
MT00x Dec 12, 2017
b2e419e
Fix Kraken products minimun order size (#836)
MT00x Dec 12, 2017
862ff6d
Added XRP and BTG selectors (#846)
yellowcandle Dec 12, 2017
d0a444f
Fix market order actual price (#847)
MT00x Dec 12, 2017
ba92e19
Refactor method for notification. (#852)
darland Dec 13, 2017
80d7fbb
Add simple crossover_vwap strategy with vwap indicator. (#853)
tiagosiebler Dec 13, 2017
fca1bea
Instead of hardcoding which values are included in the export, includ…
tiagosiebler Dec 13, 2017
090c554
Fixed issue with send notification (#855)
darland Dec 13, 2017
e27d9f2
Add crossover_vwap strategy to readme & genetic backtester. (#858)
tiagosiebler Dec 14, 2017
f40493c
Update strategy.js (#863)
Dec 14, 2017
02c74bb
stddev calculate on period (#826)
Dec 14, 2017
f30a00d
Create ISSUE_TEMPLATE.md
DeviaVir Dec 15, 2017
aa505d0
Create CODE_OF_CONDUCT.md (#880)
DeviaVir Dec 15, 2017
5c3dd38
Create LICENSE (#881)
DeviaVir Dec 15, 2017
2a35b88
Enable discord customizations (#778)
ehazlett Dec 15, 2017
f921660
Apply sim slippage to taker order only with current price instead of …
FunFR Dec 15, 2017
702f5ee
Fixed VMA calculation (#763)
Dec 15, 2017
2c7b9de
[CHG] SIM: use human datetime format for start/end parameter (#883)
tfossoul Dec 15, 2017
15d70f1
Adding stackoverflow link to README file. (#897)
dshetyo Dec 17, 2017
b4bc49d
Slow Stochastic Oscillator (#896)
Dec 17, 2017
e2481c4
Improve XMPP reliability (#894)
defkev Dec 17, 2017
0b18d74
HTML report graphs use green arrows when buying (#888)
Wood-Chopper Dec 17, 2017
385b835
make sure that a wrong API key, will yield an exception to save some …
sassman Dec 17, 2017
3e854b6
[Bitstamp] Fix order completion detection & balance reading during op…
tiagosiebler Dec 18, 2017
461e8c1
Tweak crossover_vwap genetic testing ranges/parameters for increased …
tiagosiebler Dec 18, 2017
e2a253f
Expansion on PR #854, missed this hardcoded section in the auto-dump …
tiagosiebler Dec 18, 2017
dbc08fa
Add exchange-specific tips to help others avoid similar headaches. (#…
tiagosiebler Dec 18, 2017
72405cb
Made use of timebucket in calculating current_days_left, for consiste…
haxwell Dec 18, 2017
3f951ea
Issue #769, added code which attempts to load the configuration file …
haxwell Dec 18, 2017
f6c5f44
Fix Docker by being specific about what version of Node should be use…
jshbrntt Dec 18, 2017
6a58977
Add telegram notifier (#920)
Want100Cookies Dec 18, 2017
da3d399
Add priority (#921)
DeviaVir Dec 18, 2017
ce1a3cc
Use numbro fork (#930)
DeviaVir Dec 19, 2017
5811085
update cexio (#931)
FunFR Dec 19, 2017
90870a7
rename so period to so period size (#926)
haxwell Dec 19, 2017
3e57c4d
CEXIO REST version uptodate & added debug option (#936)
nedievas Dec 19, 2017
d1282e5
CEXIO api update to version 1.0.8 - solves Nonce increment error (#945)
nedievas Dec 20, 2017
4dcf55d
In addition to the options on a command, there are options on (#940)
haxwell Dec 20, 2017
8b0b615
GDAX now supports Bitcoin Cash (BCH) (#948)
Niller2005 Dec 20, 2017
1e95c4e
Add asset value to balance output (#950)
fuzzyTew Dec 20, 2017
626890a
GDAX getQuote: return an error if market is empty (#953)
fuzzyTew Dec 20, 2017
4f9b8d7
Set poll time for buy/sell commands to not overflow server (#954)
fuzzyTew Dec 20, 2017
768dba0
CEXIO fixed wrong PR #931 for error catching (#956)
nedievas Dec 20, 2017
9435450
Add post-install to remove .git folder from forex.analytics npm modul…
tiagosiebler Dec 20, 2017
347e0b9
replace normalize selector paradigm with hopefully cleaner objectify …
haxwell Dec 21, 2017
4d9039e
Added --save-dev dependencies necessary for running backtests. (#961)
haxwell Dec 21, 2017
51c156e
Issue938 a (#960)
haxwell Dec 21, 2017
4feae44
--periodLength value is kept in sim, trade, train commands (#966)
haxwell Dec 21, 2017
3fb1a62
Don't generate file if filename is none (#971)
krystophv Dec 21, 2017
78479db
Enhance MongoDB authentication logic avoid deprecated Db.prototype.au…
tiagosiebler Dec 22, 2017
2af8a0b
Initialise authStr in case username is blank in conf. (#973)
tiagosiebler Dec 22, 2017
17303e7
Add basic docs on darwin.js/ genetic backtester (#997)
tiagosiebler Dec 27, 2017
726667c
Small fixes for drops in objectify-selector changes (#995)
fuzzyTew Dec 27, 2017
069a8e3
gdax error: use format described in zenbot docs (#993)
fuzzyTew Dec 27, 2017
ad85222
GDAX: Ran update-products.sh on products.json (#991)
fuzzyTew Dec 27, 2017
0df692f
fix exchange response key (#990)
leonzinger Dec 27, 2017
5c35de2
Updated trendline "AP markup mode", profitable neural. Examples.... (…
Dec 27, 2017
1c9ed2b
Chaikin Money Flow oscillator (#987)
Dec 27, 2017
92e194e
DEBUG option (#984)
nedievas Dec 27, 2017
cdd3352
Fixed bug where the "stop loss" protection was not triggering. This w…
acecilia Dec 27, 2017
418e77b
CEXIO renew update-producs.sh (#980)
nedievas Dec 27, 2017
3ba3f8a
Tweaked XRP increments for Bitstamp & fixed invalid date messages (#976)
tiagosiebler Dec 27, 2017
27b6168
Include trendline strategy for genetic backtesting (#977)
yang2lalang Dec 27, 2017
f12a32b
Fix typo in phenotype.js (fixes #992 & #963) (#998)
tiagosiebler Dec 27, 2017
92ea0a2
Enable support for --start and --end in darwin.js (#1002)
glennfu Dec 27, 2017
e21c7e1
For #924 - Resolve bad output detected on neural strategy (#1003)
glennfu Dec 27, 2017
55e5127
Update darwin.js (#1006)
shr00mie Dec 27, 2017
a1b2c78
Changed references in the Strategy objects of the backtesters to 'per…
haxwell Dec 28, 2017
d266a8a
Fixes for recent darwin.js errors & enhancements to per generation ou…
tiagosiebler Dec 28, 2017
ec49f74
Revert #990. Cannot assume every currency has the same prefix, there …
tiagosiebler Dec 28, 2017
8088261
Jasmine refactor/backfill command/creating collections service2 (#974)
haxwell Dec 28, 2017
b42e7c5
Resolve security problem
DeviaVir Dec 28, 2017
438dcef
Update exchange.js (#70)
Mirabis Dec 28, 2017
2cd3640
Merge branch 'master' into unstable
DeviaVir Dec 28, 2017
a318c8b
Update README
DeviaVir Dec 28, 2017
3dc5436
Update README again
DeviaVir Dec 28, 2017
974629a
Add basic websocket support for GDAX (#970)
krystophv Dec 28, 2017
2939541
Merge branch 'master' of github.com:/DeviaVir/zenbot into unstable
DeviaVir Dec 28, 2017
ac25ca8
add generation data to gitignore (#1012)
kernelsndrs Dec 28, 2017
8dc23f6
Migrated base code from pull #850 minus dist files and bower code, as…
kernelsndrs Dec 28, 2017
40e68a1
Add popper.js for bootstrap
kernelsndrs Dec 28, 2017
e3dbad4
add bootstrap, associated packages, and webpack
kernelsndrs Dec 28, 2017
4f316b2
add more dependencies, remove bootstrap-loader
kernelsndrs Dec 28, 2017
5098661
add babel-preset-es2015
kernelsndrs Dec 28, 2017
e03b34c
remove bootstrap css from app.js
kernelsndrs Dec 28, 2017
6f0c911
integrate non-intrusive changes, convert from bower to webpack, conde…
kernelsndrs Dec 28, 2017
7fa4de0
add generation data to gitignore
kernelsndrs Dec 28, 2017
31c168f
add webpack dist folder to .gitignore
kernelsndrs Dec 28, 2017
437e67c
modify col-xs-* to col-*, per bootstrap 4
kernelsndrs Dec 28, 2017
de6d35e
fix typo
kernelsndrs Dec 28, 2017
286f120
code from PR #850, seems to add extra stats to the tradeObject consum…
kernelsndrs Dec 28, 2017
8f3e89b
Add basic README info
kernelsndrs Dec 28, 2017
b0c8359
accidental backtick inserted
kernelsndrs Dec 28, 2017
f84c71e
Merge branch 'unstable' into UI
kernelsndrs Dec 28, 2017
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
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
data
23 changes: 23 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true

[*.{js,json}]
charset = utf-8
indent_style = space

[*.{js,yml}]
indent_size = 2

[*.{json,sh}]
indent_size = 4

[Makefile]
indent_style = tab

[{package.json,.travis.yml}]
indent_style = space
indent_size = 2
26 changes: 26 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"rules": {
"no-console": 0,
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"never"
]
}
}
28 changes: 28 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
.DS_Store
*.tar.gz
*.log.*
t.js
node_modules
npm-debug.log
db.json
dump
conf/secret.json
github.pub
github
config.js
config.patch
data/*
conf.js
conf-*
conf_*
!conf-sample.js
sim_result*
trade_result*
*_test
backtesting_*
generation_data_*
models/*.json
models/*.html
*.pyc
*.swp
temp.html
logs
.sync
dist/*
6 changes: 6 additions & 0 deletions .jsbeautifyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"indent_size": 2,
"js": {
"preserve-newlines": true
}
}
46 changes: 46 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at carlos@s8f.org. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM node:8

RUN mkdir -p /app
WORKDIR /app

COPY package.json /app/
RUN npm install -g node-gyp && npm install --unsafe-perm

COPY . /app
RUN ln -s /app/zenbot.sh /usr/local/bin/zenbot

ENV NODE_ENV production

ENTRYPOINT ["/usr/local/bin/node", "zenbot.js"]
CMD [ "trade", "--paper" ]
26 changes: 26 additions & 0 deletions ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Please go to Stack Overflow for help and support:

https://stackoverflow.com/questions/tagged/zenbot

If you open a GitHub issue, here is our policy:

1. It must be a bug or a feature request.
2. The form below must be filled out.

**Here's why we have that policy**: Zenbot developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies hundreds of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

------------------------

### System information
- **Have I written custom code (as opposed to using zenbot vanilla)**:
- **OS Platform and Distribution (e.g., Linux Ubuntu 16.04)**:
- **Zenbot version**:
- **NodeJS version**:
- **Python version**:
- **Exact command to reproduce**:

### Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in Zenbot or a feature request.

### Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2017 Carlos Rodriguez

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading