9 Great Tools for Algo Trading | Hacker Noon

5 minutes to set up Bitcoin historical price data for Python trading algos

We show step-by-step instruction to setup Bitcoin historical price data for python trading algos in 5 minutes. We appreciate your feedback if this kinda post is useful here!
submitted by alpacahq to Python [link] [comments]

Why I'll transform Reddit into a new online economy

I've been a Redditor since the great Digg migration and have been a Fintech & Crypto professional my entire career. My journey into tech started by discovering a post on Reddit about a new p2p cash payment system called Bitcoin in 2010. I was immediately a trader and miner, and taught myself to code in Python to create a trading algorithm in 2014. The algo became fairly successful and I decided to pursue a higher degree of education at Cornell Tech where I received an MBA but furthered my technical skills around data, systems engineering, and blockchain. I spent over two years innovating consumer fintech for CitiBank at Citi Ventures and enterprise fintech at JP Morgan, and in 2017 I left to start my own social crypto wallet called Mirian. I also part-time consulted on token design and economics for organizations including the Ethereum Foundation.
Mirian was and still is ahead of its time, but it didn't grow to its potential after peaking at 1000+ users due to some personal mishaps along with some first-time founder mistakes I made. Nonetheless, I received an opportunity to move to Silicon Valley and work with a startup called Peernova, where I've spent my last year as a Sr. PM applying my deep crypto and data knowledge to construct new types of digital economies intertwined with data analytics.
As I look for something new and exciting to tackle in my career and continue Redditing more than I'd like to admit, I can't think of a more suited opportunity to apply my skills than shaping the future of Paid Digital Goods at Reddit. I believe my experience in incentive and token design for consumer apps like Mirian or ones I've been working on for the World Bank at Peernova can be the catalyst Reddit is looking for to propel its Paid Goods strategy and foothold. I can't fathom how excited I'd be to dig into the digital goods data at Reddit and shape a roadmap around the behavioral patterns I discover on their use.
I look forward to your review of my background and application.
Many thanks for reading, Murat
submitted by newredditpm to u/newredditpm [link] [comments]

My 10 Months Journey in Algo Trading - A trip down the rabbit hole. (And why you should be persistent)

