Skip to content

Commit

Permalink
Updated exchange integrations to libcurl instead of libuws.
Browse files Browse the repository at this point in the history
Free Software Free Society

To increase the frequency of commits by ctubio,
you can buy-me-a-drink with a small git-tip at:
  1GitTipB6sY2YSbkH3BJHepUB7Cjymi9R1 (BTC addr)

To force me to write more source documentation,
you can buy-me-a-drink with a small doc-tip at:
  1KDocsmbhUEh7JgmYjuMH3nDivzSM6dphP (BTC addr)

I promise to drink chocolate milk after commit.

To request new features or in case this commit breaks something for you,
please, create a new github issue with all possible information for me,
but never share your API Keys!

Signed-off-by: Carles Tubio <[email protected]>
  • Loading branch information
ctubio committed May 31, 2019
1 parent 4bcde02 commit 972abea
Show file tree
Hide file tree
Showing 7 changed files with 3,085 additions and 2,856 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
K ?= K.sh
MAJOR = 0
MINOR = 4
PATCH = 13
BUILD = 46
MINOR = 5
PATCH = 0
BUILD = 0
SOURCE := $(notdir $(wildcard src/bin/*))
CARCH = x86_64-linux-gnu \
arm-linux-gnueabihf \
Expand Down
2 changes: 1 addition & 1 deletion src/bin/trading-bot/trading-bot.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class Engine: public Klass {
};
void run() override {
K.timer_1s([&](const unsigned int &tick) {
if (!K.gateway->countdown and !levels.warn_empty()) {
if (K.gateway->waiting() and !levels.warn_empty()) {
levels.timer_1s();
if (!(tick % 60)) {
levels.timer_60s();
Expand Down
Loading

0 comments on commit 972abea

Please sign in to comment.