New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bittrex monitoring for Gekko Broker #2310

Merged
merged 6 commits into from Jul 15, 2018

Conversation

Projects
None yet
5 participants
@askmike
Copy link
Owner

askmike commented Jul 15, 2018

I've updated bittrex to Gekko Broker & Gekko v0.6, it now supports monitoring.

However when trying out live trading I keep running into this problem: #1054. Because of it I won't be able to add live trading to bittrex until we can workaround or fix that.

@askmike askmike referenced this pull request Jul 15, 2018

Closed

API key invalid - bittrex #1054

@askmike askmike changed the title [WIP/STALE] Update bittrex for Gekko Broker bittrex monitoring for Gekko Broker Jul 15, 2018

@askmike askmike merged commit 62f5b6a into develop Jul 15, 2018

4 checks passed

continuous-integration/appveyor/branch AppVeyor build succeeded
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@askmike askmike deleted the feature/gb-bittrex branch Jul 17, 2018

This was referenced Jul 21, 2018

@81nary

This comment has been minimized.

Copy link

81nary commented Jul 21, 2018

API Keys for Bittrex seem to work here on v0.6.3 develop (with setting tradable to true). I get the correct Portfolio/Balance reported, i assume by getPortfolio call, when i start up a trader.

@askmike

This comment has been minimized.

Copy link
Owner

askmike commented Jul 21, 2018

Very strange, are those old API keys or did you just generate them? I've created 3 new pairs and they all give the same rror.

@81nary

This comment has been minimized.

Copy link

81nary commented Jul 21, 2018

They are a few months old, but i checked and new ones are working too. I double checked and deleted them on bittrex giving me the expected APIKEY_INVALID when i restarted the trader. I'd send you a pair via mail if it helps investigating the issue.

Log excerpt:

[...]
Gekko v0.6.3
I'm gonna make you rich, Bud Fox.

2018-07-21 18:39:44 (INFO): Setting up Gekko in realtime mode
2018-07-21 18:39:44 (INFO):
2018-07-21 18:39:44 (INFO): Setting up:
2018-07-21 18:39:44 (INFO): Trading Advisor
2018-07-21 18:39:44 (INFO): Calculate trading advice
[...]
2018-07-21 18:39:45 (INFO): Usable local data available, trying to match with exchange data..
2018-07-21 18:39:45 (INFO): Full history locally available. Seeding the trading method with all required historical candles.
2018-07-21 18:39:46 (INFO): Setting up:
2018-07-21 18:39:46 (INFO): Telegram bot
2018-07-21 18:39:46 (INFO): Telegram module lets you communicate with Gekko on Telegram.
2018-07-21 18:39:46 (INFO):

2018-07-21 18:39:46 (INFO): Setting up:
2018-07-21 18:39:46 (INFO): Trader
2018-07-21 18:39:46 (INFO): Follows the advice and create real orders.
2018-07-21 18:39:46 (INFO):

2018-07-21 18:39:51 (INFO): Portfolio:
2018-07-21 18:39:51 (INFO): xxx ETH
2018-07-21 18:39:51 (INFO): xxx XRP
2018-07-21 18:39:51 (INFO): Balance:
2018-07-21 18:39:51 (INFO): xxx ETH
2018-07-21 18:39:51 (INFO): Exposed:
2018-07-21 18:39:51 (INFO): no (0.04%)
2018-07-21 18:39:51 (INFO): Setting up:
2018-07-21 18:39:51 (INFO): Performance Analyzer
2018-07-21 18:39:51 (INFO): Analyzes performances of trades
2018-07-21 18:39:51 (INFO):

2018-07-21 18:39:51 (INFO): Setting up:
2018-07-21 18:39:51 (INFO): Event logger
2018-07-21 18:39:51 (INFO): Logs all gekko events.
2018-07-21 18:39:51 (INFO):

2018-07-21 18:39:51 (INFO): Starting to watch the market: bittrex XRP/ETH

@askmike

This comment has been minimized.

Copy link
Owner

askmike commented Jul 21, 2018

@GO1984

This comment has been minimized.

Copy link

GO1984 commented Jul 30, 2018

Are there any news to this as i would like to trade on bittrex?

@askmike

This comment has been minimized.

Copy link
Owner

askmike commented Jul 31, 2018

@81nary

This comment has been minimized.

Copy link

81nary commented Jul 31, 2018

Here with working api keys, on trade, it does not exactly look like a crash but gekko gets restarted via pm2. Though the order is placed and shows up at bittrex.

[....]
2018-07-31 13:15:24 (INFO): Trader Received advice to go short. Selling XRP
[bittrex sell] undefined { success: true,
message: '',
result: { uuid: '0844500a-1766-1233-0000-000000000' } }
checkOrder { success: true,
message: '',
result:
[ { Uuid: null,
OrderUuid: ''0844500a-1766-1233-0000-000000000',
Exchange: 'ETH-XRP',
OrderType: 'LIMIT_SELL',
Quantity: 1234,
QuantityRemaining: 1234,
Limit: 0.001005,
CommissionPaid: 0,
Price: 0,
PricePerUnit: null,
Opened: '2018-07-31T11:15:29.6',
Closed: null,
CancelInitiated: false,
ImmediateOrCancel: false,
IsConditional: false,
Condition: 'NONE',
ConditionTarget: null } ] }

______   ________  __    __  __    __   ______

/ \ / |/ | / |/ | / | /
/$$$$$$ |$$$$$$$$/ $$ | /$$/ $$ | /$$/ /$$$$$$ |
$$ | $$/ $$ |_ $$ |/$$/ $$ |/$$/ $$ | $$ |
$$ |/ |$$ | $$ $$< $$ $$< $$ | $$ |
$$ |$$$$ |$$$$$/ $$$$$ \ $$$$$ \ $$ | $$ |
$$ _$$ |$$ |_____ $$ |$$ \ $$ |$$ \ $$ _$$ |
$$ $$/ $$ |$$ | $$ |$$ | $$ |$$ $$/
$$$$$$/ $$$$$$$$/ $$/ $$/ $$/ $$/ $$$$$$/

    Gekko v0.6.3

[...]

@Kbam7

This comment has been minimized.

Copy link

Kbam7 commented Sep 9, 2018

Hi, just wondering if the API issues with Bittrex have been solved? If not, which issue can I follow for updates?

@askmike

This comment has been minimized.

Copy link
Owner

askmike commented Sep 9, 2018

@Kbam7

This comment has been minimized.

Copy link

Kbam7 commented Sep 9, 2018

Okay, thank you

@Gudui

This comment has been minimized.

Copy link

Gudui commented Nov 3, 2018

Any update on this, are we never gonna have API support for bitrex?

@askmike askmike referenced this pull request Nov 9, 2018

Closed

Bittrex API error message #2632

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment