Coder Social home page Coder Social logo

notestation-to-joplin's Introduction

Hello World ☺️

I am a senior portfolio manager working with HSBC Asset Management in Dusseldorf, Germany. Besides managing fixed income and multi asset portfolios for institutional investors, I have a passion for developing and creating software. My language of choice is Python.

You currently reached my personal GitHub page. Are you looking for my HSBC profile?

My Projects

Here are some of the open-source projects that I have created and am currently working on:

  • pyratings - Working with credit ratings, professionally and efficiently

    img imig img img img img

    This Python library will be useful for portfolio managers, credit analysts, as well as anybody who is working with credit ratings. It provides functions, which will be helpful in order to work with ratings in a professional and efficient way.

  • df2img (dataframe-to-image) - Save a Pandas DataFrame as image

    img img img img img img

    This small Python library greatly simplifies the process of saving a pd.DataFrame into an image file, such as .png or .jpg.

About me

I have been working with HSBC Asset Management since 2006. I am responsible for managing fixed income and multi asset portfolios for institutional clients.

We are using quite a bunch of quant models and algorithmic trading systems. That's the main reason why I moved into coding. I started with MATLAB back in 2015 and moved on to Python some two years later.

Please feel free to take a look at my projects and reach out to me if you have any questions or would like to collaborate on a project.

Personal email: [email protected]
Corporate email: [email protected]
LinkedIn: https://www.linkedin.com/in/vester/

notestation-to-joplin's People

Contributors

andreas-vester avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

notestation-to-joplin's Issues

Parsing NSX file error

Starts out fine but after reading a couple of notes I get the following error:
Traceback (most recent call last): File "nsx2joplin.py", line 459, in <module> nsx_content = nsx.extract_data_from_nsx(nsx_file=nsx_file, save_pickle=False) File "nsx2joplin.py", line 249, in extract_data_from_nsx for attachment in note_data["attachment"]: TypeError: 'NoneType' object is not iterable

Unfortunately since I am not a huge programmer and not very experienced with python I don’t know how to fix this. Can you provide help? I would really like to move to Joplin but can’t do it if I can’t get this to work. I tried Note station to Markdown but that breaks all attachment links for me and isn’t really an option.

Problem writing

The program parse the nsx file but when it tries to write:

Writing note 1/105 in Untitled: 60 alto 33 ancho 34 fondo
Traceback (most recent call last):
  File "nsx2joplin.py", line 463, in <module>
    nsx.export_to_joplin(token=joplin_token, nsx_content=nsx_content)
  File "nsx2joplin.py", line 414, in export_to_joplin
    asyncio.run(
  File "C:\Users\prune87\AppData\Local\Programs\Python\Python38\lib\asyncio\runners.py", line 43, in run
    return loop.run_until_complete(main)
  File "C:\Users\prune87\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 616, in run_until_complete
    return future.result()
  File "nsx2joplin.py", line 376, in create_note
    res = await joplin.create_note(
  File "C:\Users\prune87\AppData\Local\Programs\Python\Python38\lib\site-packages\joplin_api\core.py", line 203, in create_note
    return await self.query('post', '/notes/', **all_data)
  File "C:\Users\prune87\AppData\Local\Programs\Python\Python38\lib\site-packages\joplin_api\core.py", line 112, in query
    res = await self.client.post(full_path, json=payload, params=params)
  File "C:\Users\prune87\AppData\Local\Programs\Python\Python38\lib\site-packages\httpx\_client.py", line 1293, in post
    return await self.request(
  File "C:\Users\prune87\AppData\Local\Programs\Python\Python38\lib\site-packages\httpx\_client.py", line 1085, in request
    response = await self.send(
  File "C:\Users\prune87\AppData\Local\Programs\Python\Python38\lib\site-packages\httpx\_client.py", line 1106, in send
    response = await self.send_handling_redirects(
  File "C:\Users\prune87\AppData\Local\Programs\Python\Python38\lib\site-packages\httpx\_client.py", line 1133, in send_handling_redirects
    response = await self.send_handling_auth(
  File "C:\Users\prune87\AppData\Local\Programs\Python\Python38\lib\site-packages\httpx\_client.py", line 1170, in send_handling_auth
    response = await self.send_single_request(request, timeout)
  File "C:\Users\prune87\AppData\Local\Programs\Python\Python38\lib\site-packages\httpx\_client.py", line 1196, in send_single_request
    response = await dispatcher.send(request, timeout=timeout)
  File "C:\Users\prune87\AppData\Local\Programs\Python\Python38\lib\site-packages\httpx\_dispatch\connection_pool.py", line 157, in send
    raise exc
  File "C:\Users\prune87\AppData\Local\Programs\Python\Python38\lib\site-packages\httpx\_dispatch\connection_pool.py", line 153, in send
    response = await connection.send(request, timeout=timeout)
  File "C:\Users\prune87\AppData\Local\Programs\Python\Python38\lib\site-packages\httpx\_dispatch\connection.py", line 44, in send
    return await self.connection.send(request, timeout=timeout)
  File "C:\Users\prune87\AppData\Local\Programs\Python\Python38\lib\site-packages\httpx\_dispatch\http11.py", line 50, in send
    await self._send_request(request, timeout)
  File "C:\Users\prune87\AppData\Local\Programs\Python\Python38\lib\site-packages\httpx\_dispatch\http11.py", line 90, in _send_request
    await self._send_event(event, timeout)
  File "C:\Users\prune87\AppData\Local\Programs\Python\Python38\lib\site-packages\httpx\_dispatch\http11.py", line 118, in _send_event
    await self.socket.write(bytes_to_send, timeout)
  File "C:\Users\prune87\AppData\Local\Programs\Python\Python38\lib\site-packages\httpx\_backends\asyncio.py", line 143, in write
    self.stream_writer.write(data)
  File "C:\Users\prune87\AppData\Local\Programs\Python\Python38\lib\asyncio\streams.py", line 341, in write
    self._transport.write(data)
  File "C:\Users\prune87\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 359, in write
    self._loop_writing(data=bytes(data))
  File "C:\Users\prune87\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 395, in _loop_writing
    self._write_fut = self._loop._proactor.send(self._sock, data)
AttributeError: 'NoneType' object has no attribute 'send'
Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x000001DB88D67EE0>
Traceback (most recent call last):
  File "C:\Users\prune87\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 116, in __del__
  File "C:\Users\prune87\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 108, in close
  File "C:\Users\prune87\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 719, in call_soon
  File "C:\Users\prune87\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 508, in _check_closed
RuntimeError: Event loop is closed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.