Hello everyone, the following is my own story inside this market.
Since i first heard about Crypto, i never again lost interest for it. I remember it was late 2014 when i first met a friend that was deep into Bitcoin, saying all kinds of crazy stuff about it like it would be the future of money, that it was a revolutionary tech and was going to be the reason why governments would no longer be so able to control your own money (Later he dropped out of college to work for one of the major exchanges today). Me, being your average college anarchist, thought that was absolutely amazing, and i became eager to understand what that new tech actually meant. To this day i don't completely remember why i never bought any BTC at the time, maybe it was because i didnt have any kind of spare money on me, and that was about it. It was only late 2017 that I first got around to having a good amount of money to finally be able to buy some BTC. Now, guys, if any of you was around the scenario at the time, you should remember that BTC was peaking... Days later it completely crashed. I bought it at $17.000... Sold it at $8.300. I was completely furious. That money took me a long time to save up!! I remember not telling that to anyone, and I was completely and utterly done with crypto! But oh boy... Was I wrong. I really left the community after that, without any willingness to come back again. It was only until Mid July 2019 that crypto finally picked up on my radar again, when another friend added me to his Telegram discussion group. People there seemed quite the bunch, of all ages and degree of knowledge, sharing everything they could find about news/articles/theories about Btc and Altcoins. And this my friends, is where the 10 Months journey actually begins. Seeing that absurd amount of information being shared, i felt it was time to study the market again and put my money on it AGAIN, but this time as an Altcoin Trader (I now know it was a stupid idea). Studied for months, developed strategies, paper tested them... Lost it all in 2 weeks. Not satisfied, I wrongly believed the mistake was my own, and if i really wanted to conquer financial freedom, i had to study more, perfect my strategy. I repeated this cycle About 4 of 5 times, losing everything at somepoint, everytime. One day, someone forwarded me a paper saying about 90%+ traders will completely fail in the long run, and i completely agreed with it, concluding that i was one of those. But, an excerpt said the following: "Most traders lose in the long run not because their strategy suddenly stops working, but because they get emotional on trades". And the conclusion on my head was just as simple as you can imagine: "then, Let's remove emotion". To shorten the story, i met a guy there who had developed some sort of market scanner for a specific exchange. The Market scanner was absolutely great, but he wasn't managing to draw a good strategy from it. Hearing that, I reached out to two awesome programmers i met on college, so they could help me with some kind of algo trading bot based on what the scanner was telling us, and they agreed to help. I was in charge of Data Analysis/strategy developing, and the other two managed the Database and coded the hard part of the integration with the scanner. The first test was a complete failure as well. The algo, after A LOT of work on our end, managed to nail the top and always buy on it, resulting in an absurd amount of losses. We obviously were very disappointed saying that so much time was wasted on something that was not even close from being profitable. So, stubborn as we are, we studied even more. We added several self-adjustable parameters within it, Studied LSTM Analysis to apply better filters and Pretty much devoured the Turtle Trading Book. Guess what? The both still managed to lose, only this time a bit slower. At this point, we already accepted our fate that we were never going to make something work, but we kept researching new methods just because they helped us understand and try out Python and Data analysis tools in a practical way. When Corona arrived, we decided to lock ourselves up together, to give it one last as well aimed shot at developing an Algo. This time, we actually allowed ourselves to be creative and try all sorts of crazy out-of-the-box techniques, while always remembering the motto "The difference between Losing and Winning is merely detail." Then a flash of brilliance came to us. We were interpreting the market the wrong way all along, making something statical read something ever-shifting like the crypto market. That was bound to lose us money in the long run. We finally got rid of several useless add-ons on the algo, and updated the parameters for entries based on what our theory was. And well, we finally did it! The new algo is running since the 14th of this month, with 93% Winrate on First Targets across all of the exchange's Pairs and 80% winrate on the second Target. We are at our most happy moment with this journey and completely sure we can further improve our new and working system! So, here goes some tips:
- No matter at which point you are on your Code, never stop studying. News things pop up everyday, and there's always something out there that you can use, but do not know exists. - "The difference between losing and winning is merely detail" - Never be afraid to share the project with others. They are your greatest source of help - Be aware of commisions and pay attention to compound interest - Never make a strategy that doesn't adapt itself, or better bots will start to read it and completely crush it. - Be persistent :)
TL;DR I built a good algo with the money i lost along the way
submitted by joaomilare to CryptoCurrency [link] [comments]

Data sources for investor and novice programmer?

Hi, I am looking to use my novice Python skills to help me filter equities (though commodities and bitcoin are of interest too) prices as well as build up a database, which I can use once I have some algo ideas.
Anyone can recommend a good data provider for a private individual, with a good trade-off between ease of access, price and reliability?
submitted by futuretrader to algotrading [link] [comments]

Bitcoin Breakout Strategy (Python)

The algo looks to take advantage of Bitcoin’s volatility by getting into a breakout trade as soon as it occurs, using real time streaming tick data via WebSocket.
This strategy buys the moment Bitcoin’s price breaks above the 24-hour high and sells the moment Bitcoin’s price breaks below the 24-hour low. Profit targets (limit orders) are set at 1.5x the distance between the 24-hour high and low. While no actual stop loss orders are set for each trade, the strategy automatically closes out a trade when an opposing signal occurs (i.e. closes buy trades when a sell breakout occurs, closes sell trades when a buy breakout occurs.) This effectively gives the strategy a built in trailing stop.

Try it out and let me know your thoughts.
(Losses can exceed deposits)
submitted by JasonRogers to algotrading [link] [comments]

Any interest in a HFT and backtesting platform for GDAX?

