{"action":"created","issue":{"url":"https://api.github.com/repos/owocki/pytrader/issues/13","repository_url":"https://api.github.com/repos/owocki/pytrader","labels_url":"https://api.github.com/repos/owocki/pytrader/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/owocki/pytrader/issues/13/comments","events_url":"https://api.github.com/repos/owocki/pytrader/issues/13/events","html_url":"https://github.com/owocki/pytrader/issues/13","id":143895444,"number":13,"title":"Contributions Business Model","user":{"login":"rmendes900","id":8158745,"avatar_url":"https://avatars.githubusercontent.com/u/8158745?v=3","gravatar_id":"","url":"https://api.github.com/users/rmendes900","html_url":"https://github.com/rmendes900","followers_url":"https://api.github.com/users/rmendes900/followers","following_url":"https://api.github.com/users/rmendes900/following{/other_user}","gists_url":"https://api.github.com/users/rmendes900/gists{/gist_id}","starred_url":"https://api.github.com/users/rmendes900/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmendes900/subscriptions","organizations_url":"https://api.github.com/users/rmendes900/orgs","repos_url":"https://api.github.com/users/rmendes900/repos","events_url":"https://api.github.com/users/rmendes900/events{/privacy}","received_events_url":"https://api.github.com/users/rmendes900/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owocki/pytrader/labels/planning","name":"planning","color":"c5def5"},{"url":"https://api.github.com/repos/owocki/pytrader/labels/profitability","name":"profitability","color":"0e8a16"},{"url":"https://api.github.com/repos/owocki/pytrader/labels/risk%20management","name":"risk management","color":"c2e0c6"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-28T05:16:31Z","updated_at":"2016-03-30T02:54:41Z","closed_at":null,"body":"Hi @owocki ,\r\n\r\nAs I told you I was checking your code. I dint deploy yet, but I will do it. I have a few knowledge at AI and I was trying to understand. Anyhow, i think maybe you are teaching with poor info your machine, as I understood, you are doing that with the Poloniex Trading Book behavior.\r\n\r\n- First -\r\nAs you are trading BTC/USD and BTC/ETH pair you might get the better info for that. As I understand, the job here is to make the bot predict and take the best decision and execute. The financial market anticipate the moves, so, you have to give the bot a good source, and for this case you should work with OKCOIN, KRAKEN, BITFINEX and BTC-e, because Poloniex traders are following those companies Book, so if you have this source of learning combined with Poloniex Book, you will execute first than the others and probably will have more profit.\r\n\r\n- Second - \r\nInstruments\r\nSpot, Futures and Swaps have different behaviors and trade mechanics.\r\nAs your bot (by now) is working only with Spot doing arbitrage between pairs, you have to first, decide witch pair will be your net asset reference (BTC, USD, ETH.....) because doing arbitrage you only increase your asset in one.(exemple: imagine if you buy today 1 BTC for 420 and at same time you by ETH with those BTC's, and ETH goes UP 3% and you sell, but at the same time BTC goes down 12%. If your Asset in reference is USD, you are loosing money).\r\nFor Futures and Swaps is other discussion, and we can do it further.\r\n\r\n-Third -  \r\nSize\r\nYour size (Amount of Trade) is very important and is part of you Risk Management.\r\nSome Trade Books from some Exchanges doesn't have enough liquidity to your minute/hour/daily volume, and if you push too much executions at the book, you can disturb the market behavior compromising a bullish strategy (Example. You have 10 BTC to be liquidate, and the bot knows that he can start to sell, but the market is not confident yet to place big orders at that level, if you place an \"anchor order\" (big order) or start to execute big orders, you can clean the buy side book before it came at the level that you need)\r\n \r\n- Fourth- \r\nTimeframe\r\nThe Timeframe is extremely important specially at the Spot doing arbitrage, and might be considered according to your size.\r\nYou have to analyze and teach that to the bot, the 12h, 6h, 4h, 2h, 1h, 30min, 15min, 5 min and 1 min. Timeframe, in order to understand the Pivots, Support, Resistance and Trade Volume. Those information are crucial, specially at the arbitrage. You cant allow the Bot to buy at the top of resistance or sell at the support (depends of the Market Trend). You have a lot of reference of this at tradingview.com and I can share some charts to you to understand better.\r\n\r\nWell, has a lot more to include on this machine, but to make this working fine, you already did a lot and very nice job. If we start to follow those statements we can improve your code and make a money machine.\r\n\r\nAs soon as I deploy your code I let you know.\r\nRM\r\n  \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/owocki/pytrader/issues/comments/203216037","html_url":"https://github.com/owocki/pytrader/issues/13#issuecomment-203216037","issue_url":"https://api.github.com/repos/owocki/pytrader/issues/13","id":203216037,"user":{"login":"rmendes900","id":8158745,"avatar_url":"https://avatars.githubusercontent.com/u/8158745?v=3","gravatar_id":"","url":"https://api.github.com/users/rmendes900","html_url":"https://github.com/rmendes900","followers_url":"https://api.github.com/users/rmendes900/followers","following_url":"https://api.github.com/users/rmendes900/following{/other_user}","gists_url":"https://api.github.com/users/rmendes900/gists{/gist_id}","starred_url":"https://api.github.com/users/rmendes900/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmendes900/subscriptions","organizations_url":"https://api.github.com/users/rmendes900/orgs","repos_url":"https://api.github.com/users/rmendes900/repos","events_url":"https://api.github.com/users/rmendes900/events{/privacy}","received_events_url":"https://api.github.com/users/rmendes900/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T02:54:41Z","updated_at":"2016-03-30T02:54:41Z","body":"Hi @owocki , soory for the delay, but I am very busy with some activities here.\r\nI was thinking here, maybe we can add some big data tool to process the data as Hadoop and delivery to machine learning. What do you think?"}}