Thanks it was extremely useful. You charged me with some optimism about creating my own EA since I have some math background but lack guidance about how to implement it quickly into code.
I have dipped my toe in trying to learn how to do something like this and haven't gotten very far - do you have any open source code online?
I been programming in java for 1 year or so. Never coded in anything else (vba yes) and now trying to get my hand on python. Read a few books but finding it difficult. Firstly, most python books tend to be of lower quality and less formal than java books (usually college texts). Secondly i find the python structure (or lack of it) confusing
I was the same, coming from C++. It took me a long time to "get" Python. The zen of Python: Some applicability to trading as well.
So you "get" it now? i can see it can be powerful due to looser syntax etc, but being used to a formal language, i find the python codes a bit too informal and too 'on-the-fly' making it difficult to understand
The perceived informality makes it much easier to ruthlessly refactor and allows you to simplify, simplify, simplify. This will be extremely valuable to you in the future. For example, I have price collection code that goes back 6 months that I didn't touch until recently and following the "Zen of Python", purely through practice, made it really easy to modify. If your Python code looks like Java, run.
Basically, Python code eventually ends up looking like your thoughts about what should happen and less like Python. This takes years. In comparison, C++ "refactoring" often looks like more C++. And from what I've seen of Java refactoring with Big Enterprise Systems (TM), Java refactoring looks more Enterprise Big System. That's not to say there cannot be beautifully written C++ and Java. But idiomatic "beautiful" C++ and Java don't look like your thoughts. Maybe I just think in Python now.
I came across many good books when learning java (effective java, david eck, etc) but all python books i have come across thus far read like a soap opera. Schools teach programming using java, so can't find any textbooks on python.
I would probably agree with your assessment that the amount of information is limited. However, that is mostly due to the fact that the Python PEPs and documentation are enough. I read through this my first go around (though for version 2): https://docs.python.org/3/tutorial/index.html Very little I have had problems with language-wise, most to do with use of libraries.