[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/biz/ - Business & Finance


View post   

File: 940 KB, 1021x580, Program-Code-Feature-Image.jpg [View same] [iqdb] [saucenao] [google]
7262560 No.7262560 [Reply] [Original]

I really want to learn how to build trading bots. But, I don't have much experience besides some java.

What language do you guys recommend? What books/learning sources do you recommend? Money isn't an issue, I just want to learn this as good as possible and as fast as possible.

>> No.7262586

>>7262560
I recommend Idris or Haskell. If you're too dumb to program in a purely functional language, you're too dumb to write a trading bot.

>> No.7262589

C sharp

>> No.7262614

>>7262586
Don’t think that’s the case, just more lack of experience

>> No.7262672

>>7262614
Except actual trading firms use languages like OCaml see https://vimeo.com/153042584

>> No.7262687

>>7262614
This

I'm 18 planning on studying comp sci in uni but I want to learn some stuff myself beforehand

>> No.7262713

>>7262560
just pick a standard language and get going. It does not really matter its only a tool so solve your problem.

>> No.7262730

the one you know. java
why would you waste time learning a language. you want to learn how to make trade bots

>> No.7262768

>>7262672
they use cpp for high frequency

>> No.7262869
File: 408 KB, 1308x1600, 1511904238167.jpg [View same] [iqdb] [saucenao] [google]
7262869

>>7262687
dont fall for the le ebyn scriptkiddie meme languages like python, php, ruby, etc.
either one of Haskell, Ada, Pascal, or Assembly should be your first language

>> No.7262905

>>7262560
Python.

>> No.7262915

If you’re just starting, you’re not going to require that your language has a shitton of power. Go for something simple and easy to learn like python. Look at real algorithmic trading platforms for inspiration, then write your own backtesting tools on crypto datasets (oh yeah btw write an API wrapper for your favorite exchange as well and figure out how to continually fetch and store huge amounts of data) then you can start with sentiment analysis on twitter coupled with a webcrawler then plug that into some deep learning on your cloud server and finally buy high sell low

>> No.7262928

>>7262586
haha going from a little bit 'o java to Haskell. Should be easy.

>> No.7262952

>>7262915
You seem pretty well informed. Have you done this? How did it work out?

>> No.7262971
File: 32 KB, 1000x1000, hask.png [View same] [iqdb] [saucenao] [google]
7262971

>>7262928

>> No.7262987

>>7262915
how to do sentiment analysis on python?

should I just use Javascript?

do you recommend SQL?

>> No.7262995

>>7262560
Programming is the easy part, the hard part is coming with something that actually nets you profit

>> No.7263015

>>7262869
fucking lol. Learning assembly in order to learn how to program is like learning physics in order to learn how to drive a car. This isn't the 50's anymore.

>> No.7263030

>>7262560
Node.JS

>> No.7263048

java and use xchange library. one java class and some functions can do it.

>> No.7263086

i've written a bot in python

you can trade in like 5 lines of code

>>7262995
this though

>> No.7263106

>>7262971
>tfw no object

>> No.7263107

>>7263015
no, learning assembly in order to learn how to program is like learning physics in order to do dynamics
only pajeets and normans start at the highest level of abstraction

>> No.7263149

>>7262869
> Haskell as your first language
Has this ever happened to anyone?

>>7262687
> Going to uni instead of being a NEET
Bad decision. If all you want is a bot that trades I'm pretty sure you can even find videos on youtube. You'll have to do little more than copypaste your API keys. Make sure you read the API trading rules of your exchange if you want to do anything weirder.

>> No.7263268

>>7263107
Its easier to see the bigger picture first before getting into the details.

>> No.7263271

So many different opinions aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

>> No.7263346

>>7263271
real talk, use whatever the fuck you're comfortable with

if you like java, go java
if you'd be open to a new language, go python

there are wrappers on github for everything

if you go python, i'm not great but i can hold your hand if you'd like, offer stands for anyone interested

>> No.7263428

>>7262869
This is from the journal of functional programming:

>We argue that teaching purely functional programming as such in freshman courses is detrimental to both the curriculum as well as to promoting the paradigm. Instead, we need to focus on the more general aims of teaching elementary techniques of programming and essential concepts of computing. We support this viewpoint with experience gained during several semesters of teaching large first-year classes (up to 600 students) in Haskell. These classes consisted of computer science students as well as students from other disciplines. We have systematically gathered student feedback by conducting surveys after each semester. This article contributes an approach to the use of modern functional languages in first year courses and, based on this, advocates the use of functional languages in this setting.

Why do you think your insight is better than the curriculums of virtually all college compsci courses? I think its because you're a typical fucking neet with a chip on their shoulder. Go watch some more anime and pretend that you can program faggot.

>> No.7263513
File: 776 KB, 514x667, 1513579213493.gif [View same] [iqdb] [saucenao] [google]
7263513

>>7263428
fucking buttmad pajeet
shoo shoo back to stackexchange

>> No.7263567

>>7263513

wow you sure shrekt him with that flawless argument

oop btfo
how will the CS curriculum ever recover??

>> No.7263607

>>7262560
I wrote my own trading bot on Interactive Brokers' API.

I use C# but you can also use Java or Python. (You can also use C++ but I hear there are problems)

I have a Comp Sci degree and work for a defense contractor as a software engineer. Programming is not something you can learn overnight. Going to school for it helps a lot but it is not necessary.

>> No.7263637
File: 127 KB, 601x508, 1483345825456.png [View same] [iqdb] [saucenao] [google]
7263637

>>7263107
>making a beginner learn Assemby as first language just to stroke your ego

>> No.7263662

>>7262586
>writing trading bots in haskell
lmfao this comment perfectly captures the undeserved sense of superiority that haskell programmers have. even python is a better language

>> No.7263718

There is no "easy" way to write a trading bot. Any of the so called "simple" algorithms might only work short-term and get you rekt during massive swings.

>> No.7263719

>>7263662
NEET's don't care about programmer time, they have time to burn

>> No.7263740

lmao at some of these recommendations for a beginner.

I agree with >>7263428
I would stay away from functional programming languages in general.

>> No.7263766

>>7262952
he's meming you dipshit

>> No.7263767

rather than programming bots to do the trading for you behind the scenes, program tools that help facilitate your speed in trading.

so i have a few tools that allow me to look at the top 300 coins and sorts them based on an indicator. so then i look at this list and i have another tool that opens a few charts when i input a ticker symbol. so i can scour 300 coins and then load up the charts for them quite easily, one at a time. for the manual research.

then finally in another tool i can input my buy price, my gain price to exit, and my stop loss price to exit.

i'm still doing manual research before each trade, but the tools i've programmed make it very very seamless.

>> No.7263784

>>7263718
you need to buy on indicators for stable coins, volatile coins deserve their own strat

>> No.7263806

>>7263607
c# bro nice
everytime I tell ppl I do a lot of my solutions in c# I get ripped on by lowtest node kiddies
they're all unleveraged AI memers anyway so whatever

>> No.7263821

>>7263767
how long did it take to code?

Im honestly tired as fuck sorting through CMC to find coins

>> No.7263858

>>7263806
Yea, I was trained and program in C/C++ at work, but I really quite like C#.

>> No.7263865

>>7263767
exactly, in such a choppy market with little rules a stong UI is so much better than the hurr durr "I backtest 3 years of btc trades best algo" you get on discord

>> No.7263883

>>7263719
>Implying neets know Haskell.

>> No.7263896

>>7263858
I still do a lot of winforms you know, kinda feel dirty for it but I've got so much code libraries that just work I stick with it

>> No.7263934

>>7263567
he probably though monad was a manga character

>> No.7263987

>>7263821
a month in bash script after having a few years experience on linux.
it's just finding average low price and telling me which coins are closest to their average low.

>> No.7264026

>>7262560
It doesn't matter what language you use. If you can code in one language, you can learn any other pretty fast.
Writing a trading bot should not be difficult if you know basic programming. Writing a good bot is hard.

>> No.7264043
File: 449 KB, 600x624, AH.png [View same] [iqdb] [saucenao] [google]
7264043

>>7263987
>tfw every complicated function I find useful is out of my programming skill level

>> No.7264052

>>7263987
how do you do the ssl signatures in bash?

>> No.7264092

>>7263987
just the regular
openssl dgst -sha256 -hex -hmac "$key"
or?

>> No.7264097 [DELETED] 

>>7264052
--cacert?

>> No.7264145

>>7264097
meant the digest, sorry
i couldnt get that to work in bash somehow, so i ended up just doing it in c++

>> No.7264153

>>7262560
Look up ccxt on github. They have a python an javascrypt api that ties to most exchanges. I use the python api to give me signals on when and what to buy.

>> No.7264356

>>7264153
>ccxt on github
hope lots of normans start using out of the box indicators these wrappers provide
more dumb money to chop :)