ekosz / bitcoin_arbitrage Goto Github PK
View Code? Open in Web Editor NEWFind arbitrage opportunities in the MtGox bitcoin market
Find arbitrage opportunities in the MtGox bitcoin market
I keep getting the following error constantly. Haven't been able to figure out the cause.
$ iex -S mix
Erlang R15B03 (erts-5.9.3.1) [source] [64-bit] [smp:2:2] [async-threads:0] [hipe] [kernel-poll:false] [dtrace]
Compiled lib/bit_arb.ex
Compiled lib/bit_arb/direction_predictor.ex
Compiled lib/bit_arb/bank.ex
Compiled lib/bit_arb/exchange_rate_getter.ex
Compiled lib/bit_arb/json_getter.ex
Compiled lib/bit_arb/mtgox_getter.ex
Compiled lib/bit_arb/otp/direction_predictor.ex
Compiled lib/bit_arb/otp/bank.ex
Compiled lib/bit_arb/otp/exchange_rate_poller.ex
Compiled lib/bit_arb/otp/mtgox_poller.ex
Compiled lib/bit_arb/otp/trade_maker_sup.ex
Compiled lib/bit_arb/otp/trade_sup.ex
Compiled lib/bit_arb/trade_maker.ex
Compiled lib/bit_arb/trade.ex
/Code/bitcoin_arbitrage/lib/bit_arb/otp/trade_maker.ex:44: variable diff is unused
Compiled lib/bit_arb/otp/trade_maker.ex
/Code/bitcoin_arbitrage/lib/bit_arb/otp/trade.ex:30: variable reason is unused
Compiled lib/bit_arb/otp/trade.ex
Compiled lib/bit_arb_sup.ex
Generated bit_arb.app
20:22:07.120 [info] Application lager started on node nonode@nohost
20:22:07.122 [info] Application exlager started on node nonode@nohost
20:22:07.239 [info] Application inets started on node nonode@nohost
Interactive Elixir (0.8.2) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> 20:22:07.702 [info] Application bit_arb started on node nonode@nohost
20:22:31.593 [error] gen_server 'Elixir-BitArb-OTP-MtgoxPoller' terminated with reason: {'module could not be loaded',[{nil,sleep,[1000],[]},{'Elixir-BitArb-OTP-MtgoxPoller','-handle_info/2-fun-0-',3,[{file,"/Code/bitcoin_arbitrage/lib/bit_arb/otp/mtgox_poller.ex"},{line,65}]},{lists,foldl,3,[{file,"lists.erl"},{line,1197}]},{'Elixir-BitArb-OTP-MtgoxPoller',handle_info,2,[{file,"/Code/bitcoin_arbitrage/lib/bit_arb/otp/mtgox_poller.ex"},{line,63}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},...]},...]}
20:22:31.598 [error] CRASH REPORT Process 'Elixir-BitArb-OTP-MtgoxPoller' with 0 neighbours exited with reason: call to undefined function nil:sleep(1000) in gen_server:terminate/6 line 747
20:22:31.598 [error] Supervisor {<0.181.0>,'Elixir-BitArbSup'} had child 'Elixir-BitArb-OTP-MtgoxPoller' started with 'Elixir-BitArb-OTP-MtgoxPoller':start_link() at <0.187.0> exit with reason call to undefined function nil:sleep(1000) in context child_terminated
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.