I'm building out the tech infrastructure required for analyzing a GDAX bitcoin order book and executing/simulating trades based on it in real-time. Doing it for myself for now, as the only bots and data sets I found were for trading based on historical ticker price only, not with actual order book data. With a little more effort, I can expose the simulation engine through a web interface. I'm just hoping to gauge the interest before I do. Are there folks here who would like to test out some order book dynamics algos on GDAX markets?
Edit: Some tech details
Happy to answer more questions as they come.
Edit #2:
Cool, looks like people would be interested in poking around! I'll get a Github repo up as soon as it's ready, along with a web interface to mess instantly try it out, Quantopian-style. In the meanwhile, plz continue posting or PMing if interested. Also, I'm full of questions for existing traders. I would love to hear about existing algo trading platforms ya'll have experience with. Any killer features, or limitations, you ran in to? Are there common APIs for strategy construction I should conform to? (For now, I've been using a simplified Zipline-like API)
Edit #3
We started a Slack channel! Join here if you'd like to discuss further or collaborate.
submitted by Lopatron to algotrading [link] [comments]

Do i need to be an expert to be an algo trader?

Well, i`m a engeneering student and while i was trading bitcoins i found out that Algo Trading was a thing, and thats why im here. I found it extremely interesting, because it has my favourite things, like statistics, programming, economics, machine learning and, of cour$e, money!
Anyway, i read a significant amount of posts and it seems to be extremely complicated and although i like it, i cant spend too much time studying it, as i am more compromised with robotics and stuff like that (i know that they both have stat and programming, but they are probably very different, idk) I know the basics of economics, linear algebra, calculus, C, and a bit of Python and Java.
Well, my question is: can i learn a few things in a couple weeks and develop (or just get from someone) a trading algorithm to something small and specific, like bitcoin? I dont wanna get a server or smth big, could i just run a algo on my computer, learn some code, math and maybe dont lose money?
submitted by jamesy161 to algotrading [link] [comments]

Interview with a Dev : Hilux Coin

Interview with a Dev : Hilux Coin
Hilux is a new coin that was just launched on August 3rd, 2018. Hilux aims to help solve the problem of hyper inflation which many counties like Venezuela are facing.
Hilux specs: Ticker: HLX Algo: x16r Type: MN/POW Max Supply: 21,000,000 MN Collateral: 1000 Block Rewards: 20 HLX (mn 60%, pow 40%) Premine: 5% Block time: 2 minutes
The following is an interview with Swatchie-1 the founder of Hilux Coin.
Could you explain your project Hilux Coin briefly for our readers that are not already familiar with the project?
Currently, FIAT currency is what we use in our day to day transactions. A FIAT currency is a government backed currency (example: US Dollars, British Pounds, Peso, Singapore Dollars) which is not backed by any physical commodity and it derives its value from perceived value by the community. This is why when a Government needs money, it prints as much as it needs causing too much FIAT currency circulation in the market resulting in what we call Hyper-Inflation. Historically we have seen this happening in Venezuela (24000% inflation in the past 12 months, Iran (200%) and South Sudan (110%). The list goes on but based on these 3 countries alone, we see how much buying power is being reduced at a daily basis. What this means is, if an iPhone costs 1 million Venezuelan Bolivar in 2017, it will cost 24 million Venezuelan Bolivar in 2018. See the difference?
The world has found a solution now and it is through Crypto Currencies. The purpose of Hilux Coin is to address this issue and allow a safe, reliable and decentralized transfer of value between anybody in the world who has access to an internet connection. Why is being decentralized important? This is so that no single party can dictate how many Hilux Coins should be produced and to obtain Hilux, one would need to either purchase it or Mine it. Mining takes work, equipment and costs, hence it is not free. Hilux also has a limit of 21 million coins which is not that much considering the population of the entire world.
The mechanics of Hilux Crypto Currency is the opposite of FIAT currencies. It can be traded world-wide with no middleman involved, its limit cannot be increased without consensus from 51% of all miners and Masternode Owners. This system is fair and just because the stakeholders want the best of their investment and should not make irrational decisions that will jeopardize his/her holdings. It is also decentralized which doesn’t allow anybody to come in and shut it down because the Hilux Nodes are running all across the globe. If one country shuts it down, the other nodes will still maintain the Hilux Ledger and can still be connected, hence a Hilux user can still access his or her wallet. We have made sending and receiving Hilux coin easy by providing a Hilux Mobile Web Wallet facility at https://wallet.hiluxcoin.com. This provides access to the unbanked people in the world. For example, a user in South Sudan will be able to send value to their children studying in Singapore through the Hilux Mobile Web Wallet without going to a money changer or Western Union. It is simple to use because the receiver or sender do not need to run a Full-Node of Hilux in order to gain access to a wallet. We also recently have a Discord Hilux Wallet which allows you to send Hilux (HLX) to Discord users too. I suggest readers to check out our discord at: https://discord.gg/gqzpeWH
Could you tell us a little bit about your programming history and experience with blockchain technology?
Our core team has different sets of skill sets including JavaScript, Python, html and pug programming. This allows us to ensure the Blockchain is fair, being as secure as possible and able to build core infrastructures for the Hilux Coin. This includes the Mobile Web Wallet, Mobile Explorer, Official Dev Pool and the website on our own without external funding and programmers. As a result, we are a lean team, with our own initial funding hence we want to see the coin succeed as much as a mother wants to see her child grow into becoming a useful person to the community.
What inspired you to create Hilux Coin?
As aforementioned, there are governments which do not generate FIAT currency responsibly. Before 1933, the US Dollar was backed by Gold. However since then, it was not backed by Gold anymore and we need to address the issue of scarcity and not unlimited money printing. The Hilux Cryptocurrency is a solution for value transfer for the world due to decentralization, scarcity of 21 million HLX only, securely distributed around the world through Masternodes, Miners having to do work to secure the network and low fees of transaction.
There’s been quite a few coins launched in the past year. In your opinion, what sets HLX apart from other coins and makes it unique?
Yes, I’m glad you brought this up. There are two main types of method to build the blockchain at the moment, which is Proof of Work (PoW) and Proof of Stake (PoS). Proof of stake can also mean using Masternodes to stake. Most coins out there are either PoW or PoS exclusively. However, Hilux uses a combination of both sort of like a Hybrid. We call this Proof of Work and Masternode Hybrid. There are only a handful of Hybrid types out there out of all the coins available in the world.
Secondly, Hilux uses the X16R algorithm for its Proof of Work mechanism. This X16R was invented by Ravencoin and we give them credit for that. It is a combination of 16 algorithms randomly re-arranged at each block hence it is a little more ASIC resistant than other coins such as the X11 used by Dash. The reason why we prefer ASIC resistant coins is to encourage decentralization because normal CPU and GPU owners can use it to mine at reasonable speeds compared to ASIC owners who will obtain high hashrates at lower cost and this displaces the CPU and GPU owners which is not what we want. ASIC causes centralization of hashrates. If the ASIC owner decides to switch off or shift to another Coin, then there is going to be a huge vacuum of hashpower lost which is not healthy for the blockchain.
Third, our distribution of block reward is 20 and out of this, 12 goes to Masternode Owners (60%) and 8 goes to the Miner who solved the block (40%). This is a healthy ratio which encourages Miners to mine and earn their own Masternode which is a good incentive for them. We also did not do any Developer reward program, for example, 5% of the block rewards going into the Developer’s pocket. This is because we are a community coin and there is no one developer controlling Hilux forever. Again this is part of becoming decentralized.
HLX is a Proof of Work (minable) and Masternode coin. I haven’t come across too many coins yet using this combination. The majority are either POW, POS, POS/MN or ERC20 Tokens. Could you explain why you decided to go with the POW/MN format with Hilux Coin?
Yes, we addressed some of this in the previous question. The simple answer again is:
On one hand, it provides incentives for the miners to mine and on the other hand, it encourages Masternode owners to run the full node at all times. This is due to the block reward of 60% Masternode Owners and 40% Miners.
What is your number 1 goal to accomplish with this project?
To see worldwide adoption of Hilux as a community coin where developers from around the globe would contribute to the Github of Hilux and providing commits to improve it. Whether big or small, any improvement is a step forward for Hilux.
We need to continue building infrastructures around Hilux.
Because we now have a stable Blockchain, we can build centralized features around the decentralized blockchain. We cannot however do the opposite which is building a decentralized feature on top of a centralized entity. For example, we can now build a hosted mobile wallet to access the Hilux Blockchain. We can also build a hosted marketplace for trading on top of the blockchain and a mining pool on top of the blockchain. This is where community adoption comes in.
Aside from Hilux, what are some other projects you admire?
I have seen many projects out there which has got nothing to do with the blockchain but are creating a project just for the sake of having a blockchain name attached to their project. These are mostly Utility Tokens. In a simple explanation, Utility Tokens are projects that require a user to buy their tokens to gain access to their project or App. For example, a ride sharing app on the iPhone that requires you to use their token to pay for rides. In my opinion, this is unnecessary because we should be using FIAT to do it and conversion back and forth is a hassle and it doesn’t bring much economic benefit. Also, these projects are highly centralized. If one day the founders decide to close the company, your tokens will be worthless. This is not the case for Hilux where if one day the founders decide to leave, Hilux will still be around.
Back to the question of which projects I admire, it’s going to be Bitcoin. It is the father of all cryptocurrencies and our cryptocurrency is here because of it. However, there is room for more than one cryptocurrency in the market just like there is the US Dollar, Swiss Francs, Canadian Dollar, Australian Dollar and others.
What do you see as the biggest hinderance to blockchain technology and the use of crypto-currencies advancing?
The usual answer we get for this question is Government Regulation. Governments do not like it when they do not have control of money in their country. This will cause their monetary policy of money printing to go haywire because the citizens have options of cryptocurrencies. But what gave rise to Crypto Currencies was also because of the 2008 financial crisis which caused governments to perform Quantitative Easing (printing of US Dollars). In fact, they did it a few times. That was when people realized cryptocurrency may be an option.
However, government censorship will not be sustainable, hence it is not a long term hinderance. The long term hinderance in my opinion is the existence of Quantum Computers. If this technology becomes a reality and is accessible to people, it may destroy all blockchains and causes centralization. It will be able to mathematically solve all blockchain calculations rendering all semiconductors useless against it. Difficulty of the block will sky rocket and the block will become stuck. Until then developers will need to find a new solution against it.
In your opinion how far away are we from a worldwide adoption of blockchain technology?
We are like in the 1993 era of the Internet. It is still early and anybody who comes in now will be able to ride the wave upwards. Worldwide adoption is already beginning. We just need to make the blockchain easier to gain access to. We are doing exactly that by announcing the Mobile Web Wallet as our first product when we launched.
Are there any additional comments you’d like to add?
Firstly, I would like to thank Coin Space News for allowing me to voice opinions. I hope your readers have gained a little insight on what is the current world situation and what to expect in the future. When we select a Coin to invest in as you rightly pointed out there are many out there, one should look for:
-Scarcity of the Commodity. Hilux has 21 million only -Usefulness of the Commodity. Hilux is easily transferable and has low transaction fees. -Long term sustainability. Hilux will be around even if the founders are not. -Decentralized. No one party holds the key to keeping Hilux alive. -Continuous improvement. Hilux is always building infrastructures.
Also, if you like what you read, I would encourage you to follow our: Twitter Feed: https://twitter.com/HiluxC Discord: https://discord.gg/gqzpeWH Bitcointalk: https://bitcointalk.org/index.php?topic=4780650.0
Thank you and regards, Swatchie-1
submitted by CoinSpaceNews to AltcoinGlobal [link] [comments]

03-21 18:23 - '(FOR HIRE) Blockchain developers' (self.Bitcoin) by /u/Marekzvar removed from /r/Bitcoin within 82-92min

Hi everyone,
We have free development capacity now. We are Blockchain and ML dev team based in San Francisco and Prague, CZ. We love cryptocurrencies, coding wallets, exchanges, we have experience with Pattern recognition, Algo trading, NLP, Artificial Intelligence and chatbots.
Our Stack: Clojure, ClojureScript, Solidity, Python (TensorFlow, Pytorch, Django), JS, Node.Js, Angular, React Native, C#, AWS, MongoDB and many other technologies. Our Projects: [link]1 , [link]2 , [link]3 , [link]4 , [link]5 , Stealth startup - Machine Learning platform for forex trading. Now we work on [link]6 and [link]7
We are looking ideally for long-term project or cooperation. We can join your core team and help with the Machine Learning, Blockchain, web or mobile apps or develop the whole project from scratch.
Here is some basic information about us: [link]8
Send PM If you would like to chat a bit or you can reach me here - [email protected]
Cheers, Mark
(FOR HIRE) Blockchain developers
Go1dfish undelete link
unreddit undelete link
Author: Marekzvar
1: www.status.im 2: www.foldapp.com 3: www.evolta.fi 4: www.trezor.io 5: www.discomelee.com 6: www.neureal.net 7: www.volentix.com 8: www.flexiana.com
submitted by removalbot to removalbot [link] [comments]

1Broker + TradingView beginner automation (plus question)

[Sorry for the long post] So I've looked around this sub and I see a lot of high level or theoretical Algo discussions which I can appreciate but I'm kind of lost when it comes to practical applications and I don't even know if any service even exists that can meet my needs.
Currently, I have a strategy that I think is a little profitable with 1 minute data intraday swing trading on USDJPY, it's very simple and written in Pinescript. I plug the pinescript into a 1 min chart on Tradingview and it spits out alerts for my trades. The alerts are picked up by a chrome addon called Autoview which sends the orders to 1broker using a special alert API. I hate it for many reasons: - Chrome with tradingview and Autoview must be running and checked frequently for glitches (sometimes alerts stop firing randomly) - Tradingview alerts are not meant to be used as orders so I lose any semblance of order management. Basically it fires alerts/orders for every entry point regardless of my current balance or positions. - Pinescript sucks. - 1broker uses bitcoins as currency, I like bitcoins but don't fully trust putting thousands of dollars into them when it could be rendered obsolete at any time without warning.
So the reason I use it is because it meets all my needs. I'm just starting out and I have a fairly large income via my job (US) but it would take me at more than a year to save up 25k for a legit daytrading account. So I need to find a broker + automation combo with the following: - hedging within the same fund (is this not allowed in the US?) - can make unlimited day trades without needing $25,000 USD, low minimum account size - low or no fees - supports 24/5 forex or E-mini trading (options not required) - API for automation with somewhat low coding requirements. I am familiar with python but by no means am I an expert. I like looking at tradingview charts and backtest instantaneously via graphical interface but I realize this is probably not very common.
I've spent a lot of time on both Quantopian and Quantconnect but neither of them can do intraday trading very well if at all. They are primarily focused on fundamental trading and I'm more into technical trading. I tried looking into Ninjatrader, metatrader, whatever but I found them very expensive, unnecessarily complicated, and beholden to the US's stupid trading laws.
TL;DR - Can anyone tell me exactly how to implement my simple automated intraday FX strategy using a simple interface that doesn't require me to have a $25,000 US brokerage account and software that costs 1000's of dollars?
P.S. If any other beginners are in the same situation as me you should look into 1broker.com + TradingView + Autoview, it's pretty sweet given the limitations it's working with.
submitted by Redcrux to algotrading [link] [comments]

Why OKCoin isn't faking volumes, and why volume is silly measurement on zero fee markets.

Hello Everyone,
This is a post to answer many people's question, I don't think Zane Tackett really explained the root of the confusion with volume in his post.
I saw a lot of posts complaining about Chinese exchanges faking volume, I'd like to contribute to this discussion by showing (from a neutral perspective) why OKCoin and Huobi do not fake their volume, and why the complaints about this topic are just plain useless, I am going to include a python bot which you can try out yourself to test my hypothesis.
The Controversy
Many people have accused Chinese exchanges of faking volume, mainly stating spread changes and quick order movements as their main backing reason, this has caused a lot of discussion. Essentially the main argument is that exchanges fake volume to make their credibility rise, pulling in more people so they can make money of CNY withdrawals. This has even led their manager of international operations to state why these claims are false.
Why are 0% fees feasible?
Because that's Just how China does it. There is a more competitive market on Chinese exchanges as most Chinese are in for immeadiete profit algo based trading. Americans & Europeans mainly buy Bitcoin as a long term investment expecting its value to rise over time, which means the 0.2% fee and the lack of a proper API are not really an issue for them. Chinese exchanges still make CNY off of their CNY withdrawal fees.
OK, you mentioned this high frequency trading stuff, why does it matter?
As someone who is using a VPS in Beijing at the same place OKcoin's datacenter is based, I am still getting one upped on orders, these guys do exist. Someone trading once a minute with 1 BTC volume everytime will have a total volume of over 1400BTC!
OK, prove it!
It is important to note that increased leverage oportunities exist for high volume traders in the form of OKCoin reward points.
It only takes a few lines of code to make a bot that trades within the spread and makes no direct loss which fakes volume. I know this code is is not good, how bad I am at python just outlines how easy this is!
This was done using this python wrapper https://github.com/trexmatt/OKCoin-API, I excluded imports and private key imports, pm me if you need help!
Moved code to the edit!
You should probably also create a balance fetcher and place buy and sells at the min volume from a list to avoid invalid balances, not including that here for the sake of keeping it short! PM me if you need help (optimally sleep 5 seconds, refetch, and then place altering orders after sleeping).
Then what should I used instead of volume?
Easy, spread and market depth. Not misleading, and the most relevant to trading!
Edit: Turns out reddit is shitty for posting code, so I placed a simplified version here, PM me if you want a functional volume faker, and I will post a link to github here. (unless OKCoin is against that).
Here is a bot that should give you a few million USD trading volume per day even if you just have 1BTC!, you may want to do some partial handling yourself, you can adjust the order depth you take by adjusting key values!
M = okcoin.MarketData() okcoin_sell_list = dict.items(M.get_depth('btc_cny').asks) lowest_sell = min(okcoin_sell_list) okcoin_lowest_sell_price_btc = lowest_sell[0] okcoin_lowest_sell_volume_btc = lowest_sell[1] okcoin_buy_list = dict.items(M.get_depth('btc_cny').bids) highest_buy = max(okcoin_buy_list) okcoin_highest_buy_price_btc = highest_buy[0] okcoin_highest_buy_volume_btc = highest_buy[1] """Get balances!""" bbb = okconf.get_info() okcoin_cny_balance = float(bbb['info']['funds']['free']['cny']) okcoin_btc_balance = float(bbb['info']['funds']['free']['btc']) """calculate min volume!""" min_volume1 = min(okcoin_highest_buy_volume_btc,okcoin_btc_balance) min_volume2 = min(okcoin_cny_balance/okcoin_lowest_sell_price,okcoin_lowest_sell_volume) """Now just trade one by one!""" if 0.01 < min_volume_1: okconf.trade('btc_cny', 'sell', okcoin_highest_buy_price_btc, min_volume_1) if 0.01 < min_volume_2: okconf.trade('btc_cny', 'buy', okcoin_lowest_sell_price_btc, min_volume2) time.sleep(5) 
submitted by DotGaming to BitcoinMarkets [link] [comments]

[SMT] Python script that will display my mining stats onto a RPi Char LCD Plate

I am sorry if this isn't the right subreddit to ask this. I did do a search but I only found C programmers for hire and a general for hire. If this isn't the right place, any point in the right direction would be greatly appreciated.
I have always and still do have an interest in Python and would love to learn how to write said language. Usually, with the help of google I can make small projects happen by my lonesome. However, this time I cannot and I'd like to leave it to an expert because I'd like this working soon.
So heres what I'm looking for; I need a script to run my 16x2 Character LCD plate that I have on my RPi B+ which is running Minera. Which if you're not familiar it is a BTC/LTC mining interface that keeps stats and such. I'd like the LCD to be able to show certain sections of criteria (hashrate, temp, rejected, accepted, runtime, etc) and be able to cycle through screens using the direction pad on the Pi's LCD plate. If I'm not completely wrong, that should all be able to be pulled from a local JSON file that displays every strings(?) value. So I'd like to think this wouldn't be a very challenging task for someone who knows a thing or two about Python.
I have tried to use other scripts as references but I have yet to find anything familiar enough or anybody generous enough to help. I have analysed the PiMiner cgminer script that displays stats but its completely different as far as I can tell. I also don't want stats from just one mining script I need the stats as a whole that Minera shows.
The JSON looks like:
Below is the format I suppose would be needed. I hope it makes sense, haha. I hope I'm somewhat close to accurately conveying what is in my mind.
Hope this "format" makes sense :|
Left/Right scroll below:
Screen 1:
Screen 2:
Screen 3:
Also, the up/down on the directional pad to display/cycle through;
Up/Down Scroll Loop: * Top: Litecoin Balance * Bottom: #Balance#
Down/Up Scroll Loop: * Top: Dogecoin Balance * Bottom: #Balance#
I hope I'm making sense but if you need me to be more specific, ask me. If could maybe afford to pay a little to get this done so if its something you think you could help me out with please give me a shout! :)
submitted by routedbydefault to SomebodyMakeThis [link] [comments]

How to do Automated Bitcoin Algo Trading via BTC-e Trade ... Build Algorithmic Trading Strategies with Python & ZeroMQ: Part 2 Algorithmic Trading: The Basics (Part 1) Algorithmic Cryptocurrency Trading Strategies in Python  Quantra by QuantInsti Intro to Python for Algo Trading PART 2/2

Well, the Automated Trading Using Python Algo Stock Trading course is right here for you! The goal of the course: to go the way from beginner to algorithmic trader. It means that by the end of this guide you will be able to use what you’ve learned and create Algo trading that execute whatever strategy you can come up with. AlgoTrader is the world’s first professional algorithmic trading solution to support automated Cryptocurrency trading. AlgoTrader has direct exchange adapters to Binance, Bitfinex, BitFlyer, Bithumb Pro, BitMex, BitStamp, Coinbase Pro, Deribit, Huobi spot, Kraken spot, OkEx / OkCoin, RFQ adapters to B2C2 and Tilde/Grasshopper, historical data adapters to CoinAPI and CoinMarketCap, as well as Cryptocurrency / Bitcoin Trading Bots in Python Algo / Automated Cryptocurrency Trading with Python-Based Open Source Software Guides and Instructional YouTube Videos by @BlockchainEng Joaquin Roibal focusing on crypto trading strategies such as Triangular Arbitrage, Market Making, etc. Interactive Brokers (IB) is a trading brokerage used by professional traders and small funds. If you want to learn how to build automated trading strategies on a platform used by serious traders, this is the guide for you. Table of Content What is the Interactive Brokers Python native API? Why should I learn the IB […] 5. Simulated Trading and Trade Tracking. 5.1. Bitcoin as a Benchmark. Given the rules when to open and when to close each trade, in the following simulation of intraday algo-trading, let’s assume we invest every time 1000 USD in each trade (again, no fee structure applied here). To begin, we can analyse what-if we were trading Bitcoin only.

[index] [442] [98] [251] [297] [200] [540] [383] [217] [610] [387]

How to do Automated Bitcoin Algo Trading via BTC-e Trade ...

This is the first part of the "algorithmic cryptocurrencies trading" video series, where I take you through the implementation of a crypto trading bot in python. In this video we're writing a ... Algorithmic Cryptocurrency Trading Strategies in Python Quantra by QuantInsti ... let us create and backtest a trading strategy on the day of the week anomaly on the Bitcoins. It is the anomaly ... In this tutorial, you are shown how to use Python to communicate with a bitcoin trade API. In this case, we are using BTC-e's Trade API, though the trade API... 24/7 Live Bitcoin Algo Trading on Deribit Exchange (DeriBot) Bitcoin Trading Robots 298 watching Live now How to Trade Simple Moving Averages - Python Automation Tutorial - Duration: 8:06. I explain the reason why Bitcoin is huge with the black box bots out there. ... Overview of my Python 3 Algo Trading with Cyrpto Curcency like Bitcoin ... Start with and stick with Python. It is